containers & cloud native ops cloud foundry approach
TRANSCRIPT
1
Containers & Cloud Native Ops Cloud Foundry Approach Bangalore Container Conference (7th April 2017) Sajith Ainikkal, Sr. Platform Architect [email protected] / @sajiainikkal
2
My Personal Journey
3
Then
Now
4
Yesterday
Today
5 5
Spring Boot
Continuous Delivery
Changed new IT Infrastructure Landscape
Continuous Integration
6
Its all about Containers
But…
7
8
9
10
Cloud Native
DevOps Continuous Delivery
Containers Micro services
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
12
Typical Platform Evolution
Scripting
Built some automation and containers
New Reality
13
You can DIY, But It will become slow, expensive, & error-prone
14
15
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
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
18
Comprehensive Visibility & Administration
Operations Manager Applications Manager
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
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
21
Upgrade and patch with rolling “canary” deploys
22
Cloud Foundry Ecosystem
Silver
Gold
Platinum
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
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
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
26
It’s actually working in mainstream, large shops
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
28
and We’re Hiring!!
https://pivotal.io/careers
29
[email protected] / @sajiainikkal
30
APPENDIX
© 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
© Copyright 2015 Pivotal. All rights reserved.
CF Service Broker API
© 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
© Copyright 2015 Pivotal. All rights reserved.
CF Garden allows Diego’s abstractions to be flexible