Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS EC2 Web Server Deployment with Terraform and Ansible

Project Overview

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.

Tools Used

  • AWS EC2
  • Terraform
  • Ansible
  • NGINX
  • SSH
  • GitHub

Project Tasks

  • 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

Project Workflow

  1. Created Terraform configuration files
  2. Ran terraform init
  3. Ran terraform apply
  4. Connected to the EC2 instance with SSH
  5. Installed NGINX
  6. Verified the NGINX welcome page in the browser
  7. Uploaded project files to GitHub

Screenshots

1. terraform-apply.png

EC2 created successfully

2. SSH Connection to EC2

Connected to EC2 instance

3. nginx-running.png

Nginx installed on EC2 instance

4. NGINX Welcome Page in Browser

NGINX webserver successfully deployed and accessible via AWS EC2 public IP (HTTP)

Result

The EC2 instance was successfully provisioned and configured to run NGINX. The web server was accessible using the EC2 public IP address.

Key Skills Demonstrated

  • Infrastructure as Code
  • AWS EC2 provisioning
  • Security group configuration
  • Linux server access with SSH
  • Web server installation and verification
  • Git and GitHub project documentation

About

Provisioning and configuring an AWS EC2 web server using Terraform and Ansible, with NGINX deployment.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages