Skip to content

kerwinWashington/AWS-Web-Tier-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Outline

img.png For this project, I've are deploying a highly available company intranet web portal across multiple availability zones and EC2 instances behind a load balancer. The EC2 instances were placed within an autoscaling group that monitored the EC2 CPU usage as the metric to determine when to scale. They will additionally be monitored by CloudWatch and have a dashboard to display metrics.

The EC2 instances will be bootstrapped and use a custom script to automatically download the websites file(s) from S3 (given read-only access). This script automatically updates, installs httpd, does any required config, and displays the web page while also displaying the EC2 instances instanceID and Availability Zone, which will be retrieved from the metadata endpoint.

Pre-requisites

  • An AWS account
  • AWS CLI
  • Terraform

Terraform Commands

Sign into AWS via the CLI

aws configure
  • or for SSO
aws sso --profile <profileName>

Initialize Terraform

terraform init

Run Terraform plan

terraform plan

Apply Teraform Changes

terraform apply

About

AWS web-tier project with Terraform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors