Git Product home page Git Product logo

cloud-boot-camp-linux-ex1's Introduction

Cloud-Boot-Camp-exercise 1 README File

Exercise 1 Requirements: https://github.com/huit/cloud-boot-camp/wiki/Deploying-a-Fault-Tolerant-LAMP-based-Service

Original CloudFormations Template: https://s3.amazonaws.com/cloudformation-templates-us-east-1/Drupal_Multi_AZ.template

Exercise 1 Description: This exercise models a LAMP based website for which most of the traffic is read-only. By exploiting the lack of shared session between requests, the read-only view of the site can be scaled horizontally

Tools Needed: https://github.com/huit/cloud-boot-camp#tools

AWS Command to Run:

Macintosh Instructions:

  1. Launch the Terminal Window on your Macintosh

  2. Type the following command:

aws cloudformation create-stack \
  --capabilities CAPABILITY_IAM \
  --stack-name HPACDrupalStackWebInfrastructure \
  --template-url https://s3.amazonaws.com/hpacdrupalstack-s3bucket-12npg1o22mj36/Drupal_Multi_AZ.template \
  --parameters ParameterKey=KeyName,ParameterValue=HPACDrupalKeyPair

NOTE: aws command above is using the cloudformation template located in an S3 bucket on Amazon at the location specified. All future updates to the template should be uploaded to this location and overwritten to the file.

  1. Login to https://cloudhacks.signin.aws.amazon.com/console

  2. Open the AWS Console

  3. Enter your Username, Password and MFA Token.

HPAC Drupal Infrastructure Components:

The Drupal_Multi_AZ.template CloudFormation template will create the following instances:

  • 1 Load Balancer
  • 2 Web Server Instances in the us-east-1d Availability Zone
  • 1 Web Server Instance in the us-east-1a Availability Zone
  • 1 RDS Instance PRIMARY us-east-1d
  • 1 RDS Instance SECONDARY us-east-1a

Demonstration of Exercise 1

  1. Show documentation of original CloudFormation Template and Changes
  2. Show S3 Bucket that contains Updated CloudFormatin Template
    • hpacdrupalstack-s3bucket-12npg1o22mj36
  3. Show Single Command to initiate HPAC Drupal Infrastructure Build

Demonstration of Resiliency

Demonstrate that the site remains up and responsive to the following failures:

  • Failure of the master RDS instance
  • Failure of an individual instance
  • Failure of ALL object in a given availability zone.

======= Exercise 1:

Next Steps for Exercise 1

  • Logging - Splunk
  • Monitoring - Nagios
  • Add an Admin Node
  • Clean-up
  • Route 53
  • Import Data for Drupal Website
  • Fix the name of instances

cloud-boot-camp-linux-ex1's People

Contributors

rjhicks41 avatar stephenmartino avatar robruma avatar robparrott avatar jfanton1 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.