containers & cloud native ops cloud foundry approach

34
1 Containers & Cloud Native Ops Cloud Foundry Approach Bangalore Container Conference (7 th April 2017) Sajith Ainikkal, Sr. Platform Architect [email protected] / @sajiainikkal

Upload: bangalore-container-conference-2017

Post on 15-Apr-2017

204 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Containers & Cloud Native Ops Cloud Foundry Approach

1

Containers & Cloud Native Ops Cloud Foundry Approach Bangalore Container Conference (7th April 2017) Sajith Ainikkal, Sr. Platform Architect [email protected] / @sajiainikkal

Page 2: Containers & Cloud Native Ops Cloud Foundry Approach

2

My Personal Journey

Page 3: Containers & Cloud Native Ops Cloud Foundry Approach

3

Then

Now

Page 4: Containers & Cloud Native Ops Cloud Foundry Approach

4

Yesterday

Today

Page 5: Containers & Cloud Native Ops Cloud Foundry Approach

5 5

Spring Boot

Continuous Delivery

Changed new IT Infrastructure Landscape

Continuous Integration

Page 6: Containers & Cloud Native Ops Cloud Foundry Approach

6

Its all about Containers

But…

Page 7: Containers & Cloud Native Ops Cloud Foundry Approach

7

Page 8: Containers & Cloud Native Ops Cloud Foundry Approach

8

Page 9: Containers & Cloud Native Ops Cloud Foundry Approach

9

Page 10: Containers & Cloud Native Ops Cloud Foundry Approach

10

Cloud Native

DevOps Continuous Delivery

Containers Micro services

Page 11: Containers & Cloud Native Ops Cloud Foundry Approach

11

Business Apps & Abstractions Today

Hardware

Virtualization

Operating System

Containers

Runtime / Middleware

Data Store

Application Code

Hardware

Virtualization

Operating System

Containers

Runtime / Middleware

Data Store

Application Code

Hardware

Virtualization

Operating System

Containers

Runtime / Middleware

Data Store

Application Code

Hardware

Virtualization

Operating System

Containers

Runtime / Middleware

Data Store

Application Code

IaaS CaaS PaaS FaaS

Cloud Native Platform Scope

Page 12: Containers & Cloud Native Ops Cloud Foundry Approach

12

Typical Platform Evolution

Scripting

Built some automation and containers

New Reality

Page 13: Containers & Cloud Native Ops Cloud Foundry Approach

13

You can DIY, But It will become slow, expensive, & error-prone

Page 14: Containers & Cloud Native Ops Cloud Foundry Approach

14

Page 15: Containers & Cloud Native Ops Cloud Foundry Approach

15

Page 16: Containers & Cloud Native Ops Cloud Foundry Approach

16

PCF Overview

Operating System

Cloud API

Container Orchestration

Google AWS Azure VMW Openstack

Multiple Languages

Microservices Support

Services Marketplace

Spring CloudSpring Boot

DEVELOPMENT

Native User

Provided Partner

App Deployment & Management

Availability

Visibility & Administration

CI/CD Tools, ID, Security

Health, Metrics, Patching

Apps & Platform Dashboards

OPERATIONS

Page 17: Containers & Cloud Native Ops Cloud Foundry Approach

17

Everything to Deploy and Manage the App

4. Health management

2. Metrics

3. Log Aggregation

1. Roles and Policy

5. Security and Isolation

7. Scaling

6. Blue-Green deployment

Page 18: Containers & Cloud Native Ops Cloud Foundry Approach

18

Comprehensive Visibility & Administration

Operations Manager Applications Manager

Page 19: Containers & Cloud Native Ops Cloud Foundry Approach

19

4 Levels of High Availability

Availability Zone Fail

4

VM Fail

3

Process Fail

2

App Instance Fail

1

VM VM

Process

VM VM VM

VM VM

VM VM

VM VM

VM VM

Page 20: Containers & Cloud Native Ops Cloud Foundry Approach

20

Each Layer Upgradable with No Downtime

App Runtime*

