AWS Infrastructure Engineer Assessment
Goals
Create a Terraform configuration that will:
- Provision a pool of micro EC2 servers running nginx on Ubuntu 22.04
- The servers should be placed in an auto-scaling group behind an Application Load Balancer
- The servers should not be directly accessible on any port except TCP/22 for SSH access
- HTTP and HTTPS traffic should only be allowed via the Application Load Balancer
- Upon first boot, each EC2 server should update itself to the latest packages available in APT
- nginx should respond on HTTP port 80 to
GET /
with Content-Type: text/plain
and the response body Hello World
Getting Started
- Create an account on https://code.livelike.com
- Fork this repository to your account
- When completed, open a Pull Request to this main repository
- Describe the intent of the code and the approach taken in the Pull Request description
Guidelines
- Be sure to commit any relevant files so that the configuration can be tested as-is by just running
terraform apply
- Use
terraform fmt
and terraform fmt -check
to ensure the Terraform configuration is properly formatted and valid