This project demonstrates how I provisioned an AWS EC2 instance using Terraform and configured it to run NGINX. The goal was to practice Infrastructure as Code and basic server configuration in a real cloud environment.
- AWS EC2
- Terraform
- Ansible
- NGINX
- SSH
- GitHub
- Provisioned an EC2 instance with Terraform
- Created and attached a security group
- Generated and used an SSH key
- Connected to the EC2 instance using SSH
- Installed and started NGINX
- Verified the deployment from the browser
- Created Terraform configuration files
- Ran
terraform init - Ran
terraform apply - Connected to the EC2 instance with SSH
- Installed NGINX
- Verified the NGINX welcome page in the browser
- Uploaded project files to GitHub
The EC2 instance was successfully provisioned and configured to run NGINX. The web server was accessible using the EC2 public IP address.
- Infrastructure as Code
- AWS EC2 provisioning
- Security group configuration
- Linux server access with SSH
- Web server installation and verification
- Git and GitHub project documentation