Use CloudFormation to Launch an Amazon EC2 Web Server

Adding Resources

  1. Open AWS CloudFormation Designer

Parameterize Template

  1. Click on an open area in the CloudFormation Designer canvas. In the editor pane, choose the Parameters tab in the Components view. Then add the below parameters.


  1. In the editor pane, choose the Mappings tab. and add the below mapping.


  1. In the editor pane, select the Outputs tab and describe the output URL as below.

Define Resource Properties

  1. In the designer view choose VPC resource and in the editor view chose the properties tab. Then add the following properties as below.

Provision Resources

  1. In the CloudFormation designer toolbar, select Create Stack icon.




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Machine Learning Engineers Will Not Exist In 10 Years.

How I Built an Automated Text Messaging Ordering System In Less Than A Day

Designing for flow


Adventures of getting started with Docker and deploying containers to the cloud

Top 10 git Commands Every Data Scientist Should Know

Kubernetes Secret Management Alternatives

Running queries on Azure SQL Database without SSMS

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ravi Yasakeerthi

Ravi Yasakeerthi

More from Medium

Create an Ec2 Instance with an Apache Web Server with AWS CLI!

Creating Terraform module for AWS VPC creation

Create A Service to Run Jar File In Background As System Service on AWS EC2 — Devstringx


Deploying secure S3 buckets using CloudFormation