AWS EC2/ELB/S3/RDS DB Terraform module

Features

This module aims to implement:

  • 2 Load Balancers - Internet Facing and Internal.
  • 4 Web Servers.
  • RDS with MySQL DB.
  • S3 Bucket.

All supported by AWS and latest stable version of Terraform. pictures

Use it

  • Clone this repo https://github.com/assiakhateeb/Terraform-Task2.git
  • Download Amazon AWS and add your credentials (Access Key & Secret Key)

Code Commit

  1. Initialization (Installation of provider libraries)
    terraform init
  2. Check results of script before applying changes
    terraform plan
  3. Apply Changes
    terraform apply

Providers

Name Version
aws Terraform 0.13 and later

Resources

Name Type
aws_default_vpc resource
aws_elb_attachment resource
aws_ami data source
aws_instance resource
aws_elb resource
aws_db_instance resource
aws_s3_bucket resource

Instances

pictures

ELB - Internal

pictures

ELB - Internet Facing

pictures

S3 Bucket

pictures

RDS - DB

pictures


pictures