SlideShare uma empresa Scribd logo
1 de 14
Baixar para ler offline
Docker Deployments
Powerful for Developers, Painless for Ops
Thursday, June 12, 14
Zero to Liftoff
Had No Docker in Production
Launched our newest major
product (Insights) on it in
February
Launching several new apps
each month
HTTP://WWW.SPACE.COM/14720-MUOS-1-SATELLITE-LAUNCHES-ATLAS-5-ROCKET.HTML
Thursday, June 12, 14
Impending Dooooom
5 stable apps over several years, with little churn
Dev teams are doing their own ops but can’t have
access to everything
Everyone has access to all DB secrets
Deployment tooling is all hand-crafted (with a bird
on it)
WE COULDN’T SCALE THE STATUS QUO
Thursday, June 12, 14
MOAR Challenge
We’re doubling developer count every year
SOA: Adding up to 30 services in next 12 months
Early part of the year we launched major product:
Insights
Increasingly heterogeneous apps
ORGANIZATIONAL CHANGES
Thursday, June 12, 14
The Simplest Thing
PaaS would be great, but doesn’t fix our
immediate need
Solve deployment problem first, then logging, then
discovery and dynamic configuration
Start with standard web apps, not high volume
data apps: do the easiest things first
THAT COULD POSSIBLY WORK
Thursday, June 12, 14
Separate builds from deploys
Hand built docker files at first, then automated
configuration
Deployment via in-house tool (Centurion)
Health check end point, configs via ENV vars
What We Did
AND WHY
Thursday, June 12, 14
Builds based on standard base layers
Tool for automatic docker files (Shipright)
Retained Dockerfile flexibility
Lowering The Bar
AS IN HIGH JUMP NOT AS IN LIMBO
Thursday, June 12, 14
Centurion
Rake application with tasks and dependencies
Talk to a fleet of Docker servers at once
Does rolling deployment
Guarantees run environment
Extensible
CONTROLLED DEPLOYMENTS WITH DOCKER
Thursday, June 12, 14
DEMO
Thursday, June 12, 14
Productionize That Thing
Monitoring (check_docker)
Nagios
New Relic
MONITORING OH-MY
Thursday, June 12, 14
Configuration is in git (etcd soon)
Builds and deployments via jenkins
Debugging via ssh, Papertrail. (log routing soon)
Developers update dependencies at will
Test, staging, integration and production are
identical
Operating the Machine
WHAT WE DO NOW
Thursday, June 12, 14
Developers Love It
We expected resistance, instead we got
enthusiasm.
Telling developers to pull request against your
puppet repo is a world of hurt.
At a recent SOA kickoff devs were able to get
things up an running in hours instead of a week.
AND WE WERE SURPRISED?
Thursday, June 12, 14
A bright, shining future
Centralized configuration via etcd
Discovery through etcd, too
Dynamic allocation of hosts by Centurion
Dynamic Nagios, load balancing configs
Containerized high volume apps and databases.
WHERE TO FROM HERE?
Thursday, June 12, 14
Links
@poeslacker - Paul Showalter
@relistan - Karl Matthias
https://github.com/newrelic/check_docker
https://github.com/newrelic/go_nagios
https://github.com/newrelic/centurion
Thursday, June 12, 14

Mais conteúdo relacionado

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

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...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
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
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

Destaque

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Destaque (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

Docker Deployments: Powerful for Developers, Painless for Ops (DockerCon 2014)

  • 1. Docker Deployments Powerful for Developers, Painless for Ops Thursday, June 12, 14
  • 2. Zero to Liftoff Had No Docker in Production Launched our newest major product (Insights) on it in February Launching several new apps each month HTTP://WWW.SPACE.COM/14720-MUOS-1-SATELLITE-LAUNCHES-ATLAS-5-ROCKET.HTML Thursday, June 12, 14
  • 3. Impending Dooooom 5 stable apps over several years, with little churn Dev teams are doing their own ops but can’t have access to everything Everyone has access to all DB secrets Deployment tooling is all hand-crafted (with a bird on it) WE COULDN’T SCALE THE STATUS QUO Thursday, June 12, 14
  • 4. MOAR Challenge We’re doubling developer count every year SOA: Adding up to 30 services in next 12 months Early part of the year we launched major product: Insights Increasingly heterogeneous apps ORGANIZATIONAL CHANGES Thursday, June 12, 14
  • 5. The Simplest Thing PaaS would be great, but doesn’t fix our immediate need Solve deployment problem first, then logging, then discovery and dynamic configuration Start with standard web apps, not high volume data apps: do the easiest things first THAT COULD POSSIBLY WORK Thursday, June 12, 14
  • 6. Separate builds from deploys Hand built docker files at first, then automated configuration Deployment via in-house tool (Centurion) Health check end point, configs via ENV vars What We Did AND WHY Thursday, June 12, 14
  • 7. Builds based on standard base layers Tool for automatic docker files (Shipright) Retained Dockerfile flexibility Lowering The Bar AS IN HIGH JUMP NOT AS IN LIMBO Thursday, June 12, 14
  • 8. Centurion Rake application with tasks and dependencies Talk to a fleet of Docker servers at once Does rolling deployment Guarantees run environment Extensible CONTROLLED DEPLOYMENTS WITH DOCKER Thursday, June 12, 14
  • 10. Productionize That Thing Monitoring (check_docker) Nagios New Relic MONITORING OH-MY Thursday, June 12, 14
  • 11. Configuration is in git (etcd soon) Builds and deployments via jenkins Debugging via ssh, Papertrail. (log routing soon) Developers update dependencies at will Test, staging, integration and production are identical Operating the Machine WHAT WE DO NOW Thursday, June 12, 14
  • 12. Developers Love It We expected resistance, instead we got enthusiasm. Telling developers to pull request against your puppet repo is a world of hurt. At a recent SOA kickoff devs were able to get things up an running in hours instead of a week. AND WE WERE SURPRISED? Thursday, June 12, 14
  • 13. A bright, shining future Centralized configuration via etcd Discovery through etcd, too Dynamic allocation of hosts by Centurion Dynamic Nagios, load balancing configs Containerized high volume apps and databases. WHERE TO FROM HERE? Thursday, June 12, 14
  • 14. Links @poeslacker - Paul Showalter @relistan - Karl Matthias https://github.com/newrelic/check_docker https://github.com/newrelic/go_nagios https://github.com/newrelic/centurion Thursday, June 12, 14