GithubHelp home page GithubHelp logo

aws_elb_webserver's Introduction

aws_elb_webserver-cookbook

The purpose of this cookbook is to deploy 2 different style web-servers in this cookbook.
There is also an option to deploy in standalone mode using chef-client --local-mode which will deploy 3 machines and put them behind a load balancer.

Supported Platforms

Ubuntu linux platform

Usage

using chef-provisioning

To run in chef-client --local-mode the following assumptions are made:

  1. devops_rsa key pair is installed on local machine (~/.ssh/devops_rsa) and in the correct aws cloud region
  2. command line session already registered to aws
  3. chefdk software package installed
  4. berks vendor on this cookbook and put that output into your local chef repo cookbook folder cp -R berks-cookbooks/* ~/<your chef repo>/cookbooks
    1. if you don't have a chef repo make one! chef generate <your chef repo>
  5. set export AWS_DEFAULT_PROFILE=personal or whatever aws profile you choose to use
  6. run the webserver/elb deployment example using chef-client --local-mode aws_deploy.rb

using test-kitchen

  1. Locally
    1. set environment variable to point to correct kitchen file export KITCHEN_YAML=.kitchen.yml
    2. kitchen converge will deploy 3 webserver boxes locally.
  2. in AWS
    1. set environment variable to point to correct kitchen file export KITCHEN_YAML=.kitchen.cloud.yml
    2. kitchen converge will deploy 3 webserver boxes in aws.

Recipes

aws_elb_webserver::default

does nothing. This recipe is empty

aws_elb_webserver::create_user

Deploys the standard user the web-servers will use to run their services.

aws_elb_webserver::deploy_site

Deploys the standard site the web-servers will point to.

aws_elb_webserver::configure_httpd

Deploys httpd web service and configures it to run.

aws_elb_webserver::configure_nginx

Deploys nginx web service and configures it to run.

License and Authors

Author::([email protected])

aws_elb_webserver's People

Contributors

joshoohaah avatar

Watchers

 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.