From the course: Complete Guide to AWS Software Deployment
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Solution: Use CloudFormation to build an instance with SSM - Amazon Web Services (AWS) Tutorial
From the course: Complete Guide to AWS Software Deployment
Solution: Use CloudFormation to build an instance with SSM
- [Instructor] All right, let's take a look at the solution to this challenge. If you open up instance and security group.yml, we can see our starting point and we can notice right away a few things that we can remove to get where we're going. First of all, we don't need the key name because we'll not be using an SSH key to reach this instance. So not only can we remove that from the parameter section, but we can go down to the instance and remove the key name reference. Furthermore, we don't need these security group IDs on this instance anymore, so we can remove these two lines as well as this entire section here, defining a security group. Now that's it for deleting content. To show you what we'll add, I'll go into the challenge solution folder and open up this instance-ssm-access.yml. Open it up and you'll see the first and simplest solution to this challenge. Up above, you can see I've made the deletions that I just described and I've added one new thing, IamInstanceProfile. This…
Contents
-
-
-
-
(Locked)
Create an AWS EC2 instance9m 43s
-
(Locked)
Connect to an EC2 instance with AWS Systems Manager5m 32s
-
(Locked)
Understanding AWS CloudFormation4m 29s
-
(Locked)
Writing an AWS CloudFormation template14m 31s
-
(Locked)
Running an AWS CloudFormation template5m 34s
-
(Locked)
Concepts for updating an AWS CloudFormation stack1m 9s
-
(Locked)
Practice updating AWS CloudFormation stacks via change sets10m 20s
-
(Locked)
Challenge: Use CloudFormation to build an instance with SSM1m 7s
-
(Locked)
Solution: Use CloudFormation to build an instance with SSM7m 9s
-
(Locked)
Understanding AWS CloudFormation custom resources1m 44s
-
(Locked)
Create an AWS CloudFormation custom resource, part 116m 16s
-
(Locked)
Create an AWS CloudFormation custom resource, part 25m 17s
-
(Locked)
CloudFormation teardown54s
-
(Locked)
-
-
-
-
-
-