aws reinvent 2015 - day 2

123
© 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS re:Invent 2015 re:Cap (Day 2: CTO Werner Vogels) @AWScloud https://www.facebook.com/amazonwebservices/ mailto:[email protected]

Upload: bruce-chen

Post on 27-Jan-2017

259 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Aws reinvent 2015 - day 2

© 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

AWS re:Invent 2015re:Cap (Day 2: CTO Werner Vogels)

@AWScloudhttps://www.facebook.com/amazonwebservices/mailto:[email protected]

Page 2: Aws reinvent 2015 - day 2

AWS 架構優化框架

Page 3: Aws reinvent 2015 - day 2

雲端理當讓您不再受限

Page 4: Aws reinvent 2015 - day 2

打造我們一直以來想要的應用程式

Page 5: Aws reinvent 2015 - day 2

並且用我們一直以來想要的方式打造

Page 6: Aws reinvent 2015 - day 2

每個雲端架構師都該知道的六個定律

Page 7: Aws reinvent 2015 - day 2

1LUCAS CRITIQUE

“只基於過去歷史資料之間的關係,就想要預測未來可能的改變是非常天真的事情.”

Page 8: Aws reinvent 2015 - day 2

過去 現在 未來+ +

Page 9: Aws reinvent 2015 - day 2

每週十億個來自物聯網的事件

每季17 PB的遊戲資料

每天八百億個廣告投放, 控制在30 毫秒的

回應時間

來自超過兩百五十個網站傳遞每天100 GB

的點擊串流

每天五百億個廣告投放,平均在20毫秒以下回應速度

每天一千七百萬個事件

每天十億個交易

每天即時分析超過1 TB 遊戲資料

利用Amazon Kinesis Streams傳遞即時串流資料

Page 10: Aws reinvent 2015 - day 2

每天一千七百萬個事件

Elastic Beanstalk

Elastic Beanstalk

EC2

EC2

Kinesis

Visitor

Page 11: Aws reinvent 2015 - day 2

EC2 Process Server

S3

封存資料Elastic Beanstalk

Elastic Beanstalk

EC2

EC2

Kinesis

Visitor

每天一千七百萬個事件

Page 12: Aws reinvent 2015 - day 2

EC2 Process Server

S3

Elastic Beanstalk

Elastic Beanstalk

EC2

EC2

Kinesis

VisitorRedshift

報表

封存資料

每天一千七百萬個事件

Page 13: Aws reinvent 2015 - day 2

EC2 Process Server

S3

Elastic Beanstalk

Elastic Beanstalk

EC2

EC2

Kinesis

VisitorRedshift

API

儀表板

DynamoDB

每天一千七百萬個事件

封存資料

報表

Page 14: Aws reinvent 2015 - day 2

串流資料處理仍極具挑戰性…

Page 15: Aws reinvent 2015 - day 2

Amazon Kinesis Analytics強大、基於SQL語法、針對串流資料的時間序列分析

即將推出

Page 16: Aws reinvent 2015 - day 2

建立資料對照

Page 17: Aws reinvent 2015 - day 2

運算總和、加權平均線、警示底限值通知、篩選

增加SQL語法

Page 18: Aws reinvent 2015 - day 2

Kinesis Streams Kinesis FirehoseOutput 格式

針對即時資料執行SQL語法以及設定目標

Page 19: Aws reinvent 2015 - day 2

Kines is Analy tic s

即時財會資料

加權移動平均線

Page 20: Aws reinvent 2015 - day 2

Kines is Analy tic s Kines is F irehose Redshift

S3 & G lac ier

串接

即時財會資料

加權移動平均線

Page 21: Aws reinvent 2015 - day 2

歷史趨勢

Kines is Analy tic s Kines is F irehose Redshift

S3 & G lac ier

QuickSight

串接

即時財會資料

加權移動平均線

Page 22: Aws reinvent 2015 - day 2

2GALL’S LAW

“一個複雜的系統都是從一個單純的系統演變而來的.一個從草圖設計開始就很複雜的系統從來不會成功,你必須重新從一個簡單的系統開始. ”

