GithubHelp home page GithubHelp logo

kitchen's Introduction

kitchen

Too many cooks!

AWS OpsWorks cookbooks I've written to get some SERIOUS work done.

Scenario Index

All scenarios are OpsWorks and ubuntu specifc. We'll follow the convention that "layers" will have the same shortnames as the "apps" deployed onto their instances.

For info on specific environment variables needed on the app deployed, go read the actual recipes. And remember, the execution order of the recipes matter, so don't modify the orders willy nilly.

Simple nodejs deploy with pm2

  • setup: opstest::node10, opstest::npm_globals
  • deploy: opstest::pm2deploy

Simple nodejs deploy with pm2 + localhost reverse-proxy

  • setup: opstest::nginx, opstest::node10, opstest::npm_globals
  • deploy: opstest::pm2deploy, opstest::nginx_localhost_reverseproxy

Add simple application/error log rotation

You just add the opstest::deploy_logrotate_simple to your list of deploy recipes.

  • setup: [any setup recipe you need]
  • deploy: [relevant deploy recipe], opstest::deploy_logrotate_simple

Run a metrics server with prometheus + grafana

Note that you need a separate metrics "app" to house the environment variables containing settings for the prometheus servers (like what DNS servers to scrape).

  • setup: opstest::nginx, opstest::node10, opstest::npm_globals, opstest::prometheus_grafana
  • deploy: opstest::prometheus_dns_deploy, opstest::nginx_localhost_reverseproxy

Instances self updating their dns entries upon deployment

You just add the opstest::update_internal_dns to your deploy recipe list and ensure that you have opstest::node10 in your setup recipe list (along with your other needed setup recipes).

  • setup: opstest::node10, [any setup recipe you need]
  • deploy: [relevant deploy recipe], opstest::update_internal_dns

Simple round-robin Load balancer

Coming soon!

kitchen's People

Contributors

shafeen 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.