Zero to Microservices in 5 minutes using Docker Containers. Mathew Lodge Weaveworks

Similar documents
Cloud Native Networking

Wrapp. Powered by AWS EC2 Container Service. Jude D Souza Solutions Wrapp Phone:

Comparison of Service Description and Composition for Complex 3-tier Cloud-based Services

Kubernetes made easy with Docker EE. Patrick van der Bleek Sr. Solutions Engineer NEMEA

Networking Approaches in. a Container World. Flavio Castelli Engineering Manager

Cloud & container monitoring , Lars Michelsen Check_MK Conference #4

Using AWS to Build a Large Scale Dockerized Microservices Architecture. Dr. Oliver Wahlen moovel Group GmbH Frankfurt, 30.

Container Orchestration on Amazon Web Services. Arun

Containers, Serverless and Functions in a nutshell. Eugene Fedorenko

Containers OpenStack. Murano brings Docker & Kubernetes to OpenStack. Serg Melikyan. software.mirantis.com. January 27, 2015

Red Hat OpenShift Roadmap Q4 CY16 and H1 CY17 Releases. Lutz Lange Solution

Buenos Aires 31 de Octubre de 2018

Secure Kubernetes Container Workloads

Important DevOps Technologies (3+2+3days) for Deployment

DevOps CICD PopUp. Software Defined Application Delivery Fabric. Frey Khademi. Systems Engineering DACH. Avi Networks

Kubernetes: Twelve KeyFeatures

What s New in Red Hat OpenShift Container Platform 3.4. Torben Jäger Red Hat Solution Architect

Project Calico v3.1. Overview. Architecture and Key Components

Using Network Virtualization in DevOps environments Yves Fauser, 22. March 2016 (Technical Product Manager VMware NSBU)

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

CONTINUOUS DELIVERY WITH MESOS, DC/OS AND JENKINS

AWS Integration Guide

CONTAINERS AND MICROSERVICES WITH CONTRAIL

ENHANCE APPLICATION SCALABILITY AND AVAILABILITY WITH NGINX PLUS AND THE DIAMANTI BARE-METAL KUBERNETES PLATFORM

Four times Microservices: REST, Kubernetes, UI Integration, Async. Eberhard Fellow

Advanced Continuous Delivery Strategies for Containerized Applications Using DC/OS

Kubernetes - Networking. Konstantinos Tsakalozos

Kuber-what?! Learn about Kubernetes

Contrail Networking: Evolve your cloud with Containers

MSB to Support for Carrier Grade ONAP Microservice Architecture. Huabing Zhao, PTL of MSB Project, ZTE

Automating Cloud Networking with RedHat OpenStack

Hi! NET Developer Group Braunschweig!

OpenShift Roadmap Enterprise Kubernetes for Developers. Clayton Coleman, Architect, OpenShift

EASILY DEPLOY AND SCALE KUBERNETES WITH RANCHER

Microservices Implementations not only with Java. Eberhard Wolff Fellow

NET1821BU THE FUTURE OF NETWORKING AND SECURITY WITH NSX-T Bruce Davie CTO, APJ 2

OpenShift 3 Technical Architecture. Clayton Coleman, Dan McPherson Lead Engineers

Dockercon 2017 Networking Workshop

CONTINUOUS DELIVERY WITH DC/OS AND JENKINS

Introduction to Neutron. Network as a Service

DISTRIBUTED SYSTEMS [COMP9243] Lecture 8a: Cloud Computing WHAT IS CLOUD COMPUTING? 2. Slide 3. Slide 1. Why is it called Cloud?

Introduction to Cloud Computing

About Intellipaat. About the Course. Why Take This Course?

Microservices at Netflix Scale. First Principles, Tradeoffs, Lessons Learned Ruslan

Elastic Efficient Execution of Varied Containers. Sharma Podila Nov 7th 2016, QCon San Francisco

How to Re-Architect without Breaking Stuff (too much) Owen Garrett March 2018

Cisco Container Platform

The Long Road from Capistrano to Kubernetes

Microservices on AWS. Matthias Jung, Solutions Architect AWS

A DEVOPS STATE OF MIND. Chris Van Tuin Chief Technologist, West

Whooo s calling Whooo?

Docker Networking Deep Dive online meetup

Container Networking and Openstack. Fernando Sanchez Fawad Khaliq March, 2016

Project Calico v3.2. Overview. Architecture and Key Components. Project Calico provides network security for containers and virtual machine workloads.

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

NGINX: From North/South to East/West

Service Mesh and Microservices Networking

Designing Fault-Tolerant Applications

What s New in K8s 1.3

Overview of Container Management

Application Centric Microservices Ken Owens, CTO Cisco Intercloud Services. Redhat Summit 2015

Multi-Cloud Infrastructure Management by Infrakit. Yuji Oshima NTT

A Cloud Gateway - A Large Scale Company s First Line of Defense. Mikey Cohen Manager - Edge Gateway Netflix

S Implementing DevOps and Hybrid Cloud

Microservices Architekturen aufbauen, aber wie?

Kubernetes 101. Doug Davis, STSM September, 2017

Continuous delivery while migrating to Kubernetes

The Art of Container Monitoring. Derek Chen

Running MarkLogic in Containers (Both Docker and Kubernetes)

Kuberiter White Paper. Kubernetes. Cloud Provider Comparison Chart. Lawrence Manickam Kuberiter Inc

Amazon Web Services. Block 402, 4 th Floor, Saptagiri Towers, Above Pantaloons, Begumpet Main Road, Hyderabad Telangana India

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Using DC/OS for Continuous Delivery