Page 23: Aws reinvent 2015 - day 2

虛擬機器 容器(Containers) 函式

Page 24: Aws reinvent 2015 - day 2

介紹 X12016上半年即將推出

Page 25: Aws reinvent 2015 - day 2

T2.nano現已推出

Page 26: Aws reinvent 2015 - day 2

虛擬機器 容器(Containers) 函式

Page 27: Aws reinvent 2015 - day 2

Amazon ECS: 一些範例…

批次處理 開源PaaS平台

搜尋引擎集群

PaaS

遊戲引擎

Web應用平台

微服務後端

圖資解決方案

即時圖像轉換

Page 28: Aws reinvent 2015 - day 2

後端前端集群 1

ECS

集群 2

ECS

集群 3

ECS

App狀態

Page 29: Aws reinvent 2015 - day 2

開發者

學生

IGUAZÚ 管理者

服務

Iguazú 後端Iguazú 前端

cassandra 資料庫

AMAZON SQS

AMAZON ECS

業務指標報告

付款對帳

成績報告

學生人數統計

課程資料統計

EMAIL行銷

自動打分數

Page 30: Aws reinvent 2015 - day 2

我們可否再簡化生產環境的容器管理?

Page 31: Aws reinvent 2015 - day 2

Amazon EC2 Container Registry完全代管、安全的容器映像管理庫

現已可用

Page 32: Aws reinvent 2015 - day 2

好運作生產環境容器的地方

EC 2 C ON TA IN ER SER VIC E

EC 2 C ON TA IN ER R EGISTR Y

Page 33: Aws reinvent 2015 - day 2

EC 2 C ON TA IN ER SER VIC E

EC 2 C ON TA IN ER R EGISTR Y

A Z- A W A R ESER VIC E SC H ED U LER

好運作生產環境容器的地方

Page 34: Aws reinvent 2015 - day 2

EC 2 C ON TA IN ER SER VIC E

EC 2 C ON TA IN ER R EGISTR Y

A Z- A W A R ESER VIC E SC H ED U LER

D OC K ER IN TEGR A TIONW ITH C OM POSE

好運作生產環境容器的地方

Page 35: Aws reinvent 2015 - day 2

EC 2 C ON TA IN ER SER VIC E

EC 2 C ON TA IN ER R EGISTR Y

A Z- A W A R ESER VIC E SC H ED U LER

D OC K ER IN TEGR A TIONW ITH C OM POSE

EC S C LI

好運作生產環境容器的地方

Page 36: Aws reinvent 2015 - day 2

$ ecs-cli up

$ ecs-cli compose up

Page 37: Aws reinvent 2015 - day 2

虛擬機器 容器(Containers) 函式

Page 38: Aws reinvent 2015 - day 2

A W S L A M B D A

Page 39: Aws reinvent 2015 - day 2

沒有伺服器比”沒有”伺服器更容易管理

Page 40: Aws reinvent 2015 - day 2

使用AWS Lambda 在生產環境的範例

反威脅智慧與分析

廣告資料分析與派送 行動App分析 圖像內容篩選

即時影像與拍賣

新聞內容處理

新聞媒體處理 遊戲指標分析

Page 41: Aws reinvent 2015 - day 2

No de . j s we b a pp

伺服器傳送事件串流回應

查詢

網頁介面 下放 處理

s 3

Lambda 下放函式 n

Lambda 下放函式 0

Lambda 計數函式 0

使用者

Lambda 計數函式 0

Lambda 計數函式 0

Lambda 計數函式 0

Page 42: Aws reinvent 2015 - day 2

CloudFormationSupport

Integration with SNS, SWF, ASK

API Gateway Integration

Java Mobile SDK & Cognito Integration

今年新的Lambda功能

Page 43: Aws reinvent 2015 - day 2

VPC 支援 長時間功能 排程功能

Page 44: Aws reinvent 2015 - day 2

Python for Lambda

Page 45: Aws reinvent 2015 - day 2

3LAW OF DEMETER

“每個單位對於別的單位只有受限的了解.只跟朋友交談,不跟陌生人說話.”

