Task: Have to create/launch Application using Terraform Create a Key Pair and security group which allow the port 80, 22 and ICMP protocol for ingress. Launch multiple EC2 instances. In the created EC2 instances, use the key and security group which we have created in step 1. Launch Elastic File…