Cloud Native Java with Kubernetes

Securing Microservice Interactions in Openstack and Kubernetes

Fully Scalable Networking with MidoNet

Kubernetes. Introduction

Exploring Cloud Security, Operational Visibility & Elastic Datacenters. Kiran Mohandas Consulting Engineer

BUILDING MICROSERVICES ON AZURE. ~ Vaibhav

Cloud I - Introduction

Package your Java Application using Docker and Kubernetes. Arun

Mesosphere and Percona Server for MongoDB. Jeff Sandstrom, Product Manager (Percona) Ravi Yadav, Tech. Partnerships Lead (Mesosphere)

No Limits Cloud Introducing the HPE Helion Cloud Suite July 28, Copyright 2016 Vivit Worldwide

Title DC Automation: It s a MARVEL!

AGENDA Introduction Pivotal Cloud Foundry NSX-V integration with Cloud Foundry New Features in Cloud Foundry Networking NSX-T with Cloud Fou

GoDocker. A batch scheduling system with Docker containers

Lecture 7: Data Center Networks

Kubernetes The Path to Cloud Native

What s New in K8s 1.3

Multi-Cloud and Application Centric Modeling, Deployment and Management with Cisco CloudCenter (CliQr)

AGILE RELIABILITY WITH RED HAT IN THE CLOUDS YOUR SOFTWARE LIFECYCLE SPEEDUP RECIPE. Lutz Lange - Senior Solution Architect Red Hat

/ Cloud Computing. Recitation 5 February 14th, 2017

Using the SDACK Architecture to Build a Big Data Product. Yu-hsin Yeh (Evans Ye) Apache Big Data NA 2016 Vancouver

Building an on premise Kubernetes cluster DANNY TURNER

Beyond 1001 Dedicated Data Service Instances

Reactive Microservices Architecture on AWS

An Introduction to Kubernetes

Architecting for Scale

DevOps Course Content

STATE OF MODERN APPLICATIONS IN THE CLOUD

Transcription:

Zero to Microservices in 5 minutes using Docker Containers Mathew Lodge (@mathewlodge) Weaveworks (@weaveworks) https://www.weave.works/

2

Going faster with software delivery is now a business issue Software is eating the world The old IT/software model is too slow Customers expect pace of innovation of Google, Facebook, Uber, Netflix, Amazon in all things Velocity comes from microservices approach & rest of market wants to do the same Microservices/DevOps to go faster Smaller teams combining dev & ops roles, working on smaller services vs. single large code base Each microservice team picks its own tech and self-services Table stakes: open source, cloud, s, continuous integration

Problem: Microservices also increase complexity Source: Adrian Colyer 4

New class of microservices infrastructure is emerging Scheduling / Orchestration Create Microservices, Manage and Control them Extreme simplicity and speed Add value alongside any platform choice, or standalone Packaged and priced for bottoms-up team adoption SDN Config Microservices infrastructure Visualization Provision API Routing Data persist Containers Programmable infra 5

A typical microservice scenario Client Client Client API proxy / load balancer Replica 1 Replica 2 Replica 3 6

How this used to work in Docker Docker host 1 Docker host 2 Client Worker 8080 80 8443 443 7

Docker Networking introduced in v1.9 Docker host 1 Docker host 2 Client Worker 80 443 Ethernet bridge on Docker host VXLAN tunnel between hosts Ethernet bridge on Docker host 8

Microservice on Docker 1.9 Client A Client B Docker Docker host host config config Client C Cluster Store Consul 1 VM HA Proxy / nginx Container SDN Consul 2 VM Worker X Worker Y Worker Z Consul 3 VM 9

Using Weave Net to make things simpler Cluster Store Client A Client B Client C Consul 1 VM Weave Net [ Micro DNS ] Container SDN Consul 2 VM Worker X Worker Y Worker Z Consul 3 VM 10

Demo Up and running in less than 5 minutes Built-in service discovery

How it works Weave router runs on each Docker host Allocates IP addresses to s Maintains IP address to DNS name mapping Responds to DNS lookups on names Gossips updates to other routers, builds eventually consistent cache Inter-host connectivity via VXLAN All s on local bridge Local bridges connected via VXLAN Linux Host Docker Client x Replica n Weave router/dns Weave Docker proxy Server/VM/AWS/Azure/GCP Other hosts 12

Plug-in architectures today Docker Kubernetes Docker Networking CNI API Libnetwork API 3 rd Party libnetwork Plugin 3 rd Party CNI Plugin Underlay Network Underlay Network 13

Simple deployment on AWS ECS AWS Autoscaling Group Weave ECS AMI Weave ECS AMI Weave ECS AMI Weave ECS AMI Zero configuration beyond starting instances in auto-scale group: Weave Net automatically finds other Weave routers via Autoscale Groups API 14

Traditional 3-tier architecture Incoming traffic Load balancers Application servers Database and replica

Microservice architecture Web UI Public API Services Message Broker Database NoSQL servers

Monitoring microservices is different Netflix USE*: Utilization Saturation Error rate Utilization metrics (Success) response times Queue depth Saturation metrics CPU Memory IO bandwidth Network bandwidth Error metrics Non 2xx HTTP response rate No response rate * http://www.brendangregg.com/usemethod.html

Traditional monitoring systems focus on saturation only

Need topology information to use USE

Weave Scope Microservice-centric monitoring Live topology No instrumentation, no configuration 100% interactive

But how do we get Utilization and Error rates?

Weave Flux demo 22

Thank you! http://www.weave.works/

Weave eventually consistent in-memory DB (AP from the CAP theorem) 24