SlideShare a Scribd company logo
CoreOS 101
Jonas Rosland
Developer Advocate
@jonasrosland
jonas.rosland@emc.com
emccode.github.io
EMC World 2015
Basics of a container
CoreOS 101 - EMC World 2015
Service Discovery
CoreOS 101 - EMC World 2015
CoreOS
Based on Gentoo
Kernel + Containers, nothing else
Built for running HA environments
Updates applied automatically
Containers
Docker, of course, but also others like
LXC and nspawn
Isolation from other applications
Link containers together
Less overhead than VMs
Released container runtime engine
Rocket recently
systemd
System management daemon
Services, timers and one-off jobs
Logging through journal
etcd
Highly available Key-Value database store
Provides service discovery and shared configurations
Others like it are Consul and Zookeeper
Provides a locking mechanism for safe(r) automatic updates
Public etcd service:
https://discovery.etcd.io/
This is frickin awesome, as you'll see :)
etcdctl command
$ set services/db1 10.0.0.101
$ set services/db2 10.0.0.102
$ set services/db-master db1
$ get services/db-master
"db1"
$ get services/db1
"10.0.0.101"
etcd automatic registration
CoreOS 101 - EMC World 2015
fleet
Deploy docker containers on arbitrary hosts in a cluster
Distribute services across a cluster using machine-level anti-
affinity
Maintain N instances of a service
Re-scheduling on machine failure
Discover machines running in the cluster
fleet
Putting it all together
1. Create a systemd file for your service
2. Start the service using fleet
3. Register services in etcd
4. ...
5. Profit!
Demotime!

More Related Content

PPTX
Docker Training - June 2015
PPTX
EMC World 2016 - code.08 Introduction to Mesos and Mesosphere
PPTX
EMC World 2016 - code.01 Everything as Code - How did we get here?
PPTX
EMC World 2016 - mioaITL.08 Infrastructure as Code: Not Your Parent's Data Ce...
PPTX
IDC Architecture 2016 - Devops and Open Source
PPTX
EMC World 2016 - code.10 Jumpstart your Open Source Presence through new Coll...
PPTX
EMC World 2016 - code.14 Deep Dive with Mesos and Persistent Storage for Appl...
PPTX
EMC World 2016 - code.16 Running Stateful Services on Cloud Native Platforms ...
Docker Training - June 2015
EMC World 2016 - code.08 Introduction to Mesos and Mesosphere
EMC World 2016 - code.01 Everything as Code - How did we get here?
EMC World 2016 - mioaITL.08 Infrastructure as Code: Not Your Parent's Data Ce...
IDC Architecture 2016 - Devops and Open Source
EMC World 2016 - code.10 Jumpstart your Open Source Presence through new Coll...
EMC World 2016 - code.14 Deep Dive with Mesos and Persistent Storage for Appl...
EMC World 2016 - code.16 Running Stateful Services on Cloud Native Platforms ...

What's hot (20)

PPTX
EMC World 2016 - code.04 Extending Mesos for Storage and External Resources
PPTX
EMC World 2016 - code.07 Resiliency and Availability of a Cloud Native Infras...
PPTX
EMC World 2016 - cnaITL.06 Containers are not Cloud Native
PPTX
Open Source, infrastructure as Code, Cloud Native Apps 2015
PPTX
EMC World 2016 - code.09 Introduction to the Docker Platform
PPTX
EMC World 2016 - cnaITL.04 Open Source has changed how you run Infrastructure
PPTX
EMC World 2016 - code.03 Introduction to Containers
PPTX
Automating Your Data Center with RackHD - EMC World 2016
PPTX
Highly Available And Distributed Containers - ContainerCon NA 2016
PPTX
EMC World 2016 - code.13 State of the Container Ecosystem with Persistent App...
PPTX
EMC World 2016 - code.02 Introduction to Immutable Infrastructure
PDF
OpenStack + Cloud Foundry for the OpenStack Boston Meetup
PPTX
EMC World 2016 - code.15 Better Together: Scale-Out Databases on Scale-Out St...
PDF
Microservices and functional programming
PPTX
New and cool in OSGi R7 - David Bosschaert & Carsten Ziegeler
PPTX
Enterprise Ready OpenStack, Wiekus Beukes, Oracle
PDF
Cloud Foundry, the Open Platform As A Service
PPT
Application Architecture For The Cloud
PDF
Cloud Native Application
PPTX
Designing Telco Scaled OpenStack Architectures
EMC World 2016 - code.04 Extending Mesos for Storage and External Resources
EMC World 2016 - code.07 Resiliency and Availability of a Cloud Native Infras...
EMC World 2016 - cnaITL.06 Containers are not Cloud Native
Open Source, infrastructure as Code, Cloud Native Apps 2015
EMC World 2016 - code.09 Introduction to the Docker Platform
EMC World 2016 - cnaITL.04 Open Source has changed how you run Infrastructure
EMC World 2016 - code.03 Introduction to Containers
Automating Your Data Center with RackHD - EMC World 2016
Highly Available And Distributed Containers - ContainerCon NA 2016
EMC World 2016 - code.13 State of the Container Ecosystem with Persistent App...
EMC World 2016 - code.02 Introduction to Immutable Infrastructure
OpenStack + Cloud Foundry for the OpenStack Boston Meetup
EMC World 2016 - code.15 Better Together: Scale-Out Databases on Scale-Out St...
Microservices and functional programming
New and cool in OSGi R7 - David Bosschaert & Carsten Ziegeler
Enterprise Ready OpenStack, Wiekus Beukes, Oracle
Cloud Foundry, the Open Platform As A Service
Application Architecture For The Cloud
Cloud Native Application
Designing Telco Scaled OpenStack Architectures
Ad

Viewers also liked (20)

PPTX
PuppetCamp Amsterdam 2013 - Automated OS and App deployment using Puppet and ...
PPTX
EMC World 2015 - The Devops Toolkit
PPTX
EMC World 2015 - EMC {code} Photo Booth Presentation
PDF
The new stack isn’t a stack: Fragmentation and terraforming 
the service layer
PPTX
EMCW2015 - Frictionless Deployment of SDS
PDF
Microservices, Data Services and Containers for Cloud Native Architectures (D...
PDF
Puppet Deployment at OnApp
PPTX
EMCW2015 - Containers and Data Persistence
PPTX
DevOps is a ReOrg
PPTX
EMC World 2015 devops-st06 Containers and Converged Infrastructure Deployment
PPTX
EMC World 2015 - Why DevOps is Critical for Business
PPTX
EMCW2015 - Containers vs VMs
PDF
Continuous Delivery with Maven, Puppet and Tomcat - ApacheCon NA 2013
PDF
Managing Windows Systems with Puppet - PuppetConf 2013
PDF
Designing Puppet: Roles/Profiles Pattern
PPT
Transnational political identities
PPTX
Simple Present
PPTX
open data en overheidscommunicatie
PPT
แปลโดยพยัญชนะเรื่องพราหมณ์ชื่อว่า จูเฬกสาฎก๒
PuppetCamp Amsterdam 2013 - Automated OS and App deployment using Puppet and ...
EMC World 2015 - The Devops Toolkit
EMC World 2015 - EMC {code} Photo Booth Presentation
The new stack isn’t a stack: Fragmentation and terraforming 
the service layer
EMCW2015 - Frictionless Deployment of SDS
Microservices, Data Services and Containers for Cloud Native Architectures (D...
Puppet Deployment at OnApp
EMCW2015 - Containers and Data Persistence
DevOps is a ReOrg
EMC World 2015 devops-st06 Containers and Converged Infrastructure Deployment
EMC World 2015 - Why DevOps is Critical for Business
EMCW2015 - Containers vs VMs
Continuous Delivery with Maven, Puppet and Tomcat - ApacheCon NA 2013
Managing Windows Systems with Puppet - PuppetConf 2013
Designing Puppet: Roles/Profiles Pattern
Transnational political identities
Simple Present
open data en overheidscommunicatie
แปลโดยพยัญชนะเรื่องพราหมณ์ชื่อว่า จูเฬกสาฎก๒
Ad

Similar to CoreOS 101 - EMC World 2015 (20)

PPTX
[FDD 2016] Marek Śledziński - Microsoft Windows a sprawa kontenerów
PPTX
Understanding the container landscape and it associated projects
PPTX
Docker Ecosystem on Azure
PPTX
Building Distributed Systems without Docker, Using Docker Plumbing Projects -...
PPTX
Introduction to Docker
PPTX
Accelerate your development with Docker
PDF
Accelerate your software development with Docker
PDF
Evolution of containers to kubernetes
PDF
CoreOS @Codetalks Hamburg
PPTX
Introduction to Docker
PDF
Docker Online Meetup #28: Production-Ready Docker Swarm
PDF
Scaling Docker with Kubernetes
PPTX
Containers and Cloud: From LXC to Docker to Kubernetes
PDF
Diving Through The Layers: Investigating runc, containerd, and the Docker eng...
PDF
Introduction to docker security
PDF
Docker London: Container Security
PDF
Containerized Delivery on the Microsoft Stack
PPTX
Quick Trip with Docker
PDF
Evoluation of Linux Container Virtualization
PDF
Evolution of Linux Containerization
[FDD 2016] Marek Śledziński - Microsoft Windows a sprawa kontenerów
Understanding the container landscape and it associated projects
Docker Ecosystem on Azure
Building Distributed Systems without Docker, Using Docker Plumbing Projects -...
Introduction to Docker
Accelerate your development with Docker
Accelerate your software development with Docker
Evolution of containers to kubernetes
CoreOS @Codetalks Hamburg
Introduction to Docker
Docker Online Meetup #28: Production-Ready Docker Swarm
Scaling Docker with Kubernetes
Containers and Cloud: From LXC to Docker to Kubernetes
Diving Through The Layers: Investigating runc, containerd, and the Docker eng...
Introduction to docker security
Docker London: Container Security
Containerized Delivery on the Microsoft Stack
Quick Trip with Docker
Evoluation of Linux Container Virtualization
Evolution of Linux Containerization

More from Jonas Rosland (15)

PPTX
Running stateful services in containers - ContainerDays Boston 2016
PDF
Docker and Containers overview - Docker Workshop
PPTX
VMworld 2015 San Francisco - INF5432 - Infrastructure as Code - Ban Snowflake...
PPTX
VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps i...
PPTX
DevOps at EMC NYC August 2015 - Modernize your apps to drive organizational e...
PPTX
Scale out data persistence for all your stateful container needs - Docker Mee...
PPTX
CIO Connect 2015 - Modernize your applications to drive organizational effici...
PDF
Docker Compose and Panamax - ContainerDays Boston - June 2015
PPTX
Open Source and EMC {code} Overview - June 2015
PPTX
Docker 101 - DevOps at EMC May 2015
PDF
2015 03-19-devops-toolkit-varrow-madness
PPTX
Docker and containers - For Boston Docker Meetup Workshop in March 2015
PPTX
vBrownbag 2013 June 4th - Puppet and Razor - Jonas Rosland
PPTX
PuppetCamp London 2013 - Automated OS and App deployment using Puppet and Raz...
PPTX
VMUG Sweden 2013-02-08 - Puppet and Razor
Running stateful services in containers - ContainerDays Boston 2016
Docker and Containers overview - Docker Workshop
VMworld 2015 San Francisco - INF5432 - Infrastructure as Code - Ban Snowflake...
VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps i...
DevOps at EMC NYC August 2015 - Modernize your apps to drive organizational e...
Scale out data persistence for all your stateful container needs - Docker Mee...
CIO Connect 2015 - Modernize your applications to drive organizational effici...
Docker Compose and Panamax - ContainerDays Boston - June 2015
Open Source and EMC {code} Overview - June 2015
Docker 101 - DevOps at EMC May 2015
2015 03-19-devops-toolkit-varrow-madness
Docker and containers - For Boston Docker Meetup Workshop in March 2015
vBrownbag 2013 June 4th - Puppet and Razor - Jonas Rosland
PuppetCamp London 2013 - Automated OS and App deployment using Puppet and Raz...
VMUG Sweden 2013-02-08 - Puppet and Razor

Recently uploaded (20)

PPTX
ai tools demonstartion for schools and inter college
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PDF
Digital Strategies for Manufacturing Companies
PDF
Nekopoi APK 2025 free lastest update
PPTX
Transform Your Business with a Software ERP System
PDF
top salesforce developer skills in 2025.pdf
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Understanding Forklifts - TECH EHS Solution
PDF
System and Network Administraation Chapter 3
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
ai tools demonstartion for schools and inter college
ManageIQ - Sprint 268 Review - Slide Deck
Digital Strategies for Manufacturing Companies
Nekopoi APK 2025 free lastest update
Transform Your Business with a Software ERP System
top salesforce developer skills in 2025.pdf
Design an Analysis of Algorithms I-SECS-1021-03
2025 Textile ERP Trends: SAP, Odoo & Oracle
Wondershare Filmora 15 Crack With Activation Key [2025
Operating system designcfffgfgggggggvggggggggg
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
How to Migrate SBCGlobal Email to Yahoo Easily
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Design an Analysis of Algorithms II-SECS-1021-03
Understanding Forklifts - TECH EHS Solution
System and Network Administraation Chapter 3
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)

CoreOS 101 - EMC World 2015