Learning Resource
Deploying a LAMP Stack in AWS
Use the following procedure to create and deploy a LAMP stack in AWS.
To deploy a LAMP stack:
1. Open the Amazon CloudFormation Service
In the upper left corner, choose Create Stack.
Now, in the middle of the screen, go to Select a sample template from the drop-down menu.
Under Single Instance Sample, select the LAMP Stack template and click Next.
Under Specify Details, add the following details to the template:
Parameter | Input | |
---|---|---|
Stack name | CCA640LAMPStack | |
DBName | cca640 | |
DBPassword | cca640 | |
DBUser | cca640 | |
Instance Type | Default as t2.small | |
KeyName | Use any existing key pair or create a new EC2 key pair | |
SSHLocation | Default as 0.0.0.0/0 |
Now, click Next.
Keep the user defaults the same and click Next.
Now, click Create to finalize the creation of the LAMP stack.
Lab completed.