Project 2: Using Terraform to launch an EC2 with docker installed

Semo
May 31, 2024

--

Task : Build a VPC to launch an EC2 with Docker installed on it

In this project I used IaC with terraform to deploy my infrastructure.

What did I use to build this environment?

  • Visual Studio Code platform
  • Terraform

What was built?

  • Amazon VPC
  • Public subnet
  • Internet Gateway
  • Custom Route Tables
  • Security Groups
  • EC2 (with Docker installed)

Some of the highlights…

Terraform apply

AWS Management Console view:

AWS Management Console view:

Let’s connect to the instance to check Docker was installed

Here we can see that Docker was successfully installed

Time to Terraform destroy

--

--

Semo
Semo

Written by Semo

0 Followers

UK based Junior Cloud Engineer with 3 AWS certifications, Azure Fundamentals www.linkedin.com/in/mohammed-zitouni-234b34240

No responses yet