SlideShare a Scribd company logo
Taking the Helm - Ancestry’s
Journey to Kubernetes
Paul MacKay, Software Engineer
Our Journey
Where we come from.
What we have learned along the way.
Where we are in the journey.
Where we come from.
We’re a science and technology company with a very
human mission.
Data drives our business
• 20 billion historical records
• 90 million family trees
• 10 billion profiles
• 175 million shareable photos, documents and written stories
• 9 petabytes of data
• 4 million members in the AncestryDNA® network
• 37 million 3rd cousin or closer matches
Technologies
Microsoft Windows ®
C# .NET ®
SQL Server®, IIS, MSMQ, TFS, etc.
Java, Node.js, Python running on Linux
Private data center
1,000s of servers/VMs running 100s of services
REST-based macro to micro size services
Deployment Processes
Continuous integration/deployment
Deployment management tools
Virtual Machines
Typically one (macro/micro) service per VM
Long deployment times to roll services to production
20-50 minutes
How Our Journey Started to Change
Began experimenting with Docker.
Docker Compose
Created a “Docker agent” for remote deployment.
Demonstrated how easy it is to deploy and scale up services.
Deployment times drastically reduced from current methods.
Easier to deploy services of any size (macro to micro)
Showed greater density using current computing resources.
Created and deployed our own micro services using Docker.
What we learned along the way.
Adopting New Technologies is Hard
Developers are comfortable with how things are done today.
We think it is faster doing it the “old” way.
It is hard to see the advantages of changing to something new.
Change has real cost.
Change takes time away from developing new features.
Change is disruptive to schedules.
Early Discoveries
Many opinions about the appropriate size of a service.
Normal Linux distros are just too big.
Not specifically built for Docker.
Too large of a footprint.
Too many packages to keep updated.
Docker is best supported on newer Linux kernels.
Need to train Windows developers Linux concepts/tools.
The size of a service cannot be dictated
Container orchestration is hard to do it right.
Adopting New Technologies or Paradigms
Understand current technologies, processes and paradigms.
Need a “patron”.
Own something “to be real”.
Create a partnership with pilot teams and be agile.
Determining the Size of a Service
Be pragmatic; do not break up a service just to break up a service.
Remember the cost of managing many services.
Network latencies
Many things to worry about (e.g. monitoring, coordinated deployments, scaling)
Ask, “will this really be used independently by other services?”
Does it make sense for the service to exist by itself
Be pragmatic, not dogmatic.
Linux Built for Containers
Running containers is a first-class citizen
Updates are holistic
Can be automatically pushed to machines.
Can easily revert back to the previous version.
Less is more
Fewer packages means fewer vulnerabilities
Infrequent need for direct access to the machines
Kubernetes to the Rescue
Created a small ”sandbox” cluster.
Gathered “committed” pilot teams.
Daily standups
Address problems/concerns early
Provided Docker and Kubernetes training
Developed templates and scripts
Where we are in the journey.
Conventions/Standards
Developed deployment standards
Namespace for each service
Naming conventions (functionalGroup-serviceName)
One container per pod
Start with wide privileges and narrow as needed
Allow deployment all the way to production
Secrets are controlled by operations/security
Separate clusters for each environment (dev, stage, prod)
Use intra-cluster DNS for micro-services to reduce network latencies
Production Environment
Private Registry (Quay Enterprise)
Monitoring (Prometheus)
Logging
Custom cluster-wide log forwarder
Namespace Portal
Authorization (webhook)
Require soft resource quotas
Quick Start Tools
Created tool to help teams quickly deploy
Works across all cluster environments
Provide ”best practices” and conventions
Transparent – can generate standard resource files
Created scripts to insert secrets into namespaces
Labels are used to version secrets
Cluster backup/restore scripts
Scripts to easily create clusters in various environments
Allow easy deployment of any size of service
Our Journey So Far
Several clusters
Private data center and in the cloud
Hundreds of namespaces and services
Hundreds of pods
Macro to micro size services
Live production traffic
e.g. “We’re Related App”
Made up of 14 micro services
Easiest deployment path for developers
The Power of Kubernetes
Programmers have REPL (Read-Eval-Print-Loop)
Kubernetes now gives us CDEL (Compile-Deploy-Execute-Loop)
Unlock your past. Inspire your future
Questions

More Related Content

