Skip to content

jonatas1591/Infrastructure-As-Code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Overview

Project to IAC. The idea is construct a complete IAC with CI/DI. But, now, I started by AWS. :D

Gradually, other providers will be added until the complete creation of a CI/DI.

AWS

This code create a small and complete infrastructure in AWS to a web server. It create:

  1. VPC and public/private subnets
  2. Security Groups
  3. Instances (You choose the number of instances)
  4. Load Balance

After creates all infrastructure, it do a upload of a files in webserver to view a some information about the instances created. This files are here.

The main files are:

  • main.tf

    • Configure the provider and region of infrastructure
  • variables.tf

    Variables used to facility the view and modification. Here choose region of AWS, number of instances to create, base name to services, AZ's and IP's to public/private subnets.

  • vpc.tf

    Virtual Private Cloud. Create and configure the network, internet gateway, private/public subnet and route table to be used by the services.

  • sec_group.tf

    Infrastructure security groups . Allow rules to access the instances and others services.

  • load_balance.tf

    Create a load balance and attach instances it.

  • outputs.tf

    Show information from services such as instance_dns.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published