Your development team has been using this template for the intern-testing program. After performing an analysis, your team has determined that the `t3.small` instance was more compute power than they needed. Update the template so that the default instance defined in the stack is a `t3.micro`.
In this hands-on lab, we’re going to jump into an environment that already has a CloudFormation stack deployed. We’ll review the contents of the CloudFormation template, and then we’ll perform direct updates to the stack itself.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Using the CloudFormation Console, Configure the InstanceType Default Parameter to ‘t3.micro’
- Navigate to the CloudFormation console, select your **cfst-1818-* stack and update it using the Edit template in designer and View in Designer** options.
- Edit your template, modifying the Default:
t3.small
parameter under InstanceType to Default:t3.micro
.
- Launch the Updated Stack and Verify the New EC2 Resource Is Reachable
- After making the necessary changes in your CloudFormation template, validate it and create a new stack using
t3.micro
as your default InstanceType parameter. - Update the stack and make sure that you’re able to reach the newly allocated
t3.micro
instance using its Public IPV4 DNS or address. - After verifying the resource is responsive, you have successfully modified the template in this lab.
- After making the necessary changes in your CloudFormation template, validate it and create a new stack using