Apache Web Server
Apache HTTP server has been running millions of websites of all varieties and it is one of the most popular open source applications also. The Kurian AMI bakes the latest version of Apache HTTP server software onto the target Linux distribution updated with latest OS patches. A node spun out of this AMI will be ready to be added to a cluster or further configuration immediately.
The AMI has PHP and supporting modules also installed including MySQL client modules. So, the PHP applications can connect remotely to MySQL compatible databases, including AWS RDS Aurora and MariaDB. If a database is needed locally, the LAMP stack AMI by Kurian is recommended instead of this AMI product. Also, the AMI is configured for Ansible to work with the nodes spun up from it.
Features
- Latest Apache HTTP Server with support for PHP.
- AMI generated with latest OS patches and Ansible support.
- Support to connect to remote MySQL databases.
How It Works
The AMI is preinstalled with Apache and PHP with supporting modules especially for connecting to remote databases. Spin up the node and deploy web sites or PHP applications to the Apache document root, and they would work with additional configuration.
Verify the availability of Apache and PHP
- After the EC2 node spun up from this node is up and running, access http://EC2-NODE-IP/index.php and check if phpinfo can be viewed on the browser.
- Deploy the application or website to the document root. On most of the Linux distributions that is
/var/www/html
and on SUSE versions of Linux it is/srv/www/htdocs
. If the application needs to be deployed as part of provisioning the node, use user data option of EC2 that is also supported by Terraform.
Supported Platforms
Click on the links below to take you to Amazon Marketplace for spinning up EC2 nodes.
- Apache Web Server AMI for Amazon Linux 2018
- Apache Web Server AMI for Amazon Linux 2
- Apache Web Server AMI for CentOS 7
- Apache Web Server AMI for CentOS 8
- Apache Web Server AMI for Red Hat Enterprise Linux 7
- Apache Web Server AMI for Red Hat Enterprise Linux 8
- Apache Web Server AMI for Fedora 31
- Apache Web Server AMI for Debian 10
- Apache Web Server AMI for Ubuntu 16.04
- Apache Web Server AMI for Ubuntu 18.04
- Apache Web Server AMI for Ubuntu 20.04
- Apache Web Server AMI for openSUSE Leap 15.2
- Apache Web Server AMI for SUSE Linux Enterprise Server 12 SP5
- Apache Web Server AMI for SUSE Linux Enterprise Server 15 SP2
Unsupported Configurations
Kurian releases latest, stable versions of open source software on popular Linux distributions. If you need a configuration that is not currently available in marketplace, send us your requirements to contact@kurianinc.us. Please include the following info in the email:
- Name of Software to be on the AMI with version numbers.
- Linux distribution and the version.
- The EC2 instance type you plan to spin up from the AMI (optional).
Configuration
Upgrade
Maintenance and Troubleshooting
Kurian can help with configuring the application for your specific needs. Contact us with details to contact@kurianinc.us
Remote Access to EC2 Node
Following are the standard AWS defined users available for SSH when a node is provisioned:
- Amazon Linux: ec2-user
- Red Hat Linux: ec2-user
- SuSE Linux: ec2-user
- Fedora: fedora
- CentOS: centos
- Debian Linux: admin
- Ubuntu: ubuntu