A quick AWS related lab where I will use a CloudFormation template to deploy a WordPress website on an EC2 instance.


Services Covered

  • CloudFormation 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

  1. 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.

  2. In the Outputs section you’ll find the WebsiteURL to the EC2 instance.

    And the website itself is working too:

  3. Delete the stack.

Lab files


Acknowledgements

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *