Create CloudFormation

1. Prepare file to initialize CloudFormation

With our provided template, it deploys a VPC, with a public and a pair of private subnets spread across two Availability Zones, an Internet Gateway with a default route on the public subnets.

The configuration includes:

  • EnvironmentName: JourneyToCloud
  • PrivateSubnet1CIDR: 10.192.21.0/24
  • PrivateSubnet2CIDR: 10.192.20.0/24
  • PublicSubnet1CIDR: 10.192.10.0/24
  • VPC CIDR: 10.192.0.0/16

2. Create the CloudFormation Stack

  1. Access to your AWS Management Console.
  2. Find the CloudFormation.
  3. Click Stacks.

CloudFormation Stacks

In this workshop, we will use the Singapore region (ap-southeast-1). If you want to use another Region, be sure to move the Region back to the Region you want to use when creating workshop-related resources.

  1. Click Create stack. CloudFormation Stacks

  2. Under Create stack Interface, we choose the following parameters:

  • Prerequisite - Prepare template

    • Prepare template: Template is ready
  • Specify template

    • Template source: Upload a template file

    • Upload a template file: Upload your available file

  • Click Next CloudFormation Stacks

  1. Under the Specify stack details interface
  • Provide a stack name

    • Stack name: AWSWorkshop
  • Parameters: It is similar to all attributes that we provided in the YML file.

  • Click Next

CloudFormation Stacks

  1. Under the Configure stack options interface
  • With the Tags, Permissions, and Stack failure options, we remain the default choice.

CloudFormation Stacks

  • Click Next.

CloudFormation Stacks

  1. Under the Review and create interface, we review our options again to ensure everything is set up properly as we expect. Then click Submit.

  2. After submitting, we will wait until the progress is completed. Then click Outputs to see the result.

CloudFormation Stacks CloudFormation Stacks