PDF
2017 Microservices Practitioner Virtual Summit - Opening Keynote: Trends in M...
PDF
2017 Microservices Practitioner Virtual Summit: Move Fast, Make Things: how d...
PDF
Microservices Practitioner Summit Jan '15 - Maximizing Developer Productivity...
PDF
Don't Assume Your API Gateway is Ready for Microservices
PDF
2017 Microservices Practitioner Virtual Summit: Microservices at Squarespace ...
PDF
MA Microservices Meetup: Move fast and make things
PDF
NYC Kubernetes Meetup: Ambassador and Istio - Flynn, Datawire
PDF
Your Developers Can Be Heroes on Kubernetes
2017 Microservices Practitioner Virtual Summit - Opening Keynote: Trends in M...
2017 Microservices Practitioner Virtual Summit: Move Fast, Make Things: how d...
Microservices Practitioner Summit Jan '15 - Maximizing Developer Productivity...
Don't Assume Your API Gateway is Ready for Microservices
2017 Microservices Practitioner Virtual Summit: Microservices at Squarespace ...
MA Microservices Meetup: Move fast and make things
NYC Kubernetes Meetup: Ambassador and Istio - Flynn, Datawire
Your Developers Can Be Heroes on Kubernetes

What's hot (20)

PDF
Jenkins in the real world - DevOpsCon 2017
PPTX
Desplegar en la nube y no morir en el intento - Plain Concepts Dev Day
PDF
Faster safer and 100 user centric application at equifax with docker
PDF
Embracing Observability in CI/CD with OpenTelemetry
PDF
Open Source and Secure Coding Practices
PDF
OSMC 2017 | How is Zabbix doing – an outside look by Rihards Olups
PPTX
Cleaner Code Through Test-Driven Development
PPTX
Meetup Microservices Commandments
PPTX
Devops online training ppt
PDF
OSMC 2017 | Building a Monitoring solution for modern applications by Martin ...
PPTX
DockerCon 2017 - General Session Day 1 - Ben Golub
PPTX
Adopting Kubernetes with Puppet
PDF
Securing Your Resources with Short-Lived Certificates!
PDF
DockerCon SF 2015: Interconnecting Containers at Scale w/ NGINX
PDF
Communication Operations: Lift off with Docker! - Jesse White
PDF
Modernizing Traditional Applications
PDF
Webinar: Introduction to CloudBees Jenkins Platform
PDF
Cloud-Native Progressive Delivery
PPTX
Pulumi iac on gcp
PDF
Brian Ketelsen - Microservices in Go using Micro - Codemotion Milan 2017
Jenkins in the real world - DevOpsCon 2017
Desplegar en la nube y no morir en el intento - Plain Concepts Dev Day
Faster safer and 100 user centric application at equifax with docker
Embracing Observability in CI/CD with OpenTelemetry
Open Source and Secure Coding Practices
OSMC 2017 | How is Zabbix doing – an outside look by Rihards Olups
Cleaner Code Through Test-Driven Development
Meetup Microservices Commandments
Devops online training ppt
OSMC 2017 | Building a Monitoring solution for modern applications by Martin ...
DockerCon 2017 - General Session Day 1 - Ben Golub
Adopting Kubernetes with Puppet
Securing Your Resources with Short-Lived Certificates!
DockerCon SF 2015: Interconnecting Containers at Scale w/ NGINX
Communication Operations: Lift off with Docker! - Jesse White
Modernizing Traditional Applications
Webinar: Introduction to CloudBees Jenkins Platform
Cloud-Native Progressive Delivery
Pulumi iac on gcp
Brian Ketelsen - Microservices in Go using Micro - Codemotion Milan 2017
Ad

Similar to 2017 Microservices Practitioner Virtual Summit: Ancestry's Journey towards Microservices, Containerization, and Kubernetes - Paul MacKay, Ancestry (20)

PDF
Cloud Native Dünyada CI/CD
PDF
Choosing PaaS: Cisco and Open Source Options: an overview
PPTX
The world of Docker and Kubernetes
 
PPTX
Webinar Docker Tri Series
PPTX
Webinar : Docker in Production
PPTX
Accelerate DevOps/Microservices and Kubernetes
PDF
Datacenter Computing with Apache Mesos - シリコンバレー日本人駐在員Meetup
PDF
Mastering Docker and Kubernetes The Guide for Modern Devops.pdf
PDF
Enabling Business Agility with SUSE CaaS Platform
PDF
Containerization Principles Overview for app development and deployment
PDF
Java Agile ALM: OTAP and DevOps in the Cloud
PDF
Microservices. Microservices everywhere! (At OSCON 2015)
PPTX
Netflix Cloud Architecture and Open Source
PDF
Lessons learned from writing over 300,000 lines of infrastructure code
PPTX
Kubernetes solutions
PPTX
Microsoft Ignite 2018 BRK3192 Container DevOps on Azure
PPTX
Weave User Group Talk - DockerCon 2017 Recap
PPTX
Devoxx 2016 - Docker Nuts and Bolts
PDF
.NET Cloud-Native Bootcamp- Los Angeles
PDF
AWS DevOps Guide and Best Practices Presentation.pdf
Cloud Native Dünyada CI/CD
Choosing PaaS: Cisco and Open Source Options: an overview
The world of Docker and Kubernetes
 
