Application of habitat suitability modelling to tracking ...
Application Automation with Habitat
-
Upload
chef -
Category
Technology
-
view
59 -
download
1
Transcript of Application Automation with Habitat
©2016 Chef Software Inc. 1-2
Modern Applications
SourceCodeRepo
Artifact
Bare MetalContainers
AMIVM
Artifact Repo
©2016 Chef Software Inc. 1-3
Immutable Infrastructure
©2016 Chef Software Inc. 1-4
Immutable Infrastructure Applications
©2016 Chef Software Inc. 1-5
Dependencies!
©2016 Chef Software Inc. 1-6
Packaging and Deployment
BuildDeployManage
Starts with a plan
©2016 Chef Software Inc.
Simple, native, and declaritive
pkg_name=redispkg_origin=corepkg_version=3.0.7pkg_license=('BSD')pkg_maintainer="The Habitat Maintainers <[email protected]>"pkg_source=http://download.redis.io/releases/${pkg_name}-${pkg_version}.tar.gzpkg_shasum=b2a791c4ea3bb7268795c45c6321ea5abcc24457178373e6a6e3be6372737f23pkg_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
Clean room environmentSafe by default
Installs dependences
Built in a studio
Central locationPublicly hosted
Lightweight views
Stored in a depot
Easy patternShortcuts
Increasing specificity
Installed by hab
Binaries and ConfigMetadata
Side-by-side
Packages on disk
DockerACI
Mesosphere
Post-process packages
Run on any 64-bit LinuxEasily support proprietary software
Installs automaticallyKeeps things running
Manages configuration
Supervisor runs services
Print config options12-Factor style
Externally enforced
Environment configuration
More flexible than environmentUniversal location
Externally enforced
File configuration
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
Supervisors provide a REST API
External Actors
Health and Status
Supervisor Debugging
Automation travels with the application
Existing & Cloud Native Software
Application Automation
It’s all open source
Apache License
https://www.habitat.sh/community/