Understand the solution architecture
The Bitnami LAMP Production-Ready Stack deploys a highly available LAMP Production-Ready solution on AWS, as per the architecture diagram below:
These are the main elements of the solution:
- A highly-available (HA) architecture that spans two Availability Zones in the AWS region.
- A Virtual Private Cloud (VPC) with public and private subnets.
- An Internet Gateway that allows access to Bastion hosts.
- An Elastic Load Balancer (ELB) to distribute HTTP and HTTPS requests across the application instances.
- Elements in the public subnets are:
- Elements in the private subnets are:
This particular solution is designed for production environments and provides improvements in performance and security. The following sections discuss the main benefits.
- HA architecture that ensures your cluster can continue working if a node (or a whole AWS zone) is down.
- Replication model that allows workload distribution across multiple application services.
- The Auto Scaling Group allows you to scale dynamically the number of on-demand instances. For more information about scaling the solution, refer to the Autoscaling section.
- Log rotation included by default on instances.
- Database cache performance improved with an ElastiCache cluster.
- System monitoring (via Gonit) is included by default on instances. Gonit monitors the processes and restart them if required.
- Application instances are isolated in the private subnets. By configuring the corresponding security groups, inbound traffic is exclusively allowed from Bastion hosts, through Secure Shell Access (SSH) on port 22 and the Elastic Load Balancing, HTTP and HTTPS traffic on ports 80 and 443. Learn about how to access private subnets safely.
- Data and code (Aurora database and application servers) are provisioned on separate instances to help improve security and access control.