example implementations for CreateNewCloudFormationStack

  1. Case 1 - all parameters left as default
  2. Case 2 - provides directions to update or view one or more parameters

Case 1 - all parameters left as default

  1. Go to the AWS CloudFormation console at https://console.aws.amazon.com/cloudformation and click Create Stack > With new resources Images/CFNCreateStackButton

  2. Leave Prepare template setting as-is

    • For Template source select Upload a template file
    • Click Choose file and supply the CloudFormation template you downloaded: staticwebapp.yaml CFNUploadTemplateFile
  3. Click Next

  4. For Stack name use CloudFormationLab

  5. Parameters

    • Look over the Parameters and their default values.

    • Click Next

  6. For Configure stack options we recommend configuring tags, which are key-value pairs, that can help you identify your stacks and the resources they create. For example, enter Owner in the left column which is the key, and your email address in the right column which is the value. We will not use additional permissions or advanced options so click Next. For more information, see Setting AWS CloudFormation Stack Options.

  7. For Review

    • Review the contents of the page
    • At the bottom of the page, select I acknowledge that AWS CloudFormation might create IAM resources with custom names
    • Click Create stack CFNIamCapabilities
  8. This will take you to the CloudFormation stack status page, showing the stack creation in progress.

    • Click on the Events tab
    • Scroll through the listing. It shows the activities performed by CloudFormation (newest events at top), such as starting to create a resource and then completing the resource creation.
    • Any errors encountered during the creation of the stack will be listed in this tab. StackCreationStarted
  9. When it shows status CREATE_COMPLETE, then you are finished with this step.

Case 2 - provides directions to update or view one or more parameters

  1. Go to the AWS CloudFormation console at https://console.aws.amazon.com/cloudformation and click Create Stack > With new resources Images/CFNCreateStackButton

  2. Leave Prepare template setting as-is

    • For Template source select Upload a template file
    • Click Choose file and supply the CloudFormation template you downloaded: vpc-alb-app-db.yaml CFNUploadTemplateFile
  3. Click Next

  4. For Stack name use WebApp1-VPC

  5. Parameters

    • Look over the Parameters and their default values.

    • EC2InstanceSubnetId – The subnet you wish to deploy the 2 EC2 instances into for testing.

    • Set the numberOfAZ parameter to 3

    • Leave other parameters as their default values unless you are experimenting.

    • Click Next

  6. For Configure stack options we recommend configuring tags, which are key-value pairs, that can help you identify your stacks and the resources they create. For example, enter Owner in the left column which is the key, and your email address in the right column which is the value. We will not use additional permissions or advanced options so click Next. For more information, see Setting AWS CloudFormation Stack Options.

  7. For Review

    • Review the contents of the page
    • At the bottom of the page, select I acknowledge that AWS CloudFormation might create IAM resources with custom names
    • Click Create stack CFNIamCapabilities
  8. This will take you to the CloudFormation stack status page, showing the stack creation in progress.

    • Click on the Events tab
    • Scroll through the listing. It shows the activities performed by CloudFormation (newest events at top), such as starting to create a resource and then completing the resource creation.
    • Any errors encountered during the creation of the stack will be listed in this tab. StackCreationStarted
  9. When it shows status CREATE_COMPLETE, then you are finished with this step.