🗊Презентация Running Your Services On Docker

Категория: Интернет
Нажмите для полного просмотра!
Running Your Services On Docker, слайд №1Running Your Services On Docker, слайд №2Running Your Services On Docker, слайд №3Running Your Services On Docker, слайд №4Running Your Services On Docker, слайд №5Running Your Services On Docker, слайд №6Running Your Services On Docker, слайд №7Running Your Services On Docker, слайд №8Running Your Services On Docker, слайд №9Running Your Services On Docker, слайд №10Running Your Services On Docker, слайд №11Running Your Services On Docker, слайд №12Running Your Services On Docker, слайд №13Running Your Services On Docker, слайд №14Running Your Services On Docker, слайд №15Running Your Services On Docker, слайд №16Running Your Services On Docker, слайд №17Running Your Services On Docker, слайд №18Running Your Services On Docker, слайд №19Running Your Services On Docker, слайд №20Running Your Services On Docker, слайд №21Running Your Services On Docker, слайд №22Running Your Services On Docker, слайд №23Running Your Services On Docker, слайд №24Running Your Services On Docker, слайд №25Running Your Services On Docker, слайд №26Running Your Services On Docker, слайд №27Running Your Services On Docker, слайд №28Running Your Services On Docker, слайд №29Running Your Services On Docker, слайд №30Running Your Services On Docker, слайд №31Running Your Services On Docker, слайд №32Running Your Services On Docker, слайд №33Running Your Services On Docker, слайд №34Running Your Services On Docker, слайд №35Running Your Services On Docker, слайд №36Running Your Services On Docker, слайд №37Running Your Services On Docker, слайд №38Running Your Services On Docker, слайд №39Running Your Services On Docker, слайд №40Running Your Services On Docker, слайд №41Running Your Services On Docker, слайд №42Running Your Services On Docker, слайд №43Running Your Services On Docker, слайд №44

Содержание

Вы можете ознакомиться и скачать презентацию на тему Running Your Services On Docker. Доклад-сообщение содержит 44 слайдов. Презентации для любого класса можно скачать бесплатно. Если материал и наш сайт презентаций Mypresentation Вам понравились – поделитесь им с друзьями с помощью социальных кнопок и добавьте в закладки в своем браузере.

Слайды и текст этой презентации


Слайд 1





Running Your Services On Docker
Running Your Services On Docker
Описание слайда:
Running Your Services On Docker Running Your Services On Docker

Слайд 2





Who Am I?
Robert Bastian
Director, Platform and Architecture at Drillinginfo
20+ years industry experience in Telcos, Gaming and Energy
I love APIs and services!
Agile and DevOps advocate
Описание слайда:
Who Am I? Robert Bastian Director, Platform and Architecture at Drillinginfo 20+ years industry experience in Telcos, Gaming and Energy I love APIs and services! Agile and DevOps advocate

Слайд 3





Why Docker?
My World Needed To Change
5+ individual teams building “micro services” in Java and Scala
Frictionless deployment of “micro-services” using Chef & AWS
25+ separate “micro-services” deployed in the previous 18 months
Each service is typically deployed to a single AWS virtual machine
Each service is deployed 6x - dev, test, staging (2x) and production (2x)
25+ “micro-services” became nearly 150 AWS virtual machines
Описание слайда:
Why Docker? My World Needed To Change 5+ individual teams building “micro services” in Java and Scala Frictionless deployment of “micro-services” using Chef & AWS 25+ separate “micro-services” deployed in the previous 18 months Each service is typically deployed to a single AWS virtual machine Each service is deployed 6x - dev, test, staging (2x) and production (2x) 25+ “micro-services” became nearly 150 AWS virtual machines

Слайд 4





Why Docker? COST!
The AWS bill is too damn high!
Decline in the global price of oil causing churn in our business
6 AWS virtual machines per service isn’t sustainable with our budget
AWS monthly bill started to gain visibility from sr. management and the board
Описание слайда:
Why Docker? COST! The AWS bill is too damn high! Decline in the global price of oil causing churn in our business 6 AWS virtual machines per service isn’t sustainable with our budget AWS monthly bill started to gain visibility from sr. management and the board

Слайд 5





Why Docker? WASTE!
We weren’t using the compute and memory resources purchased from AMZN!
Nearly all “micro-services” were at 1% CPU utilization
Nearly all “micro-services’ were only using 40% of memory (JVM)
150+ virtual machines essentially sitting idle
Описание слайда:
Why Docker? WASTE! We weren’t using the compute and memory resources purchased from AMZN! Nearly all “micro-services” were at 1% CPU utilization Nearly all “micro-services’ were only using 40% of memory (JVM) 150+ virtual machines essentially sitting idle

Слайд 6





