SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Highly Available and
Distributed Containers
• Image 3
Kendrick Coleman
Developer Advocate
@kendrickcoleman
github.com/kacole2
3 of Y
4 of Y
5 of Y
A single car has about 30,000 parts, counting every part down to the smallest screws
6 of Y
In the beginning…
7 of Y
libNetwork
https://github.com/docker/libnetwork
8 of Y
• Swarm 1.0
– Required external Key/Value for scale and use with libNetwork
– Container restarts required additional flags
• Kubernetes
– https://github.com/kelseyhightower/kubernetes-the-hard-way
• Mesos
– Bring your own framework with specific syntax
Orchestration wasn’t easy
9 of Y
• Integration of SwarmKit
– https://github.com/docker/swarmkit
• Integrated into the Docker engine
• Desired state service declaration with reconciliation
• Decentralized service with managers and workers
• Multi-host networking with integrated service discovery and load balancing
• Rolling updates for services
• Secure by default using TLS mutual authentication and encrypted communication
Docker 1.12 with Swarm Mode
DEMO!
11 of Y
credit: LightBend (source: www.slideshare.net/Lightbend/the-6-traits-of-reactive-microservices)
12 of Y
hub.docker.com
7 of the top 12
require persistence
13 of Y
What's the problem?
• When I run a persistent
application in a container, where
does my data get stored?
– The container holds the data
directory and structure of the
entire application
– Optionally use local volumes
• Stateless applications work well
– nginx, httpd, kibana, haproxy,
memcached, solr, celery
$ docker run -v redisData:/data redis
redisData
/etc /var
/bin /opt
/data
14 of Y
What's the problem?
• Lose a container
– Lose the data
• Lose a server
– Lose the data
• Local data storage
– Failed hard drives or failed RAID
– Can not scale beyond the
physical limit of the server
/etc /var
/bin /opt
/data
15 of Y
Containers + EMC {code}
https://github.com/emccode/rexray
16 of Y
REX-Ray
github.com/emccode/rexray
• Integrations:
– Docker, Mesos, Marathon, Kubernetes
• Support for multiple storage platforms
– On-Prem:
› EMC ScaleIO, XtremIO, Isilon, VMAX
› Oracle VirtualBox
– Cloud:
› AWS
› GCE
› RackSpace/OpenStack Cinder
• Only solution to provide High Availability
• Open Source and in sync with Docker
development cycle
• Single binary with simple installation using
curl | sh and configured using 1 YAML file
17 of Y
Solving the problem
• Docker created a volume plugin
framework, allowing volume
plugins to receive API requests
from the Docker daemon to
perform storage operations
– Create/Mount/Unmount/Delete/Sn
apshot
$ docker run --volume-driver=rexray -v
redisData:/data redis
/redisData
/etc /var
/bin /opt
/data
18 of Y
Solving the problem
• Lose the container or lose the
server
– Data persists and remains in tact
on the remote storage platform
/etc /var
/bin /opt
/redisData
19 of Y
Solving the problem
• Attach the volume to a new
container on a different host
– Equivalent of a hard reset.
Application starts and resumes
from the last write to disk
– Container schedulers can
perform automated failover
• Scalability
– Application data can scale to the
maximum supported by the
storage platform
/etc /var
/bin /opt
/data /redisData
20 of Y
How it works
$ docker run
--volume-driver=rexray
-v redisData:/data
redis
redisData
/etc /var
/bin /opt
/data
Storage Platform
Persistent Volume
DEMO!
22 of Y
• What we learned
– Clustering, networking, and failover with persistent applications in containers is
easier than ever before
• Get Hands On!
– emccode.com
– github.com/emccode/rexray
– github.com/emccode/vagrant
Kendrick Coleman
Developer Advocate
@kendrickcoleman
github.com/kacole2
23 of Y
Who is {code}?
• Open Source initiative focused on next-
generation infrastructure
• Contribute to meaningful Open Source
Software (OSS) projects
• Create OSS integrations to keep EMC relevant
when container-based infrastructure enters a
conversation
• Driving awareness of OSS opportunities with
product teams
• Acting in the interest of building a community

Weitere ähnliche Inhalte

Was ist angesagt?