Page 46: Aws reinvent 2015 - day 2

行動裝置

裝置的對立性

Page 47: Aws reinvent 2015 - day 2

行動後端

裝置的對立性

行動裝置

Page 48: Aws reinvent 2015 - day 2

資料與內容

分析

S3DynamoDB RDS

Mobile Analytics

行動後端

裝置的對立性

行動裝置

Page 49: Aws reinvent 2015 - day 2

S3DynamoDB RDS

Mobile Analytics

SNS

資料與內容

分析

行動後端

裝置的對立性

行動裝置

通知

Page 50: Aws reinvent 2015 - day 2

Amazon Cognito

API Gateway

Lambda

Lambda

Lambda

S3DynamoDB RDS

Mobile Analytics

SNS

資料與內容

分析

行動後端

裝置的對立性

行動裝置

通知

Page 51: Aws reinvent 2015 - day 2
Page 52: Aws reinvent 2015 - day 2

我們怎麼簡化下一個世代的行動App開發?

Page 53: Aws reinvent 2015 - day 2

AWS Mobile Hub三步帶你上App天堂

Page 54: Aws reinvent 2015 - day 2

AWS Mobile Hub三步帶你上App天堂1. 選擇跟設定功能

Page 55: Aws reinvent 2015 - day 2

AWS Mobile Hub三步帶你上App天堂1. 選擇跟設定功能2. 下載內容包

Page 56: Aws reinvent 2015 - day 2

AWS Mobile Hub三步帶你上App天堂1. 選擇跟設定功能2. 下載內容包3. 測試跟監控

Page 57: Aws reinvent 2015 - day 2

簡化

Page 58: Aws reinvent 2015 - day 2

4OCCAM’S RAZOR

“永遠選擇 少假設的選項.”

Page 59: Aws reinvent 2015 - day 2

觀察 – 理論 – 模型 – 事實

Page 60: Aws reinvent 2015 - day 2
Page 61: Aws reinvent 2015 - day 2
Page 62: Aws reinvent 2015 - day 2
Page 63: Aws reinvent 2015 - day 2
Page 64: Aws reinvent 2015 - day 2
Page 65: Aws reinvent 2015 - day 2
Page 66: Aws reinvent 2015 - day 2
Page 67: Aws reinvent 2015 - day 2
Page 68: Aws reinvent 2015 - day 2
Page 69: Aws reinvent 2015 - day 2
Page 70: Aws reinvent 2015 - day 2
Page 71: Aws reinvent 2015 - day 2
Page 72: Aws reinvent 2015 - day 2
Page 73: Aws reinvent 2015 - day 2
Page 74: Aws reinvent 2015 - day 2
Page 75: Aws reinvent 2015 - day 2
Page 76: Aws reinvent 2015 - day 2
Page 77: Aws reinvent 2015 - day 2
Page 78: Aws reinvent 2015 - day 2
Page 79: Aws reinvent 2015 - day 2
Page 80: Aws reinvent 2015 - day 2
Page 81: Aws reinvent 2015 - day 2
Page 82: Aws reinvent 2015 - day 2
Page 83: Aws reinvent 2015 - day 2
Page 84: Aws reinvent 2015 - day 2
Page 85: Aws reinvent 2015 - day 2
Page 86: Aws reinvent 2015 - day 2
Page 87: Aws reinvent 2015 - day 2
Page 88: Aws reinvent 2015 - day 2
Page 89: Aws reinvent 2015 - day 2
Page 90: Aws reinvent 2015 - day 2
Page 91: Aws reinvent 2015 - day 2
Page 92: Aws reinvent 2015 - day 2

5 REED’S LAW

“利用網路規模成長,大型(尤指社交)網路將成指數級倍率成長..”

Page 93: Aws reinvent 2015 - day 2

感應器 傳動器

Page 94: Aws reinvent 2015 - day 2

IoT 溫室

Page 95: Aws reinvent 2015 - day 2

裝置 網路 安全性 資料收集 智慧

1

IoT化繁為簡

Page 96: Aws reinvent 2015 - day 2