File system mapping

Application

Linux host & kernel

Blue-Green deploy

Canary style deploy

* e.g. Embedded webserver, app configurations, JRE, agents for services packaged as buildpacks

C o n t a i n e r

Page 21: Containers & Cloud Native Ops Cloud Foundry Approach

21

Upgrade and patch with rolling “canary” deploys

Page 22: Containers & Cloud Native Ops Cloud Foundry Approach

22

Cloud Foundry Ecosystem

Silver

Gold

Platinum

Page 23: Containers & Cloud Native Ops Cloud Foundry Approach

23

Open Container Initiative. •  Under Linux foundation •  Established in June 2015 •  Currently 2 Specs

Ø  Run time Ø  Image

•  CF uses OCI runC as core container runtime

•  Interoperability & Portability

Page 24: Containers & Cloud Native Ops Cloud Foundry Approach

24

•  The Open Service Broker API project allows developers, ISVs and SaaS vendors a single, simple and elegant way to deliver services to applications running within cloud native offerings including Cloud Foundry, Openshift and Kubernetes.

•  Influenced by Cloud Foundry’s Service Broker API concept

•  Launched in Dec 2016 this project is joined by people from Fujitsu, Google, IBM, Pivotal , Redhat and SAP

Page 25: Containers & Cloud Native Ops Cloud Foundry Approach

25

Project Kubo •  BOSH-Powered, Web-Scale Release Engineering for Kubernetes. •  Joint project between Google and Pivotal. •  Announced by Google in Google Next 2017 •  Problem Kubo Solves – Uniform way to instantiate, deploy and

manage Kubernetes clusters in HA mode on any cloud •  Help for ‘Day 2’ Operations

•  Self healing VMs & Monitoring via BOSH •  Elastic scaling of clusters* •  Rolling upgrades to latest Kubernetes core* •  High Availability & Multi AZ support.

•  https://youtu.be/h9FSqVbdHis?t=52m13s •  http://pivotal.io/kubo

* Added post GCP Next through community collaboration

Page 26: Containers & Cloud Native Ops Cloud Foundry Approach

26

It’s actually working in mainstream, large shops

Page 27: Containers & Cloud Native Ops Cloud Foundry Approach

27

For further reading! •  https://pivotal.io/platform •  Want to try it on your machine ? - https://pivotal.io/pcf-dev •  https://www.cloudfoundry.org/ •  Blogs & ebooks

•  https://www.cloudfoundry.org/blog/ •  https://content.pivotal.io/blog •  https://content.pivotal.io/ebooks

•  Pivotal CF 1.10 Features overview - https://goo.gl/Zf9WQR

Page 28: Containers & Cloud Native Ops Cloud Foundry Approach

28

and We’re Hiring!!

https://pivotal.io/careers

Page 29: Containers & Cloud Native Ops Cloud Foundry Approach

29

[email protected] / @sajiainikkal

Page 30: Containers & Cloud Native Ops Cloud Foundry Approach

30

APPENDIX

Page 31: Containers & Cloud Native Ops Cloud Foundry Approach

© Copyright 2015 Pivotal. All rights reserved.

The Container: Runtime vs No-Runtime

Platform buildpacks provide standard runtime

Platform provides fixed OS container image

Developer brings customized app

Developer brings runtime container image

Developer brings container OS image

Developer brings customized app

Platform provides fixed host OS Kernel

Platform provides fixed host OS Kernel

App container

Page 32: Containers & Cloud Native Ops Cloud Foundry Approach

© Copyright 2015 Pivotal. All rights reserved.

CF Service Broker API

Page 33: Containers & Cloud Native Ops Cloud Foundry Approach

© Copyright 2015 Pivotal. All rights reserved.

CF Garden allows Diego to programmatically say

“make me a container” “put this in it”

“then run this”

via a platform-agnostic API

Page 34: Containers & Cloud Native Ops Cloud Foundry Approach

© Copyright 2015 Pivotal. All rights reserved.

CF Garden allows Diego’s abstractions to be flexible