Giter Club home page Giter Club logo

udagram's Introduction

Udagram

Instagram Clone Cloud Formation Project

Description

Deploy a highly available web application using CloudFormaiton and nested stacks.

Installation

Download and install the AWS CLI tool.

Example install on Ubuntu

sudo apt install unzip
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install

Configure AWS CLI to connect to AWS

  1. Run aws configure
  2. Paste Access Key
  3. Paste Secret Key
  4. Choose default region
  5. Choose default output format
  6. Verify:
aws s3 ls

Usage

Create an S3 bucket to house your stack templates.

Copy the stack templates to your bucket. Example:

aws --region us-west-2 s3 cp webapp.yml s3://<your_bucket>/webapp.yml

Copy the udacity.zip file in UDAGRAM\app\files to your new bucket. Example:

aws --region us-west-2 s3 cp udacity.zip s3://<your_bucket>/udacity.zip

Use the following deploy-nested-stack.sh script found in UDAGRAM\scripts

aws cloudformation deploy \
--stack-name $1
--template-file $2 \
--capabilities CAPABILITY_NAMED_IAM   

In order to delete the stack run the following command:

aws cloudformation delete-stack --stack-name <your_stack_name>

udagram's People

Contributors

iamunrootable avatar

Watchers

James Cloos avatar  avatar

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.