41

PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

  • Upload
    others

  • View
    8

  • Download
    0

Embed Size (px)

Citation preview

Page 1: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions
Page 2: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

驅動原生雲架構 全新應用分享

Rex Wang

@Twitterhandle

Senior Solutions Architect, Pivotal

Page 3: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

3

企業等級的IT運作

Business User 的期待• 應用開發可即時交付,上線

順利• Time to Market

• App Team 的產出符合期待• 任何情況下,都不要有服務

中斷• 需求變更容易

App Team 常見問題• Business User 需求不明確• 需求訪談與開發進度緩慢• 架構設計問題,以致改版困

難• 部署程序複雜,造成服務中

斷• 擴容/HA/DR皆需仰賴 infra

team 協助,資源調度不易,時間冗長

Infra Team 常見問題• Server 上線前的準備工作• Side Survey

• 機架• 網路線• IP

• 防火牆• 安裝OS、Middleware、監控• 有IaaS之後• …...

Page 4: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

Cloud Native Architecture雲原生架構

Page 5: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

5

何為雲原生架構?為何需要?

Page 6: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

6

Page 7: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

7

用小步快跑的方式,打破瀑布式開發流程

DESIGN

DEVELOP

TEST

OPS

DEVProduct

Release #1

Product

Release #2- Reduced risk of delivering the wrong thing

- Frequent feedback increases design quality, innovation

- Increased visibility & controls for finance & GRC

Page 8: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

8

藍綠(Blue-Green) 部署

blue-spring-music

prod-spring-music

green-spring-music

prod-spring-music

blue-spring-music

prod-spring-music

green-spring-music

blue-spring-music

green-spring-music

prod-spring-music

time

Step 1 Step 2 Step 3

Page 9: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

9

Continue Delivery的總結

解決什麼問題?

• 縮小開發者與使用者的認知差距

• 每一次部署都可以重新確認開發方向

• 開發進度透明可見

• 敏捷開發的要求之一

留下什麼問題?

• 部署流程如何改造?

• Infra 環境如何配合?

• 如何做到 zero downtime?

Page 10: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

10

Page 11: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

11

Page 12: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

12

Page 13: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

13

Page 14: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

14

Microservices的總結

解決什麼問題?

• 開發人員專注的代碼更少

• 各服務解耦合

• Business Rules 內聚更強

• 更容易單獨改版

• 更敏捷

留下什麼問題?

• App Team如何分工?

• Infra 環境如何配合? Bare Metal

Machine? VM?

• 如何自動化部署?

Page 15: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

15

Page 16: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

16

容器技術發展歷史

Page 17: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

17

從 Infra 角度來看技術演進

Page 18: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

18

企業面臨的不同運算類型

IaaS

ContainerOrchestrator (CaaS)

ApplicationPlatform(PaaS)

ServerlessFunctions(FaaS)

CONTAINERS

EVENT-DRIVEN FUNCTIONS

DATA SERVICESMICROSERVICES

Batches

MONOLITHIC APPLICATIONS

交付container

交付code

交付function

Page 19: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

19

容器對於開發與維運人員的意義大不相同

Containers in Dev Environment

“Learning Curve”

Containers

Container on Production

Load Balancer

Security

High Availability

Application Update

Auto-scaling/shrinking

Repeatable Deployment

Repository Sync

Deployment

Containers

Page 20: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

20

Container 的總結

解決什麼問題?

• 更容易資源調度

• 更容易達到多夾艙部署

• 更容易部署微服務

• 更容易做到 Continue Delivery

留下什麼問題?

• 單純的Container如何管理?

• 如何做到資源調度?

Page 21: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

21

Page 22: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

22

Page 23: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

23

What is DevOps?

• Agile 的延伸

• 溝通文化

• 是一種運動,也是一種慣例

• CALMS?

– Culture

– Automation

– Lean

– Measurement

– Sharing

Page 24: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

24

DevOps 的總結

解決什麼問題?

• 更好的工作文化,更高的工作效率

• App Team: Infra 自主可控,Infra

服務自理

• Infra Team:自動化程度高,降低工作負擔

留下什麼問題?

• App Team 與 Infra Team 重新分工?

• Culture Change?

Page 25: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

25

Page 26: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

26

Page 27: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

Pivotal 對於客戶的價值

Page 28: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

28

Page 29: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

29

Page 30: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

30

Page 31: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

31

Thinking again :

Computing Resource for Enterprise

IaaS

ContainerOrchestrator (CaaS)

ApplicationPlatform(PaaS)

ServerlessFunctions(FaaS)

CONTAINERS

EVENT-DRIVEN FUNCTIONS

DATA SERVICESMICROSERVICES

Batches

MONOLITHIC APPLICATIONS

Page 32: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

32

Page 33: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

33

BOSH

GCPServiceBroker

Harbor

NSX-T

Kubernetes

K8s ClusterK8s Cluster

K8s Cluster

Built with open-source Kubernetes — Constant compatibility with the current stable release of Kubernetes, operated by BOSH. No proprietary extensions.

Production-ready — Highly available from apps to infrastructure, no single points of failure. Built-in health checks, scaling, auto-healing and rolling upgrades.

Multicloud — BOSH provides a reliable and consistent operational experience. For any cloud.

Network management and security out-of-the-box with VMware NSX-T. Multi-cloud, multi-hypervisor.

GCP APIs access — The GCP Service Broker allows apps to transparently access Google Cloud APIs, from anywhere. Easily move workloads to/from Google Container Engine (GKE).

Fully automated Ops — Fully automated deploy, scale, patch, upgrade. No downtime. Use CD pipelines to deploy your platform, too.

VMware GCP Azure Openstack AWS

PKS C

ontr

olle

r

Page 34: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

34

Pivotal Application Service (PAS)

Page 35: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

35

Pivotal Function Service (PFS)

A service for running Functions Features

• Kubernetes-Native

• Polyglot - Shell, Node.js, Spring/Java,

Python

• Spring Open Source and PCF/PKS

product

• Jobs, dynamic loading into warm

containers

• Event streams - partitioning,

windowing

• Pluggable event brokers - Kafka, AWS

Kinesis, Google Pub/Sub, RabbitMQ

FaaS Portable

And run in Spring Boot

REST, Tasks, or Streams

Page 36: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

36

Members of Cloud Foundry Foundation

Page 37: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

37

Cloud Foundry EcosystemAnalytics

APM

Batch

BPM

Cache/LB

CI/CD

DB

Commerce

CRM

IAASETLIAMIDE/Code

ITIL

Messaging

Mobile

Search

Security

SIEM/Log/Audit

API/SOA/uS/IOT

Test Other

Networking

Page 38: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

38

Page 39: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

39

● Platforms - PKS, PAS, PFS

● Professional Services ( T&M 技術顧問服務,協助客戶順利使用平台與應用開發建議)

● Training Services (Spring Framework and PAS administration/development)

• Platform Dojo (技術專家 on-site,協助客戶有限度客製化平台)

● AppTX (技術專家 on-site,產出現有應用改造成微服務)

● Pivotal Labs (客戶到Pivotal Labs接受 on the job training,主要產出為敏捷開發團隊)

Pivotal 產品與服務

Page 40: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

40

SpringOne Platform 2018

Page 41: PLEASE READ – INSTRUCTIONS FOR ADDING PAGE ......VMware GCP Azure Openstack AWS r 34 Pivotal Application Service (PAS) 35 Pivotal Function Service (PFS) A service for running Functions

41