Giter Site home page Giter Site logo

sourabhgupta385 / deploy-ha-web-app-using-cloudformation Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 507 KB

This is one of the project in Udacity Cloud DevOps Engineer Nanodegree.

Shell 54.40% HTML 45.60%
udacity nanodegree udacity-nanodegree udacity-devops-nanodegree udacity-cloud-devops-nanodegree aws cloudformation aws-cloudformation aws-ec2 aws-s3 infrastructure-as-code udacity-nanodegree-project

deploy-ha-web-app-using-cloudformation's Introduction

Deploy a high-availability web app using CloudFormation

This is one of the project in Udacity Cloud DevOps Engineer Nanodegree.

Project Overview

Assume that one company is creating Instagram like application. Developers have developed the code and pushed the code into the S3 bucket on AWS. Now the task is to create the infrastructure for deploying that application in an automated way using CloudFormation following the best practices and once infrastructure is ready, deploy that application code onto that HA infrastructure.

Project Files

  • /scripts: This folder contains script to create, delete and update CloudFormation stack.
  • architecture-diagram.jpg: This describes the architecture diagram of this project.
  • index.html: This is main html file of application.
  • network-params.json: Parameters file for network cloud formation stack.
  • network.yml: CloudFormation template for creating networking resources for this project.
  • servers-params.json: Parameters file for servers cloud formation stack.
  • servers.yml: CloudFormation template for creating servers for this project.

Project Setup

  • Create networking resources using cloud formation template.
$ scripts/create.sh udagram-network-stack network.yml network-params.json
  • Following resources are created after executing above command:
    • VPC
    • Subnets
    • Route Tables
    • Routes
    • Internet Gateway
    • NAT Gateways
  • Create servers for Udagram App which pulls source code from S3 bucket automatically while starting.
$ scripts/create.sh udagram-servers-stack servers.yml servers-params.json
  • Following resources are created after executing above command:
    • Security Groups
    • IAM Role, Policy, Instance Profile
    • Launch configuration
    • Auto Scaling Group
    • Load Balancer
    • Target Group
  • Once the above steps are complete, you can find the URL of application in the outputs section of udagram-servers-stack CloudFormarion stack.

deploy-ha-web-app-using-cloudformation's People

Contributors

sourabhgupta385 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

pmane

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.