Gregory Chomatas @gchomatas. PaaS team



Similar documents
CONTINUOUS DEPLOYMENT WITH SINGULARITY

White paper: Delivering Business Value with Apache Mesos

Jenkins Slave Cloud with Apache Mesos. Klaus Azesberger Reinhard Kiesswetter Infonova GmbH

The Virtualization Practice

Migrating 200+ Load Balancers Into Mesos. Stephen Salinas

Jenkins World Tour 2015 Santa Clara, CA, September 2-3

Continuous Integration and Delivery at NSIDC

Distributed Scheduling with Apache Mesos in the Cloud. PhillyETE - April, 2015 Diptanu Gon

RED HAT CONTAINER STRATEGY

DevOps Course Content

OpenShift. Marek Jelen, OpenShift, Red Hat

CI Pipeline with Docker

Intel IT Cloud Extending OpenStack* IaaS with Cloud Foundry* PaaS

Orchestrating Distributed Deployments with Docker and Containers 1 / 30

Private Cloud Management

Using Vagrant for Magento development. Alexander

Mesos: A Platform for Fine- Grained Resource Sharing in Data Centers (II)

Use Cases for Docker in Enterprise Linux Environment CloudOpen North America, 2014 Linda Wang Sr. Software Engineering Manager Red Hat, Inc.

Continuous Integration using Docker & Jenkins

Building Hyper-Scale Platform-as-a-Service Microservices with Microsoft Azure. Patriek van Dorp and Alex Thissen

DevOps. Josh Preston Solutions Architect Stardate

APP DEVELOPMENT ON THE CLOUD MADE EASY WITH PAAS

Java PaaS Enabling CI, CD, and DevOps

Cloud Models and Platforms

WHITE PAPER Redefining Monitoring for Today s Modern IT Infrastructures

The Definitive Guide To Docker Containers

Intro to Docker and Containers

DevOps with Containers. for Microservices

Modern App Architecture for the Enterprise Delivering agility, portability and control with Docker Containers as a Service (CaaS)

OpenStack. Orgad Kimchi. Principal Software Engineer. Oracle ISV Engineering. 1 Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Ansible in Depth WHITEPAPER. ansible.com

Building a Continuous Integration Pipeline with Docker

Enterprise-level EE: Uptime, Speed, and Scale

How Bigtop Leveraged Docker for Build Automation and One-Click Hadoop Provisioning

Alan Conley, John Belamaric. Bloxfest - Containers

Get Ship Done! Microservices Cloud Development Made Easy Charles Eckel and David Tootill Cisco Systems

A Complete Open Cloud Storage, Virt, IaaS, PaaS. Dave Neary Open Source and Standards, Red Hat

Modern Application Architecture for the Enterprise

Powering the Next Generation Cloud with Azure Stack, Nano Server & Windows Server 2016! Jeff Woolsey Principal Program Manager Cloud & Enterprise

Linux A first-class citizen in Windows Azure. Bruno Terkaly bterkaly@microsoft.com Principal Software Engineer Mobile/Cloud/Startup/Enterprise

Beyond Lambda - how to get from logical to physical. Artur Borycki, Director International Technology & Innovations

Microservices a security nightmare? GOTO Berlin - Dec 2, 2015 Maximilian Schöfmann Container Solutions Switzerland

Web UI & Functional Test Automation for Continuous Agile Deliveries

Massively! Continuous Integration! A case study for Jenkins at cloud-scale

A lap around Team Foundation Server 2015 en Visual Studio 2015

depl Documentation Release depl contributors

IAN MASSINGHAM. Technical Evangelist Amazon Web Services

Considerations for Adopting PaaS (Platform as a Service)

Soma: Linked Data Infrastructure

Continuous Integration

Building Success on Acquia Cloud:

Zero-Touch Drupal Deployment

Gerrit and Jenkins for Big Data Continuous Delivery. Santa Clara, CA, September 2-3

Cloud Hosting. QCLUG presentation - Aaron Johnson. Amazon AWS Heroku OpenShift

Docker : devops, shared registries, HPC and emerging use cases. François Moreews & Olivier Sallou

You ll need to have: It d be great if you have:

Introduction to CoprHD: An Open Source Software Defined Storage Controller

OpenShift Enterprise PaaS by Red Hat. Andrey Markelov RHCA Red Hat, Presales Solution Architect

Oracle Database Cloud Service Rick Greenwald, Director, Product Management, Database Cloud

Frequently Asked Questions Plus What s New for CA Application Performance Management 9.7

A Sumo Logic White Paper. Harnessing Continuous Intelligence to Enable the Modern DevOps Team

Cloud Computing with Amazon Web Services and the DevOps Methodology.

Glassfish Architecture.

Data Centers and Cloud Computing

How To Use Arcgis For Free On A Gdb (For A Gis Server) For A Small Business

Getting Started with DevOps Automation

NephOS A Licensed End-to-end IaaS Cloud Software Stack for Enterprise or OEM On-premise Use.

How To Understand The 2013 Cio Agenda For A Cloud Server

Appendix A Core Concepts in SQL Server High Availability and Replication

Cloud Computing: Making the right choices