Why Docker? LOCK IN!
How would we leave AMZN if we wanted to?
Could we use Drillinginfo IT’s Openstack platform?
What about alternate IaaS providers like Rackspace or Azure?
What about Container as a Service (CaaS) providers like Joyent, Tutum or Profitbricks?
What about using Amazon’s Container Service?
Описание слайда:
Why Docker? LOCK IN! How would we leave AMZN if we wanted to? Could we use Drillinginfo IT’s Openstack platform? What about alternate IaaS providers like Rackspace or Azure? What about Container as a Service (CaaS) providers like Joyent, Tutum or Profitbricks? What about using Amazon’s Container Service?

Слайд 7





My World Needs To Change - Problem Statement
“How can we deploy fewer virtual machines while increasing the density and utilization of services per machine without locking us into a specific IaaS provider?”
Описание слайда:
My World Needs To Change - Problem Statement “How can we deploy fewer virtual machines while increasing the density and utilization of services per machine without locking us into a specific IaaS provider?”

Слайд 8





How Docker Solves All The Problems
Описание слайда:
How Docker Solves All The Problems

Слайд 9





Docker Containers - Shipping Matrix From Hell
Описание слайда:
Docker Containers - Shipping Matrix From Hell

Слайд 10





Docker Containers - Standard Shipping Container
Описание слайда:
Docker Containers - Standard Shipping Container

Слайд 11





What’s Inside Doesn’t Matter
Описание слайда:
What’s Inside Doesn’t Matter

Слайд 12





Why Docker Is Important - Before Containers
Описание слайда:
Why Docker Is Important - Before Containers

Слайд 13





Why Docker Is Important - After Containers
Описание слайда:
Why Docker Is Important - After Containers

Слайд 14





Why Is Docker Important?
Docker container technology provides our “micro-services” platform:
Increased density of isolated “micro-services” per virtual machine (9:1!)
Containerized “micro-services” are portable across machines and providers
Containerized “micro-services” are much faster than virtual machines
Описание слайда:
Why Is Docker Important? Docker container technology provides our “micro-services” platform: Increased density of isolated “micro-services” per virtual machine (9:1!) Containerized “micro-services” are portable across machines and providers Containerized “micro-services” are much faster than virtual machines

Слайд 15





Containers Alone Aren’t Enough
Описание слайда:
Containers Alone Aren’t Enough

Слайд 16





But Containers Aren’t Enough!
Running containerized “micro-services” in production requires much more than just Docker. 
It requires a “Platform” that can do the following:
Building and pushing Docker images to an image repository
Pulling images, provisioning and scheduling containers
Discovering and binding to services running as containers
Containers discovering and binding to other containers
Operating and managing services in containers
Описание слайда:
But Containers Aren’t Enough! Running containerized “micro-services” in production requires much more than just Docker. It requires a “Platform” that can do the following: Building and pushing Docker images to an image repository Pulling images, provisioning and scheduling containers Discovering and binding to services running as containers Containers discovering and binding to other containers Operating and managing services in containers

Слайд 17





Drillinginfo Docker Platform: Build & Store Images
Описание слайда:
Drillinginfo Docker Platform: Build & Store Images

Слайд 18





Drillinginfo Docker Platform: Jenkins & Dockerhub
Problem: How do we build images? Jenkins automates the image builds.
We started building our images with Ubuntu 14.04 (1GB)
We settled on Alpine, a minimal linux distribution (5MB)
Typical “micro-services” now ~ 390MB
Problem: Where do we put them? Dockerhub.
Tried Docker Trusted Registry and Core OS Enterprise Registry
Settled on using Dockerhub 
Use latest and sem-ver tags on our images
Описание слайда:
Drillinginfo Docker Platform: Jenkins & Dockerhub Problem: How do we build images? Jenkins automates the image builds. We started building our images with Ubuntu 14.04 (1GB) We settled on Alpine, a minimal linux distribution (5MB) Typical “micro-services” now ~ 390MB Problem: Where do we put them? Dockerhub. Tried Docker Trusted Registry and Core OS Enterprise Registry Settled on using Dockerhub Use latest and sem-ver tags on our images

Слайд 19





Drillinginfo Docker Platform: Provisioning, Scheduling
Описание слайда:
Drillinginfo Docker Platform: Provisioning, Scheduling

Слайд 20





Drillinginfo Docker Platform - Chef
Problem: How do we determine which host to run a container on and how do we configure and start the container?
We solve scheduling and provisioning with Chef.
Chef schedules containers on specific hosts using Chef roles
Chef provisions and configures containers using Chef recipes and environments
Each “micro-service” has an associated Chef recipe that converts Chef attributes into container environment variables
Описание слайда:
Drillinginfo Docker Platform - Chef Problem: How do we determine which host to run a container on and how do we configure and start the container? We solve scheduling and provisioning with Chef. Chef schedules containers on specific hosts using Chef roles Chef provisions and configures containers using Chef recipes and environments Each “micro-service” has an associated Chef recipe that converts Chef attributes into container environment variables

