SlideShare una empresa de Scribd logo
1 de 65
Descargar para leer sin conexión
Habitat by Chef
Jessica DeVita, Evangelist @ubergeekgirl
Trevor Hess, Customer Architect @trevorghess
Agenda
State of the World
An Overview of Habitat
How Habitat Makes Containers Better
Demo
Questions & Answers
>1k
>25k
Company Background
▪ At the forefront of agile, lean, and DevOps movements
▪ Open Source foundation
▪ Tens of millions of machines under management by Chef
▪ 265 employees. Offices in Seattle, San Francisco, London,
Berlin
OUR VISION
The most enduring and transformative
companies use Chef to become fast, efficient,
and innovative software driven organizations
70% of the Fortune 500 tech sector uses Chef
Customers use Chef, including
Alaska Airlines, Disney, Facebook,
Intuit & Target
Organizations using Chef to
improve their speed, efficiency&
risk management
Quick Stats
Chef Customers
1. BMC
2. Splunk
3. IBM
4. HP
5. New Relic
6. AWS
7. Servicenow
8. CA
9. Microsoft
10.Chef
11. Solarwinds
12. Atlassian
Chef has driven the automation revolution
Our platform is a leader in Continuous Automation
Infrastructure Automation
Compliance Automation
Application Automation
Strategic Vendor of F500OSS Leadership
With which vendor do you think you will
be spending the most on IT tools in three
years?
Goldman Sachs Spending Survey, 2016
Key Partners
The Chef Automate Platform
Continuous Automation for High Velocity IT
Workflow • Local development • Integration • Tooling (APIs & SDKs)
COLLABORATE
▪ Package
▪ Test
▪ Approve
BUILD
▪ Provision
▪ Configure
▪ Execute
▪ Update
DEPLOY
▪ Secure
▪ Comply
▪ Audit
▪ Measure
▪ Log
MANAGE
Infrastructure Automation Compliance AutomationApplication Automation
OSS AUTOMATION ENGINES
Increase Speed
▪ Package infrastructure and app
configuration as code
▪ Continuously automate infrastructure
and app updates
Improve Efficiency
▪ Define and execute standard workflows
and automation
▪ Audit and measure effectiveness of
automation
Decrease Risk
▪ Define compliance rules as code
▪ Deliver continuous compliance as part
of standard workflow
Product Software
Development
Quality
Assurance
Operations Security
Enterprise Application LifecycleRUNTIME
Grid PaaS Containers & Discovery Traditional Applications
INFRASTRUCTUR
E
Bare Metal Virtualization Cloud & IaaS OS
Application Delivery
Containers
Cloud & IaaS
PaaS
New World Infrastructure/Architecture
Data Services
VMs
Applications
VMs
Data Services
Container Schedulers
The reality of modern architectures
AWS ECS
Google Container
EngineFor
Containers
For Traditional
Applications
Build
Deploy
Manage
Brent’s Desk
database cluster
Configuration Management
13
The Reality
Application
Concerns
OS
Concerns
How do you...
Build immutable infrastructure but
allow last mile Application config changes?
How do you...
Decouple the application build from
the final production ready container?
How do you...
Orchestrate the application launch
order & topology required?
19
20
What if you could
defer infrastructure
decisions until
runtime?
Automation travels with the application
Existing & Cloud Native Software
Application Automation
For new and legacy
applications.
For stateless and
stateful applications
No matter the runtime
environment
Habitat’s Approach
Confidential & subject to NDA. Patents Pending.
The solution should be the same:
● Applications: portable & responsible for their own automation
● Small OS serves the application
● Make application components aware of each other over a network
● Continuous deployment without traditional “ARA”
Habitat Components
• Habitat Studio - an applicationpackager
Habitat Components
• Habitat Studio - an applicationpackager
• Habitat Plans - instructions todownload, compile,and install
Habitat Components
• Habitat Studio - an applicationpackager
• Habitat Plans - instructions todownload, compile,and install
• Habitat Depot - a place to upload and download your app packages
Habitat Components
• Habitat Studio - an applicationpackager
• Habitat Plans - instructions todownload, compile,and install
• Habitat Depot - a place to upload and download your app packages
• Habitat Supervisor - an intelligent runtime withdeployment coordination
and service discovery built in
How do you...
Decouple the application build from
the final production ready artifact?
Provide a “DSL” to describe the application build
(plan.sh), and provide an isolated environment (studio)
to build the application artifact (Habitat Package).
Starts with a plan
Simple, Native, and Declarative
pkg_origin=core
pkg_name=redis
pkg_version=3.2.1
pkg_license=('BSD')
pkg_maintainer="TheHabitat Maintainers <humans@habitat.sh>"
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="redis-server $pkg_svc_config_path/redis.config"
pkg_expose=(6379)
do_build() {
make
}
plan.sh
Low abstraction
Complete
dependencies
Declare services
Simple functions
https://github.com/docker-library/redis/blob/master/3.2/Dockerfile
https://github.com/docker-library/redis/blob/master/3.2/Dockerfile
Clean room environment
Safe by default
Installs dependences
Built in a studio
Central location
Publicly hosted
Lightweight channels
Stored in a depot
Easy pattern
Shortcuts
Increasing specificity
Installed by hab
Binaries and Config
Metadata
Side-by-side
Packages Contain
Install automatically
Keep things running
Manage configuration
Supervisors run services
Print config options
12-Factor style
Externally enforced
Environment configuration
More flexible than environment
Universal location
Externally enforced
File configuration
How do you...
Build immutable infrastructure but
allow last mile Application config changes?
Ship the config along side an immutable application artifact.
Provide a supervisor to dynamically update the config based on
environment or service discovery.
Supervisors provide a REST API
External Actors
Health and Status
Supervisor
Debugging
How do you...
Orchestrate the application launch
order & topology required?
Provide config aware, autonomous, self-organizing
peers (supervisors) with built in topologies for
clustering strategies.
Supervisors form a ring
Peers
Service Groups
Gossip
Availability
increases with scale
Supervisors support topologies
Dynamic
configuration
Service group level
Uses the ring
Supervisors provide update strategies
Topology aware
Tracks views in the
depot
Ideal for Continuous
Delivery
SERVICE
SUPERVISOR
SERVICE
SUPERVISOR
SERVICE
SUPERVISOR
SERVICE
SUPERVISOR
USER ARTIFACT
How we do it
Packaging Applications
Running Applications
Confidential & subject to NDA. Patents Pending.
PLAN DEPOT
DEPOT ARTIFACT
BARE METAL
CONTAINERS
AMI
VM
How we do it
LEADER
INITIALIZE
R
STAND ALONE
Topologies Update StrategyRunning Applications
Confidential & subject to NDA. Patents Pending.
SERVICE
SUPERVISOR
SERVICE
SUPERVISOR
SERVICE
SUPERVISOR
SERVICE
SUPERVISOR
SERVICE
SUPERVISOR
SERVICE
SUPERVISOR
“ALL AT
ONCE”
ARTIFACT DEPOT
SERVICE
SUPERVISOR
SERVICE
SUPERVISOR
SERVICE
SUPERVISOR
SERVICE
SUPERVISOR
SERVICE
SUPERVISOR
SERVICE
SUPERVISOR
SERVICE
SUPERVISOR
How we do it
Security
PUB KEY
SYMMETRIC ENCRYPTION
LOAD BALANCER
Build Service
BUILD
SERVICE
USER
SECRET
PAYLOADS
SERVICE
SUPERVISOR
SERVICE
SUPERVISOR
SERVICE
SUPERVISOR
SERVICE
SUPERVISOR
SERVICE
SUPERVISOR
SERVICE
SUPERVISOR
ARTIFACTPLAN DEPOT
Confidential & subject to NDA. Patents Pending.
How do you...
Build containers with
the Minimum Viable OS?
Allow applications to declare their runtime
dependencies, and resolve those dependencies from
the application to the infrastructure.
Docker
ACI
Mesosphere
Post-process packages
Habitat + Containers
● Container formats recreate the traditional
model of infrastructure and applications.
● Poor at abstracting the Build + Run aspects
of Applications
Libraries
Operating System
Application
Application &
Libraries
● Habitat builds containers from the
application down
● Small lightweight OS included
● Embedded Supervisor for Application
Management
Application Libraries
Operable ApplicationContainers
•Isolated
•Immutable
•Configurable
•Common interface for monitoring health
•Rebuild from source
•Common packaging
•Runtime Independence
Habitat’s technology
Confidential & subject to NDA. Patents Pending.
● Describes how to build the
software
● Explicit about
dependencies
● Includes what is
configurable about the
application
● Built in service discovery
● Self-organizes into
topologies
● Handles inter-service
discovery through binding
● Has no single point of
failure
BUILD DEPLOY MANAGE
● Encrypted, authenticated
run-time configuration
● Automatic, safe, atomic
software updates
● Dynamic topology
updates
What the modern application team gets
Developers, System Administrators, CIOs; Enterprise and Tech Innovators
▪ Runs the same way in any
environment
▪ Management travels with the
application; no drift
▪ Autonomous and self-
organizing
▪ Legacy and Greenfield
▪ Lets the enterprise modernize
without re-writing the world
▪ Faster to build, easier to
deploy, safer to manage
▪ Easiest way to deploy
containers and microservices
in production
▪ Developers can focus on
building great applications
▪ Systems Administrators can
focus on how thoseapplications
should behave
▪ Gives both a language they can
share, with clear boundaries
Simplification Acceleration Empowerment
Confidential & subject to NDA. Patents Pending.
It’s all open source
Apache License
Support, services, and training
Chef as your partner for success with continuous automation
▪ On Demand.
Chef can provide dedicated
support for your installation
with experts from our customer
success team.
▪ Vibrant Community.
In addition to direct support,
Chef has a huge and active
community ready and willing to
provide guidance and best
practice.
▪ Custom development.
Chef can design and build
configuration cookbooks,
compliance profiles and
application packages using our
in-house experts.
▪ Accelerators.
Our architects and DevOps
practitioners can provide the
experience needed to get to
success quickly
▪ Public and Private Training.
We can deliver in-person and on-
demand training to suit your
needs.
▪ Certification.
Chef can help ensure your team
has the right knowledge for
continued success.
Support from the source Services for outcomes Training for capability
By bringing in Chef, we were able to automate very heterogeneous
infrastructures that included both legacy and new applications
Habitat Community
• 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
• Join the Habitat Forums - https://forums.habitat.sh/
Thank you!

