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

Habitat Workshop - DC

Habitat Workshop - DC

An introduction to Chef's Habitat given at the DevOpsDC Meetup.

https://www.meetup.com/DevOpsDC/events/235596655/

Nathen Harvey

December 06, 2016
Tweet

More Decks by Nathen Harvey

Other Decks in Technology

Transcript

  1. • 6:00 – 6:30 – Meet, greet, and eat! • 6:30 –

    6:45 – Introductions and Announcements • 6:45 – 9:00 – Habitat!
  2. DevOpsDC Code of Conduct http://www.meetup.com/DevOpsDC/pages/Code_of_Conduct/ We value the participation of

    each member of the community and want all attendees to have an enjoyable and fulfilling experience. Accordingly, all attendees are expected to show respect and courtesy to other attendees throughout all Meetup events. To make clear what is expected, all delegates/attendees, speakers, exhibitors, organizers, and volunteers at any DevOpsDC event are required to conform to our Code of Conduct. Organizers will enforce this code throughout events.
  3. • Hiring? • Looking for work? • Attending or speaking at a conference?

    • Something we all should know? • Favorite color?
  4. • Wednesday – 6PM – 9PM • Microsoft MTC – 11 Times

    Square • Introduction to Habitat • Tutorials • Setup your development environment • Package and run your own applications
  5. • Thursday – 6PM – 9PM • Threat Stack – 55 Summer

    Street, 2nd Floor • Introduction to Habitat • Tutorials • Setup your development environment • Package and run your own applications
  6. ©2016 Chef Software Inc. 1-14 Modern Applications Source Code Repo

    Artifact Bare Metal Container Cloud Instance VM Artifact Repo
  7. ©2016 Chef Software Inc. Simple, native, and declaritive pkg_name=redis pkg_origin=core

    pkg_version=3.0.7 pkg_license=('BSD') pkg_maintainer="The Habitat Maintainers <[email protected]>" pkg_source=http://download.redis.io/releases/${pkg_name}-${pkg_version}.tar.gz pkg_shasum=b2a791c4ea3bb7268795c45c6321ea5abcc24457178373e6a6e3be6372737f23 pkg_bin_dirs=(bin) pkg_build_deps=(core/make core/gcc) pkg_deps=(core/glibc) pkg_svc_run="bin/redis-server $pkg_svc_config_path/redis.config" pkg_expose=(6379) do_build() { make } plan.sh Low abstraction Complete dependencies Declare services Simple functions
  8. Operable Applications • Isolated • Immutable • Configurable • Common interface for monitoring health

    • Rebuild from source • Common packaging • Runtime Independence
  9. What’s Next? •  Use a provided Habitat development environment, or

    install Habitat locally •  Join the Habitat Slack Team - http://slack.habitat.sh/ •  Work through the tutorial at https://www.habitat.sh/tutorials/ •  Explore Habitat packages on the depot - https://app.habitat.sh/ •  Explore the Habitat projects - https://github.com/habitat-sh •  Read Habitat Blog posts - https://blog.chef.io/?s=habitat •  Package one of your own applications •  Demo your work throughout the evening