Skip to content

Scalable EC2 Auto Scaling Group deployment using Terraform. Includes launch templates, security groups, auto scaling policies, and a Python web server.

Notifications You must be signed in to change notification settings

crbelik/terraform-ec2-autoscaling-monitoring

Repository files navigation

Terraform EC2 Auto Scaling Project

This project provisions a fully functional EC2 Auto Scaling Group on AWS using Terraform.
It deploys Ubuntu servers running a basic Python web server and manages scaling policies for high availability.

Stack:

  • Terraform
  • AWS EC2
  • AWS Auto Scaling Groups
  • AWS Launch Templates
  • AWS Security Groups
  • AWS IAM
  • AWS VPC and Subnets
  • GitHub

Features:

  • Creates an EC2 launch template
  • Deploys an Auto Scaling Group
  • Configures a security group allowing HTTP and limited SSH
  • Installs and runs a Python web server at boot
  • Tags all infrastructure for easy management
  • Outputs key resource information after deployment

Live Site:

If deployed, it can be accessed at its public IP address on port 80.

⚠️ Note: This site is no longer live to minimize AWS usage. Please refer to the screenshots below for a full deployment preview.

Screenshots:

EC2 Instance

EC2 Instance

Auto Scaling Group

Auto Scaling Group

Launch Template

Launch Template

Security Group

Security Group

Terminal Output

Terraform Plan and Apply Process:

Terraform Apply Part 1

Terraform Apply Part 2

Terraform Apply Part 3


Find Me Here

Collin Belik – LinkedIn

About

Scalable EC2 Auto Scaling Group deployment using Terraform. Includes launch templates, security groups, auto scaling policies, and a Python web server.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published