First time write code in Terraform for creating basic infrastructure on AWS based on FreeCode Camp youtube videos
#1. Create vpc #2. Create Internet Gateway #3. Create Custom Route Table #4. Create a Subnet #5. Associate subnet with Route Table #6. Create Security Group to allow port 22,80,443 #7. Create a network interface with an ip in the subnet that was created in step 4 #8. Assign an elastic IP to the network interface create in step 7 #9. Create Ubuntu server and install/enable apache2/nginx2