Upgrade to Pro — share decks privately, control downloads, hide ads and more …

AWS OpsWorks Overview

Ash Wu
March 30, 2014

AWS OpsWorks Overview

An quick overview through AWS OpsWorks.

Ash Wu

March 30, 2014
Tweet

More Decks by Ash Wu

Other Decks in Technology

Transcript

  1. OpsWorks Provides… • Chef server • Predefined instance lifecycle •

    Deployment • Auto-scaling • AWS integration • GUI & API • Open-sourced cookbooks • Clone Stack across region
  2. OpsWorks Provides… • Chef server • One less Single Point

    of Failure • Sync cookbook, provisioning instance for you
  3. OpsWorks Provides… • Predefined instance lifecycle • Deployment • Auto-scaling

    • AWS integration • Less scripts • Less mistakes • Faster development
  4. OpsWorks Provides… • GUI & API • Open-sourced cookbooks •

    Enhance / rewrite if feature is not enough
  5. OpsWorks Lifecycle • Setup (After instance booted, triggers Deploy) •

    Configure
 (Whenever an instance became online / offline, all instances of the stack will be triggered configure) • Deploy (Deploy your App) • Undeploy • Shutdown
  6. OpsWorks Auto-Scaling • Time-based instance
 (Predictable event like COSCUP) •

    Load-based instance
 (Add / Remove instance according to average CPU / load of a layer) • Auto Healing
 (Detect dead instance, shutdown and replace it)
 (Not suggested by @dlackty) • Integrated with Elastic Load Balancer
  7. Notes • All App will be deployed to all instances

    of all layers of a stack
 (Need to cut the stack into minor unit) • Update custom cookbooks manually. • Only update, OpsWorks will not run cookbook automatically
 (Run command from web console / API) • One stack can have only one custom cookbook repo
 (Using Berkshelf to solve this) • Not sure how auto-scaling works with deploying • Check of a successful service start / deploy is not good enough
 (May need to modify the cookbook of write some scripts)
  8. OpsWorks Provides… • Chef server • Predefined instance lifecycle •

    Deployment • Auto-scaling • AWS integration • GUI & API • Open-sourced cookbooks • Clone Stack across region
  9. OpsWorks Provides… • Chef server • Predefined instance lifecycle •

    Deployment • Auto-scaling • AWS integration • GUI & API • Open-sourced cookbooks • Clone Stack across region • At least it’s chef