An Introduction to Cloud Computing Concepts

DRUPAL CONTINUOUS INTEGRATION. Part I - Introduction

Sun Cloud API: A RESTful Open API for Cloud Computing

Continuous Integration in the Cloud with Hudson

COMPUTER MEASUREMENT GROUP - India Hyderabad Chapter. Strategies to Optimize Cloud Costs By Cloud Performance Monitoring

Monitor Open stack environments from the bottom up and front to back. Roger Ruttimann VP Engineering, GroundWork OpenSource November 17, 2015

STRATEGIC WHITE PAPER. The next step in server virtualization: How containers are changing the cloud and application landscape

Performance Management for Cloudbased STC 2012

Openshift for Continuous Integration

Enterprise PaaS Evaluation Guide

Elasticsearch on Cisco Unified Computing System: Optimizing your UCS infrastructure for Elasticsearch s analytics software stack

What new with Informix Software as a Service and Bluemix? Brian Hughes IBM

Microsoft Private Cloud

ISLET: Jon Schipp, Ohio Linux Fest An Attempt to Improve Linux-based Software Training

Amazon AWS in.net. Presented by: Scott Reed

CLOUD TECH SOLUTION AT INTEL INFORMATION TECHNOLOGY ICApp Platform as a Service

Apache Ignite TM (Incubating) - In- Memory Data Fabric Fast Data Meets Open Source

CRITEO INTERNSHIP PROGRAM 2015/2016

Transcription:

Mesos + Singularity: PaaS automation for mortals Gregory Chomatas @gchomatas PaaS team

120 meters: My shortest travel to a Conference

Miletus Thales of Miletus - 624 BC Those who can, do, the others philosophise... Really?

Optionality* with Mesos Invest in a Mesos-powered PaaS and keep doing what you love most; building your product * Optionality is the property of asymmetric upside (preferably unlimited) w ith corresponding limited downside (preferably tiny)

Blogging SEO Social Media CMS Lead Management Landing Pages Calls-to-Action Marketing Automation Email Analytics CRM Sync

The underlying culture & structure 12-factor apps.net monolith to microservices Small, autonomous teams with end-to-end ownership - no ops

High productivity ~100 engineers 800+ components that can be updated/scaled independently QA: ~400 small to medium AWS machines PROD: ~750 medium to large AWS machines Source: Martin Fowler http://martinfowler.com/bliki/microservicepremium.html

But for how long... 1. Develop locally 2. Provision QA aws instance 3. Deploy via local Python script 4. Provision PROD aws instance 5. Deploy via local Python script 6. Repeat 4 & 5 to scale 10. Repeat 4&5 at 4am to replace hw

Statically partitioning the cluster is inefficient

The cost of flexibility & asynchronicity High operational overhead Poor utilisation & elasticity Higher rate of failures

Redress the balance with a Mesos-based PaaS Abstract away machines Homogenous environment Scale out in seconds Centralized deployables registry Sept 2013: Our First Mesos Cluster

To Boldly go...to Singularity

Singularity: do more with a single scheduler Great UI & HTTP API Native Docker Support Health Checks Load Balancing API Log Maintenance Oct 2013: Start building Singularity

Security / artifact signature verification Singularity: do even more... Agent & Rack maintenance Webhooks Auto-rollback Email Notifications Executor cleanup Singularity Components

The PaaS Stack BUILD DEPLOY RUN Jenkins Orion Singularity

The Build / Deploy cycle S3 buildpack runner

The Deployer - Dry run

The Deployer - Deploying

Singularity Deployable view

Singularity Task view

Singularity file tailing

Singularity Health Checks & Resources

Singularity All Deployables view

Singularity Cluster Status

Singularity Cluster Maintenance view

Migration to Mesos - Timeline

Manual Server Provisioning

Server provisioning UI usage

1800+ deployables ~300 deploys / day 10 minutes from git push to production

I want persistent IMAP connections to 200k+ inboxes (Jul 2015)

Migration Issues Stateful Services Single Process services Hard coded stationary hosts Cgroups memory isolation User resistance

Operational Issues All eggs in one basket Mesos / Framework issues (pingback port) Failures (Zookeeper, Mesos, Singularity) Cluster Maintenance Missing features

Maintenance Phased rollout of new Kernel, Instance types Rolling upgrade of instance basic SW with puppet vars Rolling upgrade of master/agent process with ansible Local testing on docker cluster Roll out at infra-qa then product-qa and last to Production cluster Deploy tools deploy themselves but maintain command line alternative with fabric

Optionality with Mesos@HubSpot Massive Builds in Mesos Mesos Spark Cluster Singularity Baragon - Tasks Load Balancer Manager Ghidorah - Load Balancers in Mesos

The sweet spot Source: Mark Leslie (http://firstround.com/review/the-arc-of-company-life-and-how-to-prolong-it/)

Invest early in a deploy & build infrastructure Dedicate 1-2 engineers to experiment on a Mesos powered PaaS Try Singularity today! github.com/hubspot/singularity

Useful links HubSpot Blog: How We Built Our Stack For Shipping at Scale Blazar: An out-of-this world build system! Baragon: Load Balancer API