Create and configure an AWS EC2 instance using Ansible
NOTE:
Set up a basic EC2 instance with the following specifications:
- Your own vpc
- Region: eu-west-1
- Instance Type: t2.micro
- AMI ID: A latest Amazon Linux 2 AMI (AMI ID may vary based on the region)
- Security Group: A security group allowing SSH (port 22) and HTTP (port 80) access
- Key Pair: Use an existing key pair named MyKeyPair
- Additionally, install and start a web server (Apache or Nginx) on this instance once it is up and running.
Check out the documentation for the project here