Preparation Steps

Preparation Steps

  1. To perform this workshop, we need to set up the environment on Cloud9. Access Cloud9 and select Create environment.

AWS CloudFormation

  1. Set the Name for this environment. For example, we can name it CloudFormation-Env.

AWS CloudFormation

  1. Next, choose the Instance type that suits your environment. For instance, select t3.small.

AWS CloudFormation

  1. Leave all other values as default and then click Create.

AWS CloudFormation

  1. After about 3 minutes, the environment will be ready, and we can click Open.

AWS CloudFormation

  1. Access IAM, select Role, and then choose Create role. Click Next.

AWS CloudFormation

  1. Find and select AdministratorAccess as the Permission policy.

AWS CloudFormation

  1. Next, click Next.

AWS CloudFormation

  1. Set a name for the Role. For example: IaC-Role.

AWS CloudFormation

  1. Double-check everything and click Create role.

AWS CloudFormation

  1. Go back to the Cloud9 interface, and select Manage EC2 instance.

AWS CloudFormation

  1. You will be redirected to the EC2 page. Choose Actions:

    • Select Security
    • Choose Modify IAM role

AWS CloudFormation

  1. Select the Role you just created and click Update IAM role.

AWS CloudFormation

  1. You need to clone the resources from the repository:
git clone https://github.com/AWS-First-Cloud-Journey/CloudFormation-series.git 

AWS CloudFormation