A quick AWS related lab where I will use a CloudFormation template to deploy a WordPress website on an EC2 instance.
Services Covered
CloudFormation
Lab description
A quick AWS related lab where I will use a CloudFormation template to deploy a WordPress website on an EC2 instance.
Learning Objectives
- Create stack
Lab date
16-12-2021
Prerequisites
- AWS account
Lab steps
- Download the sample CloudFormation template. In AWS console navigate to CloudFormation and create a stack, then upload that template (you may need to create a EC2 KeyPair in advance, because it’s one of the stacks parameters).
This stack will create two resources as seen above.
- In the Outputs section you’ll find the WebsiteURL to the EC2 instance.
And the website itself is working too: - Delete the stack.