Dockercon 2015 - Persistent Data in a Microservices World
Dockercon 2015 - Persistent Data in a Microservices WorldDockercon 2015 - Persistent Data in a Microservices World
Dockercon 2015 - Persistent Data in a Microservices World
{code}
 
Hyper-V OpenStack Nova Compute
Hyper-V OpenStack Nova ComputeHyper-V OpenStack Nova Compute
Hyper-V OpenStack Nova Compute
Alessandro Pilotti
 

Was ist angesagt? (20)

Dockercon 2015 - Persistent Data in a Microservices World
Dockercon 2015 - Persistent Data in a Microservices WorldDockercon 2015 - Persistent Data in a Microservices World
Dockercon 2015 - Persistent Data in a Microservices World
 
EMC World 2016 - cnaITL.06 Containers are not Cloud Native
EMC World 2016 - cnaITL.06 Containers are not Cloud NativeEMC World 2016 - cnaITL.06 Containers are not Cloud Native
EMC World 2016 - cnaITL.06 Containers are not Cloud Native
 
EMC World 2016 - mioaITL.08 Infrastructure as Code: Not Your Parent's Data Ce...
EMC World 2016 - mioaITL.08 Infrastructure as Code: Not Your Parent's Data Ce...EMC World 2016 - mioaITL.08 Infrastructure as Code: Not Your Parent's Data Ce...
EMC World 2016 - mioaITL.08 Infrastructure as Code: Not Your Parent's Data Ce...
 
IDC Architecture 2016 - Devops and Open Source
IDC Architecture 2016 - Devops and Open SourceIDC Architecture 2016 - Devops and Open Source
IDC Architecture 2016 - Devops and Open Source
 
EMC World 2016 - Deep Dive with Mesos and Persistent Storage for Applications
EMC World 2016 - Deep Dive with Mesos and Persistent Storage for ApplicationsEMC World 2016 - Deep Dive with Mesos and Persistent Storage for Applications
EMC World 2016 - Deep Dive with Mesos and Persistent Storage for Applications
 
EMC World 2016 - code.01 Everything as Code - How did we get here?
EMC World 2016 - code.01 Everything as Code - How did we get here?EMC World 2016 - code.01 Everything as Code - How did we get here?
EMC World 2016 - code.01 Everything as Code - How did we get here?
 
Automating Your Data Center with RackHD - EMC World 2016
Automating Your Data Center with RackHD - EMC World 2016Automating Your Data Center with RackHD - EMC World 2016
Automating Your Data Center with RackHD - EMC World 2016
 
EMC World 2016 - cnaITL.04 Open Source has changed how you run Infrastructure
EMC World 2016 - cnaITL.04 Open Source has changed how you run InfrastructureEMC World 2016 - cnaITL.04 Open Source has changed how you run Infrastructure
EMC World 2016 - cnaITL.04 Open Source has changed how you run Infrastructure
 
EMC World 2016 - code.03 Introduction to Containers
EMC World 2016 - code.03 Introduction to ContainersEMC World 2016 - code.03 Introduction to Containers
EMC World 2016 - code.03 Introduction to Containers
 
EMC World 2016 - code.04 Extending Mesos for Storage and External Resources
EMC World 2016 - code.04 Extending Mesos for Storage and External ResourcesEMC World 2016 - code.04 Extending Mesos for Storage and External Resources
EMC World 2016 - code.04 Extending Mesos for Storage and External Resources
 
EMC World 2016 - code.09 Introduction to the Docker Platform
EMC World 2016 - code.09 Introduction to the Docker PlatformEMC World 2016 - code.09 Introduction to the Docker Platform
EMC World 2016 - code.09 Introduction to the Docker Platform
 
EMC World 2016 - code.10 Jumpstart your Open Source Presence through new Coll...
EMC World 2016 - code.10 Jumpstart your Open Source Presence through new Coll...EMC World 2016 - code.10 Jumpstart your Open Source Presence through new Coll...
EMC World 2016 - code.10 Jumpstart your Open Source Presence through new Coll...
 
EMC World 2016 - code.07 Resiliency and Availability of a Cloud Native Infras...
EMC World 2016 - code.07 Resiliency and Availability of a Cloud Native Infras...EMC World 2016 - code.07 Resiliency and Availability of a Cloud Native Infras...
EMC World 2016 - code.07 Resiliency and Availability of a Cloud Native Infras...
 