Más contenido relacionado

La actualidad más candente

Cloud Foundry BOSH CPI for OpenStack
Cloud Foundry BOSH CPI for OpenStackCloud Foundry BOSH CPI for OpenStack
Cloud Foundry BOSH CPI for OpenStack
Animesh Singh
 

La actualidad más candente (20)

DevOps and BigData Analytics
DevOps and BigData Analytics DevOps and BigData Analytics
DevOps and BigData Analytics
 
SoCal DevOps Meetup 1/26/2017 - Habitat by Chef
SoCal DevOps Meetup 1/26/2017 - Habitat by ChefSoCal DevOps Meetup 1/26/2017 - Habitat by Chef
SoCal DevOps Meetup 1/26/2017 - Habitat by Chef
 
Cloud Native Summit 2019 Summary
Cloud Native Summit 2019 SummaryCloud Native Summit 2019 Summary
Cloud Native Summit 2019 Summary
 
The Architecture of Continuous Innovation - OSCON 2015
The Architecture of Continuous Innovation - OSCON 2015The Architecture of Continuous Innovation - OSCON 2015
The Architecture of Continuous Innovation - OSCON 2015
 
Evolving to Cloud-Native - Nate Schutta (2/2)
Evolving to Cloud-Native - Nate Schutta (2/2)Evolving to Cloud-Native - Nate Schutta (2/2)
Evolving to Cloud-Native - Nate Schutta (2/2)
 
