Containers & Cloud Native Ops Cloud Foundry Approach
-
Upload
bangalore-container-conference-2017 -
Category
Software
-
view
203 -
download
0
Transcript of Containers & Cloud Native Ops Cloud Foundry Approach
![Page 1: Containers & Cloud Native Ops Cloud Foundry Approach](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/1.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/2.jpg)
2
My Personal Journey
![Page 3: Containers & Cloud Native Ops Cloud Foundry Approach](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/3.jpg)
3
Then
Now
![Page 4: Containers & Cloud Native Ops Cloud Foundry Approach](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/4.jpg)
4
Yesterday
Today
![Page 5: Containers & Cloud Native Ops Cloud Foundry Approach](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/5.jpg)
5 5
Spring Boot
Continuous Delivery
Changed new IT Infrastructure Landscape
Continuous Integration
![Page 6: Containers & Cloud Native Ops Cloud Foundry Approach](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/6.jpg)
6
Its all about Containers
But…
![Page 7: Containers & Cloud Native Ops Cloud Foundry Approach](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/7.jpg)
7
![Page 8: Containers & Cloud Native Ops Cloud Foundry Approach](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/8.jpg)
8
![Page 9: Containers & Cloud Native Ops Cloud Foundry Approach](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/9.jpg)
9
![Page 10: Containers & Cloud Native Ops Cloud Foundry Approach](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/10.jpg)
10
Cloud Native
DevOps Continuous Delivery
Containers Micro services
![Page 11: Containers & Cloud Native Ops Cloud Foundry Approach](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/11.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/12.jpg)
12
Typical Platform Evolution
Scripting
Built some automation and containers
New Reality
![Page 13: Containers & Cloud Native Ops Cloud Foundry Approach](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/13.jpg)
13
You can DIY, But It will become slow, expensive, & error-prone
![Page 14: Containers & Cloud Native Ops Cloud Foundry Approach](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/14.jpg)
14
![Page 15: Containers & Cloud Native Ops Cloud Foundry Approach](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/15.jpg)
15
![Page 16: Containers & Cloud Native Ops Cloud Foundry Approach](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/16.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/17.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/18.jpg)
18
Comprehensive Visibility & Administration
Operations Manager Applications Manager
![Page 19: Containers & Cloud Native Ops Cloud Foundry Approach](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/19.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/20.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/21.jpg)
21
Upgrade and patch with rolling “canary” deploys
![Page 22: Containers & Cloud Native Ops Cloud Foundry Approach](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/22.jpg)
22
Cloud Foundry Ecosystem
Silver
Gold
Platinum
![Page 23: Containers & Cloud Native Ops Cloud Foundry Approach](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/23.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/24.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/25.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/26.jpg)
26
It’s actually working in mainstream, large shops
![Page 27: Containers & Cloud Native Ops Cloud Foundry Approach](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/27.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/28.jpg)
28
and We’re Hiring!!
https://pivotal.io/careers
![Page 30: Containers & Cloud Native Ops Cloud Foundry Approach](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/30.jpg)
30
APPENDIX
![Page 31: Containers & Cloud Native Ops Cloud Foundry Approach](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/31.jpg)
© 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](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/32.jpg)
© Copyright 2015 Pivotal. All rights reserved.
CF Service Broker API
![Page 33: Containers & Cloud Native Ops Cloud Foundry Approach](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/33.jpg)
© 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](https://reader030.fdocuments.in/reader030/viewer/2022020314/58f2207b1a28abcc418b469d/html5/thumbnails/34.jpg)
© Copyright 2015 Pivotal. All rights reserved.
CF Garden allows Diego’s abstractions to be flexible