Webinar Docker Tri Series
Webinar : Docker in Production
Accelerate DevOps/Microservices and Kubernetes
Datacenter Computing with Apache Mesos - シリコンバレー日本人駐在員Meetup
Mastering Docker and Kubernetes The Guide for Modern Devops.pdf
Enabling Business Agility with SUSE CaaS Platform
Containerization Principles Overview for app development and deployment
Java Agile ALM: OTAP and DevOps in the Cloud
Microservices. Microservices everywhere! (At OSCON 2015)
Netflix Cloud Architecture and Open Source
Lessons learned from writing over 300,000 lines of infrastructure code
Kubernetes solutions
Microsoft Ignite 2018 BRK3192 Container DevOps on Azure
Weave User Group Talk - DockerCon 2017 Recap
Devoxx 2016 - Docker Nuts and Bolts
.NET Cloud-Native Bootcamp- Los Angeles
AWS DevOps Guide and Best Practices Presentation.pdf
Ad

More from Ambassador Labs (20)

PDF
Building Microservice Systems Without Cooking Your Laptop: Going “Remocal” wi...
PDF
Ambassador Developer Office Hours: Summer of Kubernetes Ship Week 1: Intro to...
PDF
Cloud native development without the toil
PPTX
Webinar: Accelerate Your Inner Dev Loop for Kubernetes Services
PDF
[Confoo Montreal 2020] From Grief to Growth: The 7 Stages of Observability - ...
PDF
[Confoo Montreal 2020] Build Your Own Serverless with Knative - Alex Gervais
PDF
[QCon London 2020] The Future of Cloud Native API Gateways - Richard Li
PDF
What's New in the Ambassador Edge Stack 1.0?
PDF
Webinar: Effective Management of APIs and the Edge when Adopting Kubernetes
PDF
Ambassador: Building a Control Plane for Envoy
PDF
Telepresence - Fast Development Workflows for Kubernetes
PDF
[KubeCon NA 2018] Telepresence Deep Dive Session - Rafael Schloming & Luke Sh...
PDF
[KubeCon NA 2018] Effective Kubernetes Develop: Turbocharge Your Dev Loop - P...
PDF
The rise of Layer 7, microservices, and the proxy war with Envoy, NGINX, and ...
PDF
The Simply Complex Task of Implementing Kubernetes Ingress - Velocity NYC
PDF
Ambassador Kubernetes-Native API Gateway
PPTX
Micro xchg 2018 - What is a Service Mesh?
PDF
KubeCon NA 2017: Ambassador and Envoy (Envoy Salon)
PDF
Webinar: Code Faster on Kubernetes
PDF
QCon SF 2017 - Microservices: Service-Oriented Development
Building Microservice Systems Without Cooking Your Laptop: Going “Remocal” wi...
Ambassador Developer Office Hours: Summer of Kubernetes Ship Week 1: Intro to...
Cloud native development without the toil
Webinar: Accelerate Your Inner Dev Loop for Kubernetes Services
[Confoo Montreal 2020] From Grief to Growth: The 7 Stages of Observability - ...
[Confoo Montreal 2020] Build Your Own Serverless with Knative - Alex Gervais
[QCon London 2020] The Future of Cloud Native API Gateways - Richard Li
What's New in the Ambassador Edge Stack 1.0?
Webinar: Effective Management of APIs and the Edge when Adopting Kubernetes
Ambassador: Building a Control Plane for Envoy
Telepresence - Fast Development Workflows for Kubernetes
[KubeCon NA 2018] Telepresence Deep Dive Session - Rafael Schloming & Luke Sh...
[KubeCon NA 2018] Effective Kubernetes Develop: Turbocharge Your Dev Loop - P...
The rise of Layer 7, microservices, and the proxy war with Envoy, NGINX, and ...
The Simply Complex Task of Implementing Kubernetes Ingress - Velocity NYC
Ambassador Kubernetes-Native API Gateway
Micro xchg 2018 - What is a Service Mesh?
KubeCon NA 2017: Ambassador and Envoy (Envoy Salon)
Webinar: Code Faster on Kubernetes
QCon SF 2017 - Microservices: Service-Oriented Development

Recently uploaded (20)

PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
ai tools demonstartion for schools and inter college
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Digital Strategies for Manufacturing Companies
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Nekopoi APK 2025 free lastest update
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
top salesforce developer skills in 2025.pdf
PDF
medical staffing services at VALiNTRY
Upgrade and Innovation Strategies for SAP ERP Customers
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
ai tools demonstartion for schools and inter college
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Wondershare Filmora 15 Crack With Activation Key [2025
Digital Strategies for Manufacturing Companies
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
VVF-Customer-Presentation2025-Ver1.9.pptx
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
L1 - Introduction to python Backend.pptx
Reimagine Home Health with the Power of Agentic AI​
How to Migrate SBCGlobal Email to Yahoo Easily
Softaken Excel to vCard Converter Software.pdf
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Nekopoi APK 2025 free lastest update
How to Choose the Right IT Partner for Your Business in Malaysia
Odoo Companies in India – Driving Business Transformation.pdf
top salesforce developer skills in 2025.pdf
medical staffing services at VALiNTRY

2017 Microservices Practitioner Virtual Summit: Ancestry's Journey towards Microservices, Containerization, and Kubernetes - Paul MacKay, Ancestry

  • 1. Taking the Helm - Ancestry’s Journey to Kubernetes Paul MacKay, Software Engineer
  • 2. Our Journey Where we come from. What we have learned along the way. Where we are in the journey.
  • 4. We’re a science and technology company with a very human mission.
  • 5. Data drives our business • 20 billion historical records • 90 million family trees • 10 billion profiles • 175 million shareable photos, documents and written stories • 9 petabytes of data • 4 million members in the AncestryDNA® network • 37 million 3rd cousin or closer matches
  • 6. Technologies Microsoft Windows ® C# .NET ® SQL Server®, IIS, MSMQ, TFS, etc. Java, Node.js, Python running on Linux Private data center 1,000s of servers/VMs running 100s of services REST-based macro to micro size services
  • 7. Deployment Processes Continuous integration/deployment Deployment management tools Virtual Machines Typically one (macro/micro) service per VM Long deployment times to roll services to production 20-50 minutes
  • 8. How Our Journey Started to Change Began experimenting with Docker. Docker Compose Created a “Docker agent” for remote deployment. Demonstrated how easy it is to deploy and scale up services. Deployment times drastically reduced from current methods. Easier to deploy services of any size (macro to micro) Showed greater density using current computing resources. Created and deployed our own micro services using Docker.
  • 9. What we learned along the way.
  • 10. Adopting New Technologies is Hard Developers are comfortable with how things are done today. We think it is faster doing it the “old” way. It is hard to see the advantages of changing to something new. Change has real cost. Change takes time away from developing new features. Change is disruptive to schedules.
  • 11. Early Discoveries Many opinions about the appropriate size of a service. Normal Linux distros are just too big. Not specifically built for Docker. Too large of a footprint. Too many packages to keep updated. Docker is best supported on newer Linux kernels. Need to train Windows developers Linux concepts/tools. The size of a service cannot be dictated Container orchestration is hard to do it right.
  • 12. Adopting New Technologies or Paradigms Understand current technologies, processes and paradigms. Need a “patron”. Own something “to be real”. Create a partnership with pilot teams and be agile.
  • 13. Determining the Size of a Service Be pragmatic; do not break up a service just to break up a service. Remember the cost of managing many services. Network latencies Many things to worry about (e.g. monitoring, coordinated deployments, scaling) Ask, “will this really be used independently by other services?” Does it make sense for the service to exist by itself Be pragmatic, not dogmatic.
  • 14. Linux Built for Containers Running containers is a first-class citizen Updates are holistic Can be automatically pushed to machines. Can easily revert back to the previous version. Less is more Fewer packages means fewer vulnerabilities Infrequent need for direct access to the machines
  • 15. Kubernetes to the Rescue Created a small ”sandbox” cluster. Gathered “committed” pilot teams. Daily standups Address problems/concerns early Provided Docker and Kubernetes training Developed templates and scripts
  • 16. Where we are in the journey.
  • 17. Conventions/Standards Developed deployment standards Namespace for each service Naming conventions (functionalGroup-serviceName) One container per pod Start with wide privileges and narrow as needed Allow deployment all the way to production Secrets are controlled by operations/security Separate clusters for each environment (dev, stage, prod) Use intra-cluster DNS for micro-services to reduce network latencies
  • 18. Production Environment Private Registry (Quay Enterprise) Monitoring (Prometheus) Logging Custom cluster-wide log forwarder Namespace Portal Authorization (webhook) Require soft resource quotas
  • 19. Quick Start Tools Created tool to help teams quickly deploy Works across all cluster environments Provide ”best practices” and conventions Transparent – can generate standard resource files Created scripts to insert secrets into namespaces Labels are used to version secrets Cluster backup/restore scripts Scripts to easily create clusters in various environments Allow easy deployment of any size of service
  • 20. Our Journey So Far Several clusters Private data center and in the cloud Hundreds of namespaces and services Hundreds of pods Macro to micro size services Live production traffic e.g. “We’re Related App” Made up of 14 micro services Easiest deployment path for developers
  • 21. The Power of Kubernetes Programmers have REPL (Read-Eval-Print-Loop) Kubernetes now gives us CDEL (Compile-Deploy-Execute-Loop)
  • 22. Unlock your past. Inspire your future