DevOps Spain 2019. Olivier Perard-Oracle
DevOps Spain 2019. Olivier Perard-OracleDevOps Spain 2019. Olivier Perard-Oracle
DevOps Spain 2019. Olivier Perard-Oracle
 
Talk at the Boston Cloud Foundry Meetup June 2015
Talk at the Boston Cloud Foundry Meetup June 2015Talk at the Boston Cloud Foundry Meetup June 2015
Talk at the Boston Cloud Foundry Meetup June 2015
 
Containers and microservices for realists
Containers and microservices for realistsContainers and microservices for realists
Containers and microservices for realists
 
Introducing Cloud Native, Event Driven, Serverless, Micrsoservices Framework ...
Introducing Cloud Native, Event Driven, Serverless, Micrsoservices Framework ...Introducing Cloud Native, Event Driven, Serverless, Micrsoservices Framework ...
Introducing Cloud Native, Event Driven, Serverless, Micrsoservices Framework ...
 
CWIN17 london becoming cloud native part 2 - guy martin docker
CWIN17 london   becoming cloud native part 2 - guy martin dockerCWIN17 london   becoming cloud native part 2 - guy martin docker
CWIN17 london becoming cloud native part 2 - guy martin docker
 
Container Native Development Tools - Talk by Mickey Boxell
Container Native Development Tools - Talk by Mickey BoxellContainer Native Development Tools - Talk by Mickey Boxell
Container Native Development Tools - Talk by Mickey Boxell
 
