devops sydney- building better containers with habitat

21
DevOps Sydney October 20, 2016

Upload: matt-ray

Post on 13-Apr-2017

197 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: DevOps Sydney- Building Better Containers with Habitat

DevOps SydneyOctober 20, 2016

Page 2: DevOps Sydney- Building Better Containers with Habitat
Page 3: DevOps Sydney- Building Better Containers with Habitat
Page 4: DevOps Sydney- Building Better Containers with Habitat

Brent’s Desk

database cluster

Page 5: DevOps Sydney- Building Better Containers with Habitat

Infrastructure First Development

Page 6: DevOps Sydney- Building Better Containers with Habitat

Cloud Native is code for “Rewrite the world”

Page 7: DevOps Sydney- Building Better Containers with Habitat

What if you could defer infrastructure

decisions until runtime?

Page 8: DevOps Sydney- Building Better Containers with Habitat

HabitatApplication automation that enables modern

application teams to build, deploy, and run any application in any environment - from traditional

data-centers to containerized microservices.

Page 9: DevOps Sydney- Building Better Containers with Habitat

Build Service

Plan Artifact DepotBuild

Service

A Build Service with a workflow to describe the software and behavior for Habitat applications

Explicit about dependenciesIncludes what is configurable about the application

Packages are developed and built in an isolated build environment (hab studio)

Built Artifacts are post-processed in one step to multiple formats including Docker Images

Source Code Repo

Habitat Technology

Page 10: DevOps Sydney- Building Better Containers with Habitat

Post-process packaging

Page 11: DevOps Sydney- Building Better Containers with Habitat

Automation travels with the app

Page 12: DevOps Sydney- Building Better Containers with Habitat

Choreography

Page 13: DevOps Sydney- Building Better Containers with Habitat

Topology aware

Page 14: DevOps Sydney- Building Better Containers with Habitat

SecurityCode Quality

Container HostingPeer DiscoveryConfig Changes

SupervisionMonitoring

Rolling DeploymentNetworking

Internal RegistryWorkload Placement

Production

The Container Learning CliffDevelopment

Page 15: DevOps Sydney- Building Better Containers with Habitat

Habitat Technology

Plan Artifact DepotBuild

Service

Supervisor Supervisor

Supervisor Supervisor

Ring

Bare Metal

Containers

AMI

VM

Depot

Build Service & Workflow

Package Format Artifact Distribution Server

Artifact Distribution Server

Intelligent Run-Time Supervisor w/REST API

Source Code Repo

Page 16: DevOps Sydney- Building Better Containers with Habitat

Applications run as distributed, fully automated, and capable autonomous actors

Immutable applications, but flexible and easy to manage because automation travels with the application

Bundles what your apps need to run and nothing else (new and legacy)

Embedded automation choreographs application cluster topology/behavior

A network with no reliance on external services and no single-point-of-failure

Provides continuous deployment without traditional Application Release Automation (ARA) tooling

Habitat’s approach

Page 17: DevOps Sydney- Building Better Containers with Habitat
Page 18: DevOps Sydney- Building Better Containers with Habitat

• Chef

• Docker, Docker Swarm

• Mesos, DC/OS

• Kubernetes, Tectonic & OpenShift

• Nomad

• Rancher

• GKE

• ECS

Habitat is complementary to

Page 19: DevOps Sydney- Building Better Containers with Habitat

Try Habitat for yourself

• https://www.habitat.sh/try

• https://github.com/habitat-sh/

• Tutorials

• Getting started guide

• Extensive documentation

• Support for Chef customers

Page 20: DevOps Sydney- Building Better Containers with Habitat

Links from the Presentation

• Redis plan

– https://github.com/habitat-sh/core-plans

• National Parks demo

– https://github.com/billmeyer/national-parks-plan

– https://github.com/billmeyer/national-parks

Page 21: DevOps Sydney- Building Better Containers with Habitat

21