Слайд 21





Drillinginfo Docker Platform: Service Directory
Описание слайда:
Drillinginfo Docker Platform: Service Directory

Слайд 22





Drillinginfo Docker Platform - Consul
Problem: How do our browser applications locate service containers?
We use Hashicorp’s Consul as our service directory.
Containers automatically register themselves with Consul when started.
The Docker daemon emits real-time lifecycle events for container start
We use a utility container called Registrator to automate the registration of “micro-service” containers with Consul
Containers are registered with a health check that Consul polls to determine the health of the container
Описание слайда:
Drillinginfo Docker Platform - Consul Problem: How do our browser applications locate service containers? We use Hashicorp’s Consul as our service directory. Containers automatically register themselves with Consul when started. The Docker daemon emits real-time lifecycle events for container start We use a utility container called Registrator to automate the registration of “micro-service” containers with Consul Containers are registered with a health check that Consul polls to determine the health of the container

Слайд 23





Drillinginfo Docker Platform: Service Discovery
Описание слайда:
Drillinginfo Docker Platform: Service Discovery

Слайд 24





Drillinginfo Docker Platform - Consul Template
Problem: How do our browser applications use services deployed in containers?
We use Hashicorp’s Consul Template for service discovery and Varnish for load balancing.
Consul Template detects containers in Consul and updates Varnish configuration
Consul Template participates in the Consul cluster using Consul Client
Consul Template automatically adds healthy containers and removes sick containers from the Varnish load balancer by updating Varnish configuration
Browser applications use Varnish routes to reach services running in containers
Описание слайда:
Drillinginfo Docker Platform - Consul Template Problem: How do our browser applications use services deployed in containers? We use Hashicorp’s Consul Template for service discovery and Varnish for load balancing. Consul Template detects containers in Consul and updates Varnish configuration Consul Template participates in the Consul cluster using Consul Client Consul Template automatically adds healthy containers and removes sick containers from the Varnish load balancer by updating Varnish configuration Browser applications use Varnish routes to reach services running in containers

Слайд 25





Drillinginfo Docker Platform: Container Dependencies
Описание слайда:
Drillinginfo Docker Platform: Container Dependencies

Слайд 26





Drillinginfo Docker Platform - Service Proxy
Problem: How can containers find their containerized dependencies on the same host and different hosts?
We use Consul, Nginx and Consul Template to implement a “Service Proxy” for inter and intra-host container communication.
We built a utility container called “Service Proxy” that uses Consul’s service directory to locate a container's ip address and port
“Service Proxy” then uses Consul Template to create an nginx.conf with load balanced routes for each service container
Docker Links work for intra-host dependencies but with a gotcha
Описание слайда:
Drillinginfo Docker Platform - Service Proxy Problem: How can containers find their containerized dependencies on the same host and different hosts? We use Consul, Nginx and Consul Template to implement a “Service Proxy” for inter and intra-host container communication. We built a utility container called “Service Proxy” that uses Consul’s service directory to locate a container's ip address and port “Service Proxy” then uses Consul Template to create an nginx.conf with load balanced routes for each service container Docker Links work for intra-host dependencies but with a gotcha

Слайд 27





Drillinginfo Docker Platform: Operations & Monitoring
Описание слайда:
Drillinginfo Docker Platform: Operations & Monitoring

Слайд 28





Drillinginfo Docker Platform - Operations & Monitoring
Problem: How do we monitor containers and notify and escalate when containerized services aren’t healthy?
We use Uptime and VictorOps monitor our containerized services.
A utility container monitors Docker container lifecycle events and automatically registers a service check with Uptime when a container starts
Uptime service interruptions to VictorOps for on-call scheduling, paging and escalation
Описание слайда:
Drillinginfo Docker Platform - Operations & Monitoring Problem: How do we monitor containers and notify and escalate when containerized services aren’t healthy? We use Uptime and VictorOps monitor our containerized services. A utility container monitors Docker container lifecycle events and automatically registers a service check with Uptime when a container starts Uptime service interruptions to VictorOps for on-call scheduling, paging and escalation

Слайд 29





Drillinginfo Docker Platform: Operations & Monitoring
Описание слайда:
Drillinginfo Docker Platform: Operations & Monitoring

Слайд 30





Drillinginfo Docker Platform - Operations & Monitoring
Problem: How do we monitor our Docker host’s resource usage?
We use Datadog to monitor the Docker host utilization and the service’s metrics.
Datadog helps us visualize the resource usage on a host
Datadog helps us understand how our services are performing
Datadog helps us understand how to “pack” containers onto hosts by exposing the current utilization of CPU and memory resources on the host
Описание слайда:
Drillinginfo Docker Platform - Operations & Monitoring Problem: How do we monitor our Docker host’s resource usage? We use Datadog to monitor the Docker host utilization and the service’s metrics. Datadog helps us visualize the resource usage on a host Datadog helps us understand how our services are performing Datadog helps us understand how to “pack” containers onto hosts by exposing the current utilization of CPU and memory resources on the host