Going Cloud Native with Cloud Foundry
Going Cloud Native with Cloud FoundryGoing Cloud Native with Cloud Foundry
Going Cloud Native with Cloud Foundry
 
GDPR- The Buck Stops Here
GDPR-  The Buck Stops HereGDPR-  The Buck Stops Here
GDPR- The Buck Stops Here
 
2017 State Enterprise Multi Cloud Webinar
2017 State Enterprise Multi Cloud Webinar2017 State Enterprise Multi Cloud Webinar
2017 State Enterprise Multi Cloud Webinar
 
Cloud Presentation and OpenStack case studies -- Harvard University
Cloud Presentation and OpenStack case studies -- Harvard UniversityCloud Presentation and OpenStack case studies -- Harvard University
Cloud Presentation and OpenStack case studies -- Harvard University
 
Cloud Foundry BOSH CPI for OpenStack
Cloud Foundry BOSH CPI for OpenStackCloud Foundry BOSH CPI for OpenStack
Cloud Foundry BOSH CPI for OpenStack
 
OpenWhisk: Event-driven Design
OpenWhisk: Event-driven DesignOpenWhisk: Event-driven Design
OpenWhisk: Event-driven Design
 
DCSF 19 Developing Apps with Containers, Functions and Cloud Services
DCSF 19 Developing Apps with Containers, Functions and Cloud ServicesDCSF 19 Developing Apps with Containers, Functions and Cloud Services
DCSF 19 Developing Apps with Containers, Functions and Cloud Services
 
Cloud Native Patterns with Bluemix Developer Console
Cloud Native Patterns with Bluemix Developer ConsoleCloud Native Patterns with Bluemix Developer Console
Cloud Native Patterns with Bluemix Developer Console
 
Building a Platform for the People - IBM's Open Cloud Architecture Summit - A...
Building a Platform for the People - IBM's Open Cloud Architecture Summit - A...Building a Platform for the People - IBM's Open Cloud Architecture Summit - A...
Building a Platform for the People - IBM's Open Cloud Architecture Summit - A...
 

