Skip to content

kenmusima/Deploying-a-High-Availability-Web-App-using-CloudFormation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploying a Web App using CloudFormation

Project Overview

The project consist of using Cloudformation to create an infrastructure that is easy to spin up for either testing or production. It utilizes AWS Cloudformation ability to create infrastructure as a stack which can be easily created, deleted or updated in a few steps. The network infrastructure created includes a VPC, two public subnets, two private subnets with each having a NAT. The server infrastructure consist of Load Balancer for distribution of traffic, auto scaling group and security groups.

Setup Environment

Optional

  • Create CircleCI Account.
  • Guide on getting started with CircleCi.
  • Add Environment Variables in the CircleCi project for AWS_SECRET_KEY, AWS_REGION and AWS_ACCESS_KEY.

Running the Application

  • Go to server deployment file and change ImageId for a specific region.
  • Go to scripts and in both file change region.
  • Run the create-network.sh file and wait until it is finished (check in the AWS Cloudformation console) and then run create-server.sh
  • Go to AWS Cloudformation console and find ServerStack, go to outputs to find the LoadBalancer url.

Architecture

WebApp

Releases

No releases published

Packages

No packages published

Languages