Слайд 31





Drillinginfo Docker Platform - Overview
Описание слайда:
Drillinginfo Docker Platform - Overview

Слайд 32





Drillinginfo Docker Platform - Wrap Up
The Docker container technology and the Drillinginfo Docker Platform provide our “micro-services” infrastructure the following benefits:
Reduced cost for IaaS hosting 
Reduced waste of virtual machine resources
Standardized deployment mechanism for “micro-services”
Standardized service directory, service discovery
Standardized metrics dashboards, monitoring and alerting
Описание слайда:
Drillinginfo Docker Platform - Wrap Up The Docker container technology and the Drillinginfo Docker Platform provide our “micro-services” infrastructure the following benefits: Reduced cost for IaaS hosting Reduced waste of virtual machine resources Standardized deployment mechanism for “micro-services” Standardized service directory, service discovery Standardized metrics dashboards, monitoring and alerting

Слайд 33





Drillinginfo Docker Platform - Future
Chef has gotten us where we are today but not where we want to be.
Container orchestration
Host provisioning and pooling
Описание слайда:
Drillinginfo Docker Platform - Future Chef has gotten us where we are today but not where we want to be. Container orchestration Host provisioning and pooling

Слайд 34





Drillinginfo Docker Platform - Orchestration
Docker Compose will replace Chef roles defining the “micro-services” deployed on our platform and which Docker host they run on.
The Docker Compose YAML file:
Defines which containerized “micro-services” run on which host
Define the environment variables for each container
I believe that IaaS providers will standardize on Docker Compose for container orchestration.
Описание слайда:
Drillinginfo Docker Platform - Orchestration Docker Compose will replace Chef roles defining the “micro-services” deployed on our platform and which Docker host they run on. The Docker Compose YAML file: Defines which containerized “micro-services” run on which host Define the environment variables for each container I believe that IaaS providers will standardize on Docker Compose for container orchestration.

Слайд 35





Drillinginfo Docker Platform - Provisioning & Pooling
Docker Machine will replace Chef for provisioning virtual machines with Docker.
Docker Machine automates the provisioning of Docker hosts
Docker Swarm will replace Chef for scheduling containers on a host.
Swarm combines Docker Machines into a single pool of compute and memory resources
Swarm provides container scheduling and supports plug-in schedulers
Docker Compose will define all the containers that run on the Swarm
Описание слайда:
Drillinginfo Docker Platform - Provisioning & Pooling Docker Machine will replace Chef for provisioning virtual machines with Docker. Docker Machine automates the provisioning of Docker hosts Docker Swarm will replace Chef for scheduling containers on a host. Swarm combines Docker Machines into a single pool of compute and memory resources Swarm provides container scheduling and supports plug-in schedulers Docker Compose will define all the containers that run on the Swarm

Слайд 36





Running Your Services On Docker: Thank You!
Questions?
Описание слайда:
Running Your Services On Docker: Thank You! Questions?

Слайд 37





Contact Info
Please feel free to contact me with any additional questions or comments!
Email: robert.bastian@drillinginfo.com
LinkedIn: rbastian
Twitter: @rbastian
Описание слайда:
Contact Info Please feel free to contact me with any additional questions or comments! Email: robert.bastian@drillinginfo.com LinkedIn: rbastian Twitter: @rbastian

Слайд 38





Running Your Services On Docker - Links
https://www.docker.com/
https://hub.docker.com/
https://jenkins-ci.org/
https://www.chef.io
https://www.consul.io/
https://github.com/gliderlabs/registrator
https://hashicorp.com/blog/introducing-consul-template.html
Описание слайда:
Running Your Services On Docker - Links https://www.docker.com/ https://hub.docker.com/ https://jenkins-ci.org/ https://www.chef.io https://www.consul.io/ https://github.com/gliderlabs/registrator https://hashicorp.com/blog/introducing-consul-template.html

Слайд 39


Running Your Services On Docker, слайд №39
Описание слайда:

Слайд 40





Synerzip in a Nutshell
Описание слайда:
Synerzip in a Nutshell

Слайд 41





Synerzip Clients
Описание слайда:
Synerzip Clients

Слайд 42





Next Webinar
Описание слайда:
Next Webinar

Слайд 43





Connect with Synerzip
Описание слайда:
Connect with Synerzip

Слайд 44





Running Your Services On Docker: Thank You!
Questions?
Описание слайда:
Running Your Services On Docker: Thank You! Questions?



Похожие презентации
Mypresentation.ru
Загрузить презентацию