Coder Social home page Coder Social logo

aws-terraform-infrastructure's Introduction

AWS-Terraform-Infrastructure

Overview

This repository contains Terraform scripts to provision and manage infrastructure on AWS.

Description

The scripts in this repository automate the deployment of a scalable and highly available web application architecture on Amazon Web Services (AWS). The infrastructure includes:

  • Network Setup: Creates a Virtual Private Cloud (VPC), subnets in different availability zones, and associates them with a custom route table and an internet gateway for internet access.

  • Security Configuration: Establishes security groups controlling inbound and outbound traffic to EC2 instances.

  • Instance Configuration: Sets up launch configurations for EC2 instances running an Apache web server and generates an HTML page displaying instance metadata.

  • Auto Scaling and Load Balancing: Implements an Auto Scaling Group (ASG) and an Application Load Balancer (ALB) for distributing traffic among instances.

Prerequisites

Usage

  1. Clone this repository:

    git clone https://github.com/lawrencemuema/AWS-Terraform-Infrastructure.git
    cd AWS-Terraform-Infrastructure/
  2. Initialize Terraform and apply the configuration:

    terraform init
    terraform apply

Cleanup

To avoid incurring charges, ensure to destroy the resources after use:

terraform destroy

aws-terraform-infrastructure's People

Contributors

lawrencemuema avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.