Configure Deployed Resources using Parameters

In this task, you will gain experience changing CloudFormation stack parameters and updating your CloudFormation stack

  • Your objective is to deploy additional resources used by the VPC to enable connection to the internet

3.1 Update Parameters

  1. Go to the AWS CloudFormation console (if not already there)
  2. Click on Stacks
  3. Click on the CloudFormationLab stack
  4. Click Update
  5. Leave Use current template selected. You have not yet changed the template
  6. Click Next
  7. On the Specify stack details screen you now have the opportunity to change the Parameters
    • Change PublicEnabledParam to true
  8. Click Next
  9. Click Next again, until you arrive at the Review CloudFormationLab screen
    1. Scroll down to Change set preview and note several resources are being added
    2. At the bottom of the page, select I acknowledge that AWS CloudFormation might create IAM resources with custom names
    3. Click Create stack
  10. It takes about a minute for the stack update to finish and the stack status is UPDATE_COMPLETE

3.2 Understanding the deployment

  • You did not change any contents of the the CloudFormation Template
  • Changing only one parameter, you re-deployed the stack which resulted in additional resources deployed
  1. Go to the AWS CloudFormation console (if not already there)
  2. Click the Resources tab for the CloudFormationLab stack.
    • The listing now shows the VPC as before, plus additional resources required to enable us to deploy resources into the VPC that have access to the internet
    • Click through on several of the Physical ID links and explore these resources

The current deployment is now represented by this architecture diagram: SimpleVpcPlusPublic