Skip to content

Files

Latest commit

 

History

History
29 lines (18 loc) · 1.64 KB

File metadata and controls

29 lines (18 loc) · 1.64 KB

Objectives

This repo contains AWS cloud formation scripts used to automate AWS infractructure setup presented in the series of mini articles The Path Towards Enterprise Level AWS Infrastructure:

  1. The Path Towards Enterprise Level AWS Infrastructure – Architecture Scaffolding
  2. The Path Towards Enterprise Level AWS Infrastructure – EC2, AMI, Bastion Host, RDS
  3. The Path Towards Enterprise Level AWS Infrastructure – Load Balancing and Application Deployment

You can find live infrastructure setup recording here.

NOTE: The scripts lack automated application deployment scripts.

Usage guide

The repo contains two cloud formation stacks:

  • The first one spins up networking part of the infrastructure (scaffolders) - infra-stack.yml. To create stack, simply run ./create-infra.sh script.

  • The second stack is responsible for booting up VMs (AWS EC2) & MySql Database (AWS RDS) - vm-and-db-stack.yml. Accordingly, to start the stack run: ./create-vm-and-db.sh

Enhancements

To make the infrastructure even more resilient and scalable, we may use AWS Auto Scaling Groups instead of having 'hardcoded' EC2 instances configured in Cloud Formation script. Improved vm-and-db-stack that implements it, is available in ec2-auto-scaling GIT branch.