/Deploy-a-high-availability-web-app-using-CloudFormation

This is a project focusing on building infrastructure as code in AWS

Primary LanguageShellMIT LicenseMIT

Deploy-a-high-availability-web-app-using-CloudFormation

This is a project focusing on building infrastructure as code in AWS

Folders and files

  • infrastructure: The folder containing all cloudFormation configuration files to build the app.
    • create.sh: A shell script to easily create cloudFormation stack.
    • update.sh: A shell script to easily update cloudFormation stack.
    • kill.sh: A shell script to easily delete cloudFormation stack.
    • servers.yml: Configuration file for server resources.
    • network.yml: Configuration file for network parameters.
    • network-params.json: Parameters for network configuration file.
    • server-parameters.json: Parameters for servers configuration file.
  • screenshots: The folder containing screen shots of stack creation events and outputs.

stack creation steps:

  1. Go to infrastructure folder

  2. create network infrastructure using the following command:

    ./create.sh udagram-network network.yml network-params.json 
  3. create server resources using the following command:

    ./create.sh udagram-servers servers.yml server-parameters.json
  4. To check if the server is working or not, go to the following link:

    http://udagr-webap-erav97ltwa1f-2144831197.us-east-1.elb.amazonaws.com/