AWS IoT輕鬆安全地將裝置連線至雲端。

可靠地擴展到數十億個裝置以及數兆則訊息

現已可用

Page 97: Aws reinvent 2015 - day 2

連接幾十億個裝置

介紹AWS IoT

裝置 網路 安全性 資料收集 智慧

1

Page 98: Aws reinvent 2015 - day 2

連接幾十億個裝置

介紹AWS IoT

裝置 網路 安全性 資料收集 智慧

1

輕量級通訊協定

Page 99: Aws reinvent 2015 - day 2

連接幾十億個裝置

介紹AWS IoT

裝置 網路 安全性 資料收集 智慧

1

輕量級通訊協定 x509認證

Page 100: Aws reinvent 2015 - day 2

連接幾十億個裝置

介紹AWS IoT

裝置 網路 安全性 資料收集 智慧

1

輕量級通訊協定 x509認證 DynamoDB,Kinesis, and S3

Page 101: Aws reinvent 2015 - day 2

連接幾十億個裝置

介紹AWS IoT

裝置 網路 安全性 資料收集 智慧

1

輕量級通訊協定 x509認證 DynamoDB,Kinesis, and S3

觸發Lambda函式

Page 102: Aws reinvent 2015 - day 2

萬物

AWS IoT

裝置閘道

AWS IoT平台

Page 103: Aws reinvent 2015 - day 2

AWS IoT

S3 Dyn a mo DB Kin e sis L a mb da

規則

萬物

裝置閘道

AWS IoT平台

Page 104: Aws reinvent 2015 - day 2

AWS IoT

S3 Dyn a mo DB Kin e sis L a mb da

規則

萬物

裝置閘道

AWS IoT平台

註冊表

Page 105: Aws reinvent 2015 - day 2

那當裝置離線時,怎麼跟它們互動?

Page 106: Aws reinvent 2015 - day 2

透過RESTful API

取得最後回報的狀態

設定想取得未來的狀態

AWS IoT 裝置陰影

Page 107: Aws reinvent 2015 - day 2

AWS IoT

S3 Dyn a mo DB Kin e sis L a mb da

您的App

規則

萬物

裝置閘道

AWS IoT平台

註冊表虛擬版本「陰影」

Page 108: Aws reinvent 2015 - day 2

C-SDK(最適合嵌入式 OS)

JS-SDK (最適合嵌入式Linux)

Arduino Library(Arduino Yun)

New AWS IoT 裝置 SDK

Page 109: Aws reinvent 2015 - day 2
Page 110: Aws reinvent 2015 - day 2
Page 111: Aws reinvent 2015 - day 2
Page 112: Aws reinvent 2015 - day 2

LORA 無線閘道

MQTT裝置閘道

Page 113: Aws reinvent 2015 - day 2

Amazon Kinesis規則引擎

LORA 無線閘道

MQTT裝置閘道

Page 114: Aws reinvent 2015 - day 2

Amazon Kinesis

AWS Lambda

AWS Lambda

Amazon DynamoDB 儀表板

規則引擎

LORA 無線閘道

MQTT裝置閘道

Page 115: Aws reinvent 2015 - day 2
Page 116: Aws reinvent 2015 - day 2

AWS Lambda

AWS Lambda

Amazon DynamoDB

Amazon Kinesis

儀表板

規則引擎

LORA 無線閘道

MQTT裝置閘道

Page 117: Aws reinvent 2015 - day 2

6THE GESTALT PRINCIPLE

“綜效將大於總和.”

Page 118: Aws reinvent 2015 - day 2

IoT 管理平台

IoT 作業系統

IoT 分析平台

IoT 系統整合商

IoT 通訊

Page 119: Aws reinvent 2015 - day 2

AWS IoT 硬體夥伴

Page 120: Aws reinvent 2015 - day 2

每個雲端架構師都該知道的六個定律

Page 121: Aws reinvent 2015 - day 2

7BEASTIE’S LAW

“您必須替自己爭取Party的權利.”

Page 122: Aws reinvent 2015 - day 2

馬上打造

Page 123: Aws reinvent 2015 - day 2