From the course: AWS CloudFormation for Beginners
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Deploy a web server using EC2
From the course: AWS CloudFormation for Beginners
Deploy a web server using EC2
- [Instructor] In this demo, we will deploy a Linux web server using the previously discussed template. In this case, we will be creating a EC2 instance. So to follow along, you must create a SSH key pair in the EC2 console. Once you have a key pair you can access, go to the cloud formation console. Just like the previous demo, we will upload a new template. I will name this stack demo as well. Now we have three parameters. We can choose the instance type. Remember how we were expecting it to be a dropdown, so it is. I'm going to leave it as a M3 medium. Under the key name, I have one key name already created so I will select that. And then for SSH location, I will just leave it all open for now as this is a website and just going to be up for a few minutes. Click next. I will leave everything as default and click next. You can now check the options. And then click create stack. While the stack is…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.