MELBOURNE March DEVOPS TALKS CONFERENCE

Size: px
Start display at page:

Download "MELBOURNE March DEVOPS TALKS CONFERENCE"

Transcription

1 MELBOURNE March DEVOPS TALKS CONFERENCE 2018

2 Matt Whales, Cats and Kubernetes

3 Matt Ray Manager/Solutions Architect APJ Chef Software Defined Talk

4 Shifts in Modern Application Architecture Demand an application-centric operations model Infrastructure Centric Operations Cloud Microservices Application Centric Operations UNIT OF VALUE is Server UNIT OF WORK is Configuration Containers UNIT OF VALUE is App UNIT OF WORK is Deployment EXISTING BUSINESS Infrastructure Automation Compliance Automation Application Automation NEW BUSINESS

5 What is Habitat? Application automation that enables modern application teams to build, deploy, and manage any application in any environment - from traditional to cloud native architectures.

6

7 The Container Learning Cliff Production Security Code Quality Container Hosting Peer Discovery Config Changes Supervision Monitoring Rolling Deployment Networking Internal Registry Workload Placement Development

8

9 Modern Application Workflow Packaging Applications USER PLAN ARTIFACT DEPOT Running Applications BARE METAL SUPERVISOR SERVICE DEPOT ARTIFACT CONTAINERS AMI SUPERVISOR SERVICE SUPERVISOR SERVICE VM SUPERVISOR SERVICE

10 hab plan init Standardized build and packaging templates Go Java Node.js Ruby and more

11 plan.sh FOO BAR

12 hab studio enter Builds an immutable artifact Disposable, reproducible build environment Produces a signed, timestamped.hart file with runtime dependencies and manifest Push to package depo

13 hab pkg export docker <origin>/<package> Top to Bottom Dependency Resolution Application & Libraries Minimized OS

14 hab pkg export Same immutable packages deployed everywhere ACI Cloud Foundry Docker Helm Kubernetes Mesos Tar

15 Configuration Configuration from the Environment default.toml docker run -e HAB_REDIS='tcp-backlog=128' mattray/redis echo port=6380 hab config apply redis.prod 3

16 Managing Applications Automated Application Supervision Start, Stop, Reconfigure, etc. RESTful API Artifact updates Encrypted discovery service

17 Managing Services Running Applications Topologies Update Strategies SUPERVISOR SERVICE LEADER ALL AT ONCE SUPERVISOR SUPERVISOR SERVICE SERVICE SUPERVISOR SERVICE SUPERVISOR SERVICE STAND ALONE ROLLING SUPERVISOR SERVICE LEADER ElECTION

18 Kubernetes #kubernetes hab pkg export kubernetes hab pkg export helm Habitat Kubernetes Operator OpenShift GKE, PKS, and more!

19 Demo Time!

20 Habitat Builder SaaS-based build service GitHub integration Automated builds and dependency rebuilds Public and private origins Release channels for Continuous Delivery Container publishing to Docker Hub > 500 packages for common applications and libraries

21 Windows Support Build, deploy and manage Habitat packages on Windows plan.ps1 Native Windows Supervisor IIS, SQL Server, MySQL, and more ASP.NET Core,.NET Core, Node, and more

22 12 Factor/Cloud Native Implements 12 Factor application patterns Decouples the app from operating system dependencies Separates concerns of build from deploy Provides declarative deployment capabilities Configuration from the environment Immutable artifacts

23 For Developers Works on my machine Any language Automatic builds on commit Explicit dependency declarations Stable & unstable release channels

24 For Operators Works the same everywhere Automated container builds Immutable build artifacts Release channels for CD workflow Consistent management of any application on any platform

25 Open Source Community Apache Licensed! : 5,976 Commits - 2,411 Pull Requests Authors 12 core developers employed by Chef, 7 external maintainers 543 Core Packages 1,479 people in

26 Matt