In this post, we will write infrastructure as code, using Cloud Formation, to set up a web server on an EC2 instance on AWS.
We will be covering the following items:
- Create an EC2 instance manually using AWS console
- Automate the creation of EC2 instance with Cloud Formation
- Add a name to the instance and create a tag
- Connect to the EC2 instance through SSH
- Set up a web server on the EC2 instance (manually then through…