Similar a DevOps LA Meetup Intro to Habitat

Similar a DevOps LA Meetup Intro to Habitat (20)

Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015
 
Erik Baardse - Bringing Agility to Traditional application by docker
Erik Baardse - Bringing Agility to Traditional application by dockerErik Baardse - Bringing Agility to Traditional application by docker
Erik Baardse - Bringing Agility to Traditional application by docker
 
Elevate Your Continuous Delivery Strategy Above the Rolling Clouds (Interconn...
Elevate Your Continuous Delivery Strategy Above the Rolling Clouds (Interconn...Elevate Your Continuous Delivery Strategy Above the Rolling Clouds (Interconn...
Elevate Your Continuous Delivery Strategy Above the Rolling Clouds (Interconn...
 
.NET Cloud-Native Bootcamp- Los Angeles
.NET Cloud-Native Bootcamp- Los Angeles.NET Cloud-Native Bootcamp- Los Angeles
.NET Cloud-Native Bootcamp- Los Angeles
 
Tampere Docker meetup - Happy 5th Birthday Docker
Tampere Docker meetup - Happy 5th Birthday DockerTampere Docker meetup - Happy 5th Birthday Docker
Tampere Docker meetup - Happy 5th Birthday Docker
 
Secrets of Successful Cloud Foundry Adopters
Secrets of Successful Cloud Foundry AdoptersSecrets of Successful Cloud Foundry Adopters
Secrets of Successful Cloud Foundry Adopters
 
Cloud foundry: The Platform for Forging Cloud Native Applications
Cloud foundry: The Platform for Forging Cloud Native ApplicationsCloud foundry: The Platform for Forging Cloud Native Applications
Cloud foundry: The Platform for Forging Cloud Native Applications
 
Technology insights: Decision Science Platform
Technology insights: Decision Science PlatformTechnology insights: Decision Science Platform
Technology insights: Decision Science Platform
 
Simplify DevOps with Microservices and Mobile Backends.pptx
Simplify DevOps with Microservices and Mobile Backends.pptxSimplify DevOps with Microservices and Mobile Backends.pptx
Simplify DevOps with Microservices and Mobile Backends.pptx
 
Pivotal CloudFoundry on Google cloud platform
Pivotal CloudFoundry on Google cloud platformPivotal CloudFoundry on Google cloud platform
Pivotal CloudFoundry on Google cloud platform
 
Red Hat OpenShift Container Platform Overview
Red Hat OpenShift Container Platform OverviewRed Hat OpenShift Container Platform Overview
Red Hat OpenShift Container Platform Overview
 
Developing Hybrid Cloud Applications
Developing Hybrid Cloud ApplicationsDeveloping Hybrid Cloud Applications
Developing Hybrid Cloud Applications
 
Faster, more Secure Application Modernization and Replatforming with PKS - Ku...
Faster, more Secure Application Modernization and Replatforming with PKS - Ku...Faster, more Secure Application Modernization and Replatforming with PKS - Ku...
Faster, more Secure Application Modernization and Replatforming with PKS - Ku...
 
Docker Birthday #5 Meetup Cluj - Presentation
Docker Birthday #5 Meetup Cluj - PresentationDocker Birthday #5 Meetup Cluj - Presentation
Docker Birthday #5 Meetup Cluj - Presentation
 
Red hat cloud platforms
Red hat cloud platformsRed hat cloud platforms
Red hat cloud platforms
 
Securing the Cloud Native stack
Securing the Cloud Native stackSecuring the Cloud Native stack
Securing the Cloud Native stack
 
Application Modernisation with PKS
Application Modernisation with PKSApplication Modernisation with PKS
Application Modernisation with PKS
 
Application Modernisation with PKS
Application Modernisation with PKSApplication Modernisation with PKS
Application Modernisation with PKS
 
NUS-ISS Learning Day 2018- Designing software to make the most of cloud platf...
NUS-ISS Learning Day 2018- Designing software to make the most of cloud platf...NUS-ISS Learning Day 2018- Designing software to make the most of cloud platf...
NUS-ISS Learning Day 2018- Designing software to make the most of cloud platf...
 
Securing the Cloud Native Stack
Securing the Cloud Native StackSecuring the Cloud Native Stack
Securing the Cloud Native Stack
 

Más de Jessica DeVita

Más de Jessica DeVita (8)

Retrospecting our Retrospectives
Retrospecting our RetrospectivesRetrospecting our Retrospectives
Retrospecting our Retrospectives
 
Unreachable Code
Unreachable CodeUnreachable Code
Unreachable Code
 
Bay Area Chef Meetup February
Bay Area Chef Meetup FebruaryBay Area Chef Meetup February
Bay Area Chef Meetup February
 
Baking Safety into Infrastructure Testing
Baking Safety into Infrastructure TestingBaking Safety into Infrastructure Testing
Baking Safety into Infrastructure Testing
 
Code Blue - DevOps Days SCV
Code Blue - DevOps Days SCVCode Blue - DevOps Days SCV
Code Blue - DevOps Days SCV
 
No Whiteboards Allowed - #DevOpsRSAC
No Whiteboards Allowed - #DevOpsRSACNo Whiteboards Allowed - #DevOpsRSAC
No Whiteboards Allowed - #DevOpsRSAC
 
An API Between US - LeanUX15 NYC
An API Between US - LeanUX15 NYCAn API Between US - LeanUX15 NYC
An API Between US - LeanUX15 NYC
 
Automate what you can, document what you can't and have the wisdom to know th...
Automate what you can, document what you can't and have the wisdom to know th...Automate what you can, document what you can't and have the wisdom to know th...
Automate what you can, document what you can't and have the wisdom to know th...
 

Último

Último (20)

A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

DevOps LA Meetup Intro to Habitat

  • 1. Habitat by Chef Jessica DeVita, Evangelist @ubergeekgirl Trevor Hess, Customer Architect @trevorghess
  • 2. Agenda State of the World An Overview of Habitat How Habitat Makes Containers Better Demo Questions & Answers
  • 3. >1k >25k Company Background ▪ At the forefront of agile, lean, and DevOps movements ▪ Open Source foundation ▪ Tens of millions of machines under management by Chef ▪ 265 employees. Offices in Seattle, San Francisco, London, Berlin OUR VISION The most enduring and transformative companies use Chef to become fast, efficient, and innovative software driven organizations 70% of the Fortune 500 tech sector uses Chef Customers use Chef, including Alaska Airlines, Disney, Facebook, Intuit & Target Organizations using Chef to improve their speed, efficiency& risk management Quick Stats
  • 5. 1. BMC 2. Splunk 3. IBM 4. HP 5. New Relic 6. AWS 7. Servicenow 8. CA 9. Microsoft 10.Chef 11. Solarwinds 12. Atlassian Chef has driven the automation revolution Our platform is a leader in Continuous Automation Infrastructure Automation Compliance Automation Application Automation Strategic Vendor of F500OSS Leadership With which vendor do you think you will be spending the most on IT tools in three years? Goldman Sachs Spending Survey, 2016 Key Partners
  • 6. The Chef Automate Platform Continuous Automation for High Velocity IT Workflow • Local development • Integration • Tooling (APIs & SDKs) COLLABORATE ▪ Package ▪ Test ▪ Approve BUILD ▪ Provision ▪ Configure ▪ Execute ▪ Update DEPLOY ▪ Secure ▪ Comply ▪ Audit ▪ Measure ▪ Log MANAGE Infrastructure Automation Compliance AutomationApplication Automation OSS AUTOMATION ENGINES Increase Speed ▪ Package infrastructure and app configuration as code ▪ Continuously automate infrastructure and app updates Improve Efficiency ▪ Define and execute standard workflows and automation ▪ Audit and measure effectiveness of automation Decrease Risk ▪ Define compliance rules as code ▪ Deliver continuous compliance as part of standard workflow
  • 7. Product Software Development Quality Assurance Operations Security Enterprise Application LifecycleRUNTIME Grid PaaS Containers & Discovery Traditional Applications INFRASTRUCTUR E Bare Metal Virtualization Cloud & IaaS OS Application Delivery
  • 8. Containers Cloud & IaaS PaaS New World Infrastructure/Architecture Data Services VMs Applications VMs Data Services Container Schedulers
  • 9. The reality of modern architectures AWS ECS Google Container EngineFor Containers For Traditional Applications
  • 15. How do you... Build immutable infrastructure but allow last mile Application config changes?
  • 16. How do you... Decouple the application build from the final production ready container?
  • 17. How do you... Orchestrate the application launch order & topology required?
  • 18.
  • 19. 19
  • 20. 20
  • 21.
  • 22. What if you could defer infrastructure decisions until runtime?
  • 23.
  • 24. Automation travels with the application Existing & Cloud Native Software Application Automation
  • 25. For new and legacy applications. For stateless and stateful applications No matter the runtime environment Habitat’s Approach Confidential & subject to NDA. Patents Pending. The solution should be the same: ● Applications: portable & responsible for their own automation ● Small OS serves the application ● Make application components aware of each other over a network ● Continuous deployment without traditional “ARA”
  • 26. Habitat Components • Habitat Studio - an applicationpackager
  • 27. Habitat Components • Habitat Studio - an applicationpackager • Habitat Plans - instructions todownload, compile,and install
  • 28. Habitat Components • Habitat Studio - an applicationpackager • Habitat Plans - instructions todownload, compile,and install • Habitat Depot - a place to upload and download your app packages
  • 29. Habitat Components • Habitat Studio - an applicationpackager • Habitat Plans - instructions todownload, compile,and install • Habitat Depot - a place to upload and download your app packages • Habitat Supervisor - an intelligent runtime withdeployment coordination and service discovery built in
  • 30. How do you... Decouple the application build from the final production ready artifact? Provide a “DSL” to describe the application build (plan.sh), and provide an isolated environment (studio) to build the application artifact (Habitat Package).
  • 32. Simple, Native, and Declarative pkg_origin=core pkg_name=redis pkg_version=3.2.1 pkg_license=('BSD') pkg_maintainer="TheHabitat Maintainers <humans@habitat.sh>" 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="redis-server $pkg_svc_config_path/redis.config" pkg_expose=(6379) do_build() { make } plan.sh Low abstraction Complete dependencies Declare services Simple functions
  • 35. Clean room environment Safe by default Installs dependences Built in a studio
  • 36.
  • 37. Central location Publicly hosted Lightweight channels Stored in a depot
  • 38.
  • 39.
  • 40.
  • 43.
  • 44. Install automatically Keep things running Manage configuration Supervisors run services
  • 45. Print config options 12-Factor style Externally enforced Environment configuration
  • 46. More flexible than environment Universal location Externally enforced File configuration
  • 47. How do you... Build immutable infrastructure but allow last mile Application config changes? Ship the config along side an immutable application artifact. Provide a supervisor to dynamically update the config based on environment or service discovery.
  • 48. Supervisors provide a REST API External Actors Health and Status Supervisor Debugging
  • 49. How do you... Orchestrate the application launch order & topology required? Provide config aware, autonomous, self-organizing peers (supervisors) with built in topologies for clustering strategies.
  • 50. Supervisors form a ring Peers Service Groups Gossip Availability increases with scale
  • 52. Supervisors provide update strategies Topology aware Tracks views in the depot Ideal for Continuous Delivery
  • 53. SERVICE SUPERVISOR SERVICE SUPERVISOR SERVICE SUPERVISOR SERVICE SUPERVISOR USER ARTIFACT How we do it Packaging Applications Running Applications Confidential & subject to NDA. Patents Pending. PLAN DEPOT DEPOT ARTIFACT BARE METAL CONTAINERS AMI VM
  • 54. How we do it LEADER INITIALIZE R STAND ALONE Topologies Update StrategyRunning Applications Confidential & subject to NDA. Patents Pending. SERVICE SUPERVISOR SERVICE SUPERVISOR SERVICE SUPERVISOR SERVICE SUPERVISOR SERVICE SUPERVISOR SERVICE SUPERVISOR “ALL AT ONCE” ARTIFACT DEPOT SERVICE SUPERVISOR
  • 55. SERVICE SUPERVISOR SERVICE SUPERVISOR SERVICE SUPERVISOR SERVICE SUPERVISOR SERVICE SUPERVISOR SERVICE SUPERVISOR How we do it Security PUB KEY SYMMETRIC ENCRYPTION LOAD BALANCER Build Service BUILD SERVICE USER SECRET PAYLOADS SERVICE SUPERVISOR SERVICE SUPERVISOR SERVICE SUPERVISOR SERVICE SUPERVISOR SERVICE SUPERVISOR SERVICE SUPERVISOR ARTIFACTPLAN DEPOT Confidential & subject to NDA. Patents Pending.
  • 56. How do you... Build containers with the Minimum Viable OS? Allow applications to declare their runtime dependencies, and resolve those dependencies from the application to the infrastructure.
  • 58. Habitat + Containers ● Container formats recreate the traditional model of infrastructure and applications. ● Poor at abstracting the Build + Run aspects of Applications Libraries Operating System Application Application & Libraries ● Habitat builds containers from the application down ● Small lightweight OS included ● Embedded Supervisor for Application Management Application Libraries
  • 59. Operable ApplicationContainers •Isolated •Immutable •Configurable •Common interface for monitoring health •Rebuild from source •Common packaging •Runtime Independence
  • 60. Habitat’s technology Confidential & subject to NDA. Patents Pending. ● Describes how to build the software ● Explicit about dependencies ● Includes what is configurable about the application ● Built in service discovery ● Self-organizes into topologies ● Handles inter-service discovery through binding ● Has no single point of failure BUILD DEPLOY MANAGE ● Encrypted, authenticated run-time configuration ● Automatic, safe, atomic software updates ● Dynamic topology updates
  • 61. What the modern application team gets Developers, System Administrators, CIOs; Enterprise and Tech Innovators ▪ Runs the same way in any environment ▪ Management travels with the application; no drift ▪ Autonomous and self- organizing ▪ Legacy and Greenfield ▪ Lets the enterprise modernize without re-writing the world ▪ Faster to build, easier to deploy, safer to manage ▪ Easiest way to deploy containers and microservices in production ▪ Developers can focus on building great applications ▪ Systems Administrators can focus on how thoseapplications should behave ▪ Gives both a language they can share, with clear boundaries Simplification Acceleration Empowerment Confidential & subject to NDA. Patents Pending.
  • 62. It’s all open source Apache License
  • 63. Support, services, and training Chef as your partner for success with continuous automation ▪ On Demand. Chef can provide dedicated support for your installation with experts from our customer success team. ▪ Vibrant Community. In addition to direct support, Chef has a huge and active community ready and willing to provide guidance and best practice. ▪ Custom development. Chef can design and build configuration cookbooks, compliance profiles and application packages using our in-house experts. ▪ Accelerators. Our architects and DevOps practitioners can provide the experience needed to get to success quickly ▪ Public and Private Training. We can deliver in-person and on- demand training to suit your needs. ▪ Certification. Chef can help ensure your team has the right knowledge for continued success. Support from the source Services for outcomes Training for capability By bringing in Chef, we were able to automate very heterogeneous infrastructures that included both legacy and new applications
  • 64. Habitat Community • 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 • Join the Habitat Forums - https://forums.habitat.sh/