Running stateful services in containers - ContainerDays Boston 2016
Running stateful services in containers - ContainerDays Boston 2016Running stateful services in containers - ContainerDays Boston 2016
Running stateful services in containers - ContainerDays Boston 2016
 
EMC & OpenStack: A View From Within
EMC & OpenStack: A View From WithinEMC & OpenStack: A View From Within
EMC & OpenStack: A View From Within
 
Deploying Containers in Production and at Scale
Deploying Containers in Production and at ScaleDeploying Containers in Production and at Scale
Deploying Containers in Production and at Scale
 
Hyper-V OpenStack Nova Compute
Hyper-V OpenStack Nova ComputeHyper-V OpenStack Nova Compute
Hyper-V OpenStack Nova Compute
 
Containers and security
Containers and securityContainers and security
Containers and security
 
CoreOS 101 - EMC World 2015
CoreOS 101 - EMC World 2015CoreOS 101 - EMC World 2015
CoreOS 101 - EMC World 2015
 
OpenStack QA Tooling & How to use it for Production Cloud Testing | Ghanshyam...
OpenStack QA Tooling & How to use it for Production Cloud Testing | Ghanshyam...OpenStack QA Tooling & How to use it for Production Cloud Testing | Ghanshyam...
OpenStack QA Tooling & How to use it for Production Cloud Testing | Ghanshyam...
 

Ähnlich wie Highly Available And Distributed Containers - ContainerCon NA 2016

IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...
IBM France Lab
 

Ähnlich wie Highly Available And Distributed Containers - ContainerCon NA 2016 (20)

Storage Integrations for Container Orchestrators
Storage Integrations for Container OrchestratorsStorage Integrations for Container Orchestrators
Storage Integrations for Container Orchestrators
 
Docker Containers Deep Dive
Docker Containers Deep DiveDocker Containers Deep Dive
Docker Containers Deep Dive
 
Orchestrating Linux Containers while tolerating failures
Orchestrating Linux Containers while tolerating failuresOrchestrating Linux Containers while tolerating failures
Orchestrating Linux Containers while tolerating failures
 
Docker and kubernetes_introduction
Docker and kubernetes_introductionDocker and kubernetes_introduction
Docker and kubernetes_introduction
 
Introductio to Docker and usage in HPC applications
Introductio to Docker and usage in HPC applicationsIntroductio to Docker and usage in HPC applications
Introductio to Docker and usage in HPC applications
 
Docker and Microservice
Docker and MicroserviceDocker and Microservice
Docker and Microservice
 
Docker Container Security
Docker Container SecurityDocker Container Security
Docker Container Security
 
Docker Seattle Meetup April 2015 - The Docker Orchestration Ecosystem on Azure
Docker Seattle Meetup April 2015 - The Docker Orchestration Ecosystem on AzureDocker Seattle Meetup April 2015 - The Docker Orchestration Ecosystem on Azure
Docker Seattle Meetup April 2015 - The Docker Orchestration Ecosystem on Azure
 
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...
 
Docker Fundamental course - linkedin
Docker Fundamental course - linkedinDocker Fundamental course - linkedin
Docker Fundamental course - linkedin
 
Docker Overview - Rise of the Containers
Docker Overview - Rise of the ContainersDocker Overview - Rise of the Containers
Docker Overview - Rise of the Containers
 
Bug smash day magnum
Bug smash day magnumBug smash day magnum
Bug smash day magnum
 
Bug smash day magnum
Bug smash day magnumBug smash day magnum
Bug smash day magnum
 
Docker New York Meetup May 2015 - The Docker Orchestration Ecosystem on Azure
Docker New York Meetup May 2015 - The Docker Orchestration Ecosystem on Azure Docker New York Meetup May 2015 - The Docker Orchestration Ecosystem on Azure
Docker New York Meetup May 2015 - The Docker Orchestration Ecosystem on Azure
 
stackconf 2020 | Replace your Docker based Containers with Cri-o Kata Contain...
stackconf 2020 | Replace your Docker based Containers with Cri-o Kata Contain...stackconf 2020 | Replace your Docker based Containers with Cri-o Kata Contain...
stackconf 2020 | Replace your Docker based Containers with Cri-o Kata Contain...
 
An Introduction to Kubernetes and Continuous Delivery Fundamentals
An Introduction to Kubernetes and Continuous Delivery FundamentalsAn Introduction to Kubernetes and Continuous Delivery Fundamentals
An Introduction to Kubernetes and Continuous Delivery Fundamentals
 
Docker and CloudStack
Docker and CloudStackDocker and CloudStack
Docker and CloudStack
 
Improving Development and Deployment with Docker
Improving Development and Deployment with DockerImproving Development and Deployment with Docker
Improving Development and Deployment with Docker
 
Kubernetes: https://youtu.be/KnjnQj-FvfQ
Kubernetes: https://youtu.be/KnjnQj-FvfQKubernetes: https://youtu.be/KnjnQj-FvfQ
Kubernetes: https://youtu.be/KnjnQj-FvfQ
 
Practical guide to Oracle Virtual environments
Practical guide to Oracle Virtual environmentsPractical guide to Oracle Virtual environments
Practical guide to Oracle Virtual environments
 

Mehr von {code}

Mehr von {code} (9)

Open Source is Good for Both Business and Humanity - DockerCon 2016
Open Source is Good for Both Business and Humanity - DockerCon 2016 Open Source is Good for Both Business and Humanity - DockerCon 2016
Open Source is Good for Both Business and Humanity - DockerCon 2016
 
Managing a large open source community - OSCON 2016
Managing a large open source community - OSCON 2016Managing a large open source community - OSCON 2016
Managing a large open source community - OSCON 2016
 
EMC World 2016 - code.12 Managing a Large Open Source community at EMC and Do...
EMC World 2016 - code.12 Managing a Large Open Source community at EMC and Do...EMC World 2016 - code.12 Managing a Large Open Source community at EMC and Do...
EMC World 2016 - code.12 Managing a Large Open Source community at EMC and Do...
 
EMC World 2016 - code.11 Intimidate me not - How to Contribute to Large Open ...
EMC World 2016 - code.11 Intimidate me not - How to Contribute to Large Open ...EMC World 2016 - code.11 Intimidate me not - How to Contribute to Large Open ...
EMC World 2016 - code.11 Intimidate me not - How to Contribute to Large Open ...
 
EMC World 2016 - code.05 Automating your Physical Data Center with RackHD
EMC World 2016 - code.05 Automating your Physical Data Center with RackHDEMC World 2016 - code.05 Automating your Physical Data Center with RackHD
EMC World 2016 - code.05 Automating your Physical Data Center with RackHD
 
EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified
EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS DemystifiedEMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified
EMC World 2016 - cnaITL.05 Unstructured and Structured PaaS Demystified
 
EMC World 2016 - cnaITL.01 Adopting An Open Source Strategy
EMC World 2016 - cnaITL.01 Adopting An Open Source StrategyEMC World 2016 - cnaITL.01 Adopting An Open Source Strategy
EMC World 2016 - cnaITL.01 Adopting An Open Source Strategy
 
Docker 1.9 Workshop
Docker 1.9 WorkshopDocker 1.9 Workshop
Docker 1.9 Workshop
 
EMC {code} 2.0 - Charter, Principles, and Execution
EMC {code} 2.0 - Charter, Principles, and ExecutionEMC {code} 2.0 - Charter, Principles, and Execution
EMC {code} 2.0 - Charter, Principles, and Execution
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Kürzlich hochgeladen (20)

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
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
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?
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
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...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 

Highly Available And Distributed Containers - ContainerCon NA 2016

  • 1. Highly Available and Distributed Containers • Image 3 Kendrick Coleman Developer Advocate @kendrickcoleman github.com/kacole2
  • 2.
  • 5. 5 of Y A single car has about 30,000 parts, counting every part down to the smallest screws
  • 6. 6 of Y In the beginning…
  • 8. 8 of Y • Swarm 1.0 – Required external Key/Value for scale and use with libNetwork – Container restarts required additional flags • Kubernetes – https://github.com/kelseyhightower/kubernetes-the-hard-way • Mesos – Bring your own framework with specific syntax Orchestration wasn’t easy
  • 9. 9 of Y • Integration of SwarmKit – https://github.com/docker/swarmkit • Integrated into the Docker engine • Desired state service declaration with reconciliation • Decentralized service with managers and workers • Multi-host networking with integrated service discovery and load balancing • Rolling updates for services • Secure by default using TLS mutual authentication and encrypted communication Docker 1.12 with Swarm Mode
  • 10. DEMO!
  • 11. 11 of Y credit: LightBend (source: www.slideshare.net/Lightbend/the-6-traits-of-reactive-microservices)
  • 12. 12 of Y hub.docker.com 7 of the top 12 require persistence
  • 13. 13 of Y What's the problem? • When I run a persistent application in a container, where does my data get stored? – The container holds the data directory and structure of the entire application – Optionally use local volumes • Stateless applications work well – nginx, httpd, kibana, haproxy, memcached, solr, celery $ docker run -v redisData:/data redis redisData /etc /var /bin /opt /data
  • 14. 14 of Y What's the problem? • Lose a container – Lose the data • Lose a server – Lose the data • Local data storage – Failed hard drives or failed RAID – Can not scale beyond the physical limit of the server /etc /var /bin /opt /data
  • 15. 15 of Y Containers + EMC {code} https://github.com/emccode/rexray
  • 16. 16 of Y REX-Ray github.com/emccode/rexray • Integrations: – Docker, Mesos, Marathon, Kubernetes • Support for multiple storage platforms – On-Prem: › EMC ScaleIO, XtremIO, Isilon, VMAX › Oracle VirtualBox – Cloud: › AWS › GCE › RackSpace/OpenStack Cinder • Only solution to provide High Availability • Open Source and in sync with Docker development cycle • Single binary with simple installation using curl | sh and configured using 1 YAML file
  • 17. 17 of Y Solving the problem • Docker created a volume plugin framework, allowing volume plugins to receive API requests from the Docker daemon to perform storage operations – Create/Mount/Unmount/Delete/Sn apshot $ docker run --volume-driver=rexray -v redisData:/data redis /redisData /etc /var /bin /opt /data
  • 18. 18 of Y Solving the problem • Lose the container or lose the server – Data persists and remains in tact on the remote storage platform /etc /var /bin /opt /redisData
  • 19. 19 of Y Solving the problem • Attach the volume to a new container on a different host – Equivalent of a hard reset. Application starts and resumes from the last write to disk – Container schedulers can perform automated failover • Scalability – Application data can scale to the maximum supported by the storage platform /etc /var /bin /opt /data /redisData
  • 20. 20 of Y How it works $ docker run --volume-driver=rexray -v redisData:/data redis redisData /etc /var /bin /opt /data Storage Platform Persistent Volume
  • 21. DEMO!
  • 22. 22 of Y • What we learned – Clustering, networking, and failover with persistent applications in containers is easier than ever before • Get Hands On! – emccode.com – github.com/emccode/rexray – github.com/emccode/vagrant Kendrick Coleman Developer Advocate @kendrickcoleman github.com/kacole2
  • 23. 23 of Y Who is {code}? • Open Source initiative focused on next- generation infrastructure • Contribute to meaningful Open Source Software (OSS) projects • Create OSS integrations to keep EMC relevant when container-based infrastructure enters a conversation • Driving awareness of OSS opportunities with product teams • Acting in the interest of building a community

Hinweis der Redaktion

  1. Operated by a steering wheel and two pedals
  2. so what types of applications run in containers.. we just showed you a simple proxy in the first demo. But we at EMC {code} view the container as the next unit of infrastructure. We believe you can easily transition from a Virtual Machine first policy to container first. so benefits of containers stretch to all types of applications Here are the top 12 applications as reported by docker being downloaded from Docker Hub. 7 of these require a level of persistence to survive container failures or restarts. You have databases like Mongo and Postgres but also applications like Wordpress.
  3. In this example, our application is storing data in “/mydata”
  4. In this example, our application is storing data in “/mydata”
  5. The first project EMC {code} created to integrate storage to Docker is Project REX-Ray.
  6. There are many benefits of using REX-Ray in a container environment, and many of our customers are already using it for their container environments. We have also seen several other companies embrace and integrate REX-Ray into their commercial container management platforms.
  7. In this example, our application is storing data in “/mydata”
  8. First, a few things about the team that has made this possible. The EMC {code} team is a team made up of open source software engineers and developer advocates, focused on making EMC a well-known name within the open source community. We will focus on one of their projects, REX-Ray, in this presentation.