SlideShare uma empresa Scribd logo
1 de 53
Baixar para ler offline
TAIPEI
開 發 者 交 流 之 夜
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS 微服務架構分享
用 ECS 打造跨國物聯網服務
Ernest Chiang
.
Director of Product & Technology Integration
PAFERS Tech
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS 微服務架構分享
用 ECS 打造跨國傳統產業物聯網服務
Ernest Chiang
.
Director of Product & Technology Integration
PAFERS Tech
助⼒力力會成為卓越的科技領導者
⽬目前
會
員 870 ⼈人
構建全球化的有技術背景的優秀⼈人才學 習成長平台
在 12 個城市建立分會
TGONetworks介绍introduction of tgonetworks club
TGONetworks是科技領導者聚集和交流的組織, 以CTO、 CPO、 COO、 技術 VP 等科技領導者為服務
對象, 採⽤用實
名
制付費會員, 嚴格審查會員資格, 旨在構建全球化的有技術背景的優秀⼈人才學成長平
台, 線上線下相结合, 連結傑出的科技領導者學習與成長。
使命 願景
臺北董事會成員
李致緯
iCook 愛料理理技
術
長
會長 學習委員 會籍委員 服務委員 ⼩小組委 員
莊靈
慧邦科技技術長
黃智彬
舉⼿手電 商營運長
王志清
領投肯科技技術長、
安世泰有限公司
聯聯合
創
始⼈人
曾義峰
書亞集成股份 技術負責⼈人
林林秉
毅
天鏡科技技術長
林林瑞
男
PIXNET 痞客邦技術總監
蔣鐙緯
PAFERS Director of
Product & Technology
Integration
游舒帆
箴亞管理理有 限公司 負責⼈人
施政源
Fable 寓意科技CEO
沙⼠士翔
領投肯科技
資深產品經理理
TGONetworks各地董事會The boards of directors of TGONetworks Club
Ernest Chiang
Open Source, AWS, Bluetooth
Agenda
Traditional Industries
Multiple Continents
Operations
ECS
Agenda
Traditional Industries
Multiple Continents
Operations
ECS
Issues
Traditional Industries
Multiple Continents
Operations
ECS
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Industry + Technology
RPM Distance Speed
Duration Incline Calories
HR Level Watt
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
We are Fitness Service company
focus on Fitness Industry.
PAFERS Tech
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
We are the remote Product & RD
department of our global clients.
PAFERS Tech
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Get Connected (1/4)
• How can we connects all our fitness equipment and client services with
all the end users? Such as fitness equipment brands, gym managers,
trainers, exercisers, etc.
Get Connected (2/4)
Get Connected (3/4)
Get Connected (4/4)
• Multiple applications facing to different stakeholders.
• Split/migrate applications into multiple services.
Global Market (1/6)
Global Market (2/6)
Global Market (3/6)
• How to operate multiple IT systems and Application services
for multiple regions with limited human resource?
• Can we have the same technical skill sets and knowledge base when across regions?
Such as the same CI/CD workflow, the same deployment technology, the same environment
parameters, the same monitoring tools, the same failure recovery mechanism, etc.
• Can we have the same contact windows and seamless support when across regions?
• How to optimize selection and evaluation of technology when across regions?
Global Market (4/6)
• AWS Region Table
https://aws.amazon.com/about-aws/global-infrastructure/regional-
product-services/
Global Market (5/6)
• AWS CodePipeline + AWS CodeBuild
• Amazon ECS (Elastic Container Service)
Global Market (6/6)
• AWS Support
Resource & Budget (1/3)
• How to build an IT and/or RD team from scratch?
• How to operate multiple IT systems and Application services
for 30+ countries with limited human resource?
• How to focus on core values and core business?
Resource & Budget (2/3)
• Make objectives clear.
• Make workflows clear.
• Leverage workflow automation.
• Leverage partners resource.
• Leverage managed services.
Why
How
What
Resource & Budget (3/3)
• Outcome example
• We set up our AWS China cluster based on our AWS Global cluster architecture (and did
some other l10n, testing works) within 1 week.
Issues
 Traditional Industries
 Multiple Continents
 Operations
ECS
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
ECS Cluster Auto Scaling
Terminology
ECS Cluster
ECS Task
ECS Service
A logical namespace.
The basic unit.
Similar to k8s pods.
Service can have many tasks.
Auto-replaces failed tasks.
ECS Cluster Auto Scaling
Before
ECS Cluster Create Cluster
ECS Cluster Auto Scaling
Before
ECS Cluster
EC2 Auto Scaling Group
Create Cluster
Create ASG
ECS Cluster Auto Scaling
Before
ECS Cluster
EC2 Auto Scaling Group
EC2 Instances
Create Cluster
Create ASG
Start Instances
ECS Cluster Auto Scaling
Before
ECS Cluster
EC2 Auto Scaling Group
ECS Tasks
EC2 Instances
Create Cluster
Create ASG
Start Instances
Run Tasks
ECS Cluster Auto Scaling
Before
ECS Cluster
EC2 Auto Scaling Group
ECS Tasks
EC2 Instances
Create Cluster
Create ASG
Start Instances
Run Tasks
But…!!!
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Application First
Amazon ECS Capacity Provider: The Missing Link
ECS Cluster Create Cluster (one time)
Application First
Amazon ECS Capacity Provider: The Missing Link
ECS Cluster
EC2 Auto Scaling Group
Create Cluster (one time)
Create ASG (one time)
Application First
Amazon ECS Capacity Provider: The Missing Link
ECS Cluster
EC2 Auto Scaling Group
ECS Capacity Provider
Create Cluster (one time)
Create ASG (one time)
Create CP (one time)
Application First
Amazon ECS Capacity Provider: The Missing Link
ECS Cluster
EC2 Auto Scaling Group
ECS Tasks
ECS Capacity Provider
Create Cluster (one time)
Create ASG (one time)
Create CP (one time)
Run Tasks
Application First
Amazon ECS Capacity Provider: The Missing Link
ECS Cluster
EC2 Auto Scaling Group
ECS Tasks
EC2 Instances
ECS Capacity Provider
Create Cluster (one time)
Create ASG (one time)
Create CP (one time)
Run Tasks
Instances start
Application First
Amazon ECS Capacity Provider: The Missing Link
ECS Cluster
EC2 Auto Scaling Group
ECS Tasks
EC2 Instances
ECS Capacity Provider
Create Cluster (one time)
Create ASG (one time)
Create CP (one time)
Run Tasks
Instances start
Tasks placed
Application First
Amazon ECS Capacity Provider: The Missing Link
ECS Cluster
EC2 Auto Scaling Group
ECS Tasks
EC2 Instances
ECS Capacity Provider
Create Cluster (one time)
Create ASG (one time)
Create CP (one time)
Run Tasks
Instances start
Tasks placed
Happy hour :)
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Application First
Amazon ECS Capacity Provider: Fargate
ECS Cluster
ECS Tasks
ECS Capacity Provider
Create Cluster (one time)
Run Tasks
Happy hour :)
ECS Cluster Auto Scaling
• (中文) <AWS re:Invent 2019 新發佈擴展策略
Amazon ECS Cluster Capacity Providers> on
ernestchiang.com
• <CON325 - Enabling application-first
thinking with Amazon ECS capacity
providers>, re:Invent 2019
• < Deep Dive on Amazon ECS Cluster Auto
Scaling> on AWS Container Blog
Reference
Thank you!
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Ernest Chiang
ernest@pafers.com
@dwchiang
ernestchiang.com
為了管理與經營經驗的傳承,本次透過為
期五個月的計畫,邀請擁有豐富經驗的會
員透過三大領域,透過小團隊緊密對談與
傳承。
協助 Mentee 在技術領導的道路上披荊斬
棘,縮短種子輪到A輪(0到100的團隊管
理),串流起開放的交流平台。
導生 R&R
● 以 3 年以上工作經驗往管理職,
或是正在管理上的新手
● 導生需協助整理所交流的知識
● 不得超過一次缺席,若有則喪失資格
導師 R&R
● 導師自行安排討論
主題與進行方式
● 每組至少每個月交流一次
技術管理:以技術管理為主的技術
高管,進行各項技術管理議題討論,
如:技術效能、團隊管理等
技術架構:以架構師為主,進行各
項技術架構議題討論,如:技術選
型、架構規劃等
技術創業:以技術背景並有自行創業
的夥伴為主,如:技術建立商業壁壘、
公司運營、行銷推廣等
三大領域
報名連結 網站連結

Mais conteúdo relacionado

Mais procurados

Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用
Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用
Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用
Amazon Web Services
 
Track 6 Session 3_如何藉由 AWS AI 和機器學習平台搭建多功能的 AI 解決方案.pptx
Track 6 Session 3_如何藉由 AWS AI 和機器學習平台搭建多功能的 AI 解決方案.pptxTrack 6 Session 3_如何藉由 AWS AI 和機器學習平台搭建多功能的 AI 解決方案.pptx
Track 6 Session 3_如何藉由 AWS AI 和機器學習平台搭建多功能的 AI 解決方案.pptx
Amazon Web Services
 

Mais procurados (20)

AWS Technical Essentials Day
AWS Technical Essentials DayAWS Technical Essentials Day
AWS Technical Essentials Day
 
Analyzing Your Web and Application Logs
Analyzing Your Web and Application Logs Analyzing Your Web and Application Logs
Analyzing Your Web and Application Logs
 
What is Cloud Computing with AWS?
What is Cloud Computing with AWS?What is Cloud Computing with AWS?
What is Cloud Computing with AWS?
 
AWS Webinar Series - Cost Optimisation Levers, Tools, and Strategies
AWS Webinar Series - Cost Optimisation Levers, Tools, and StrategiesAWS Webinar Series - Cost Optimisation Levers, Tools, and Strategies
AWS Webinar Series - Cost Optimisation Levers, Tools, and Strategies
 
aws basics
aws basicsaws basics
aws basics
 
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
AWSome Day Online 2020_โมดูล 4: การรักษาความปลอดภัยแอปพลิเคชันบนระบบคลาวด์ของคุณ
AWSome Day Online 2020_โมดูล 4: การรักษาความปลอดภัยแอปพลิเคชันบนระบบคลาวด์ของคุณAWSome Day Online 2020_โมดูล 4: การรักษาความปลอดภัยแอปพลิเคชันบนระบบคลาวด์ของคุณ
AWSome Day Online 2020_โมดูล 4: การรักษาความปลอดภัยแอปพลิเคชันบนระบบคลาวด์ของคุณ
 
BDA305 Building Data Lakes and Analytics on AWS
BDA305 Building Data Lakes and Analytics on AWSBDA305 Building Data Lakes and Analytics on AWS
BDA305 Building Data Lakes and Analytics on AWS
 
AWS 101 - Tel Aviv Summit 2018
AWS 101 - Tel Aviv Summit 2018AWS 101 - Tel Aviv Summit 2018
AWS 101 - Tel Aviv Summit 2018
 
Technical Essentials Training: AWS Innovate Ottawa
Technical Essentials Training: AWS Innovate OttawaTechnical Essentials Training: AWS Innovate Ottawa
Technical Essentials Training: AWS Innovate Ottawa
 
Introduction to AWS Workshop Series
Introduction to AWS Workshop SeriesIntroduction to AWS Workshop Series
Introduction to AWS Workshop Series
 
Getting Started on AWS - AWSome Day Dallas 2018
Getting Started on AWS - AWSome Day Dallas 2018Getting Started on AWS - AWSome Day Dallas 2018
Getting Started on AWS - AWSome Day Dallas 2018
 
Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用
Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用
Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用
 
AWS 101
AWS 101AWS 101
AWS 101
 
Track 6 Session 3_如何藉由 AWS AI 和機器學習平台搭建多功能的 AI 解決方案.pptx
Track 6 Session 3_如何藉由 AWS AI 和機器學習平台搭建多功能的 AI 解決方案.pptxTrack 6 Session 3_如何藉由 AWS AI 和機器學習平台搭建多功能的 AI 解決方案.pptx
Track 6 Session 3_如何藉由 AWS AI 和機器學習平台搭建多功能的 AI 解決方案.pptx
 
Elasticity and Management
Elasticity and ManagementElasticity and Management
Elasticity and Management
 
Power up Your AWS Data Lake and Warehouse with Trusted Data (Sponsored by Tal...
Power up Your AWS Data Lake and Warehouse with Trusted Data (Sponsored by Tal...Power up Your AWS Data Lake and Warehouse with Trusted Data (Sponsored by Tal...
Power up Your AWS Data Lake and Warehouse with Trusted Data (Sponsored by Tal...
 
ENT207-The Future of Enterprise IT.pdf
ENT207-The Future of Enterprise IT.pdfENT207-The Future of Enterprise IT.pdf
ENT207-The Future of Enterprise IT.pdf
 
AWS Immersion Day - Image Data Insights & Analytics Specialist Session - June...
AWS Immersion Day - Image Data Insights & Analytics Specialist Session - June...AWS Immersion Day - Image Data Insights & Analytics Specialist Session - June...
AWS Immersion Day - Image Data Insights & Analytics Specialist Session - June...
 
AWS 101
AWS 101AWS 101
AWS 101
 

Semelhante a AWS 微服務架構分享

Cost Optimization for Microsoft Workloads on AWS - AWS Transformation Day: Sa...
Cost Optimization for Microsoft Workloads on AWS - AWS Transformation Day: Sa...Cost Optimization for Microsoft Workloads on AWS - AWS Transformation Day: Sa...
Cost Optimization for Microsoft Workloads on AWS - AWS Transformation Day: Sa...
Amazon Web Services
 

Semelhante a AWS 微服務架構分享 (20)

Semplificare la gestione dei container con i servizi AWS
Semplificare la gestione dei container con i servizi AWSSemplificare la gestione dei container con i servizi AWS
Semplificare la gestione dei container con i servizi AWS
 
[NEW LAUNCH!] Scaling Tightly-coupled HPC workloads on HPC with Elastic Fabri...
[NEW LAUNCH!] Scaling Tightly-coupled HPC workloads on HPC with Elastic Fabri...[NEW LAUNCH!] Scaling Tightly-coupled HPC workloads on HPC with Elastic Fabri...
[NEW LAUNCH!] Scaling Tightly-coupled HPC workloads on HPC with Elastic Fabri...
 
ARC205_Born in the Cloud
ARC205_Born in the CloudARC205_Born in the Cloud
ARC205_Born in the Cloud
 
Connect and Interconnect – The Mesh of Event-Driven Compute and Marvelous Vir...
Connect and Interconnect – The Mesh of Event-Driven Compute and Marvelous Vir...Connect and Interconnect – The Mesh of Event-Driven Compute and Marvelous Vir...
Connect and Interconnect – The Mesh of Event-Driven Compute and Marvelous Vir...
 
Compute@Scale
Compute@ScaleCompute@Scale
Compute@Scale
 
CMP209_Getting started with Docker on AWS
CMP209_Getting started with Docker on AWSCMP209_Getting started with Docker on AWS
CMP209_Getting started with Docker on AWS
 
Containers - State of the Union
Containers - State of the UnionContainers - State of the Union
Containers - State of the Union
 
AWS解決方案介紹和展示
AWS解決方案介紹和展示AWS解決方案介紹和展示
AWS解決方案介紹和展示
 
Increase Speed and Agility with Amazon Web Services
Increase Speed and Agility with Amazon Web ServicesIncrease Speed and Agility with Amazon Web Services
Increase Speed and Agility with Amazon Web Services
 
Increase Speed and Agility with Amazon Web Services
Increase Speed and Agility with Amazon Web ServicesIncrease Speed and Agility with Amazon Web Services
Increase Speed and Agility with Amazon Web Services
 
Cost Optimization for Microsoft Workloads on AWS - AWS Transformation Day: Sa...
Cost Optimization for Microsoft Workloads on AWS - AWS Transformation Day: Sa...Cost Optimization for Microsoft Workloads on AWS - AWS Transformation Day: Sa...
Cost Optimization for Microsoft Workloads on AWS - AWS Transformation Day: Sa...
 
Startup Best Practices on AWS
Startup Best Practices on AWSStartup Best Practices on AWS
Startup Best Practices on AWS
 
AWS re:Invent 2016: Workshop: Deploy a Deep Learning Framework on Amazon ECS ...
AWS re:Invent 2016: Workshop: Deploy a Deep Learning Framework on Amazon ECS ...AWS re:Invent 2016: Workshop: Deploy a Deep Learning Framework on Amazon ECS ...
AWS re:Invent 2016: Workshop: Deploy a Deep Learning Framework on Amazon ECS ...
 
Building Web Apps on AWS
Building Web Apps on AWSBuilding Web Apps on AWS
Building Web Apps on AWS
 
Leo Zhadanovsky - Building Web Apps with AWS CodeStar and AWS Elastic Beansta...
Leo Zhadanovsky - Building Web Apps with AWS CodeStar and AWS Elastic Beansta...Leo Zhadanovsky - Building Web Apps with AWS CodeStar and AWS Elastic Beansta...
Leo Zhadanovsky - Building Web Apps with AWS CodeStar and AWS Elastic Beansta...
 
10 Pro Tips for Scaling Your Startup from 0-10M Users
10 Pro Tips for Scaling Your Startup from 0-10M Users10 Pro Tips for Scaling Your Startup from 0-10M Users
10 Pro Tips for Scaling Your Startup from 0-10M Users
 
DEV305_Manage Your Applications with AWS Elastic Beanstalk.pdf
DEV305_Manage Your Applications with AWS Elastic Beanstalk.pdfDEV305_Manage Your Applications with AWS Elastic Beanstalk.pdf
DEV305_Manage Your Applications with AWS Elastic Beanstalk.pdf
 
AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)
AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)
AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)
 
Workshop: Deploy a Deep Learning Framework on Amazon ECS
Workshop: Deploy a Deep Learning Framework on Amazon ECSWorkshop: Deploy a Deep Learning Framework on Amazon ECS
Workshop: Deploy a Deep Learning Framework on Amazon ECS
 
Amazon ECS (March 2016)
Amazon ECS (March 2016)Amazon ECS (March 2016)
Amazon ECS (March 2016)
 

Mais de Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

Mais de Amazon Web Services (20)

Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 
Come costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWSCome costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWS
 
AWS Serverless per startup: come innovare senza preoccuparsi dei server
AWS Serverless per startup: come innovare senza preoccuparsi dei serverAWS Serverless per startup: come innovare senza preoccuparsi dei server
AWS Serverless per startup: come innovare senza preoccuparsi dei server
 

AWS 微服務架構分享

  • 1. TAIPEI 開 發 者 交 流 之 夜
  • 2. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS 微服務架構分享 用 ECS 打造跨國物聯網服務 Ernest Chiang . Director of Product & Technology Integration PAFERS Tech
  • 3. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS 微服務架構分享 用 ECS 打造跨國傳統產業物聯網服務 Ernest Chiang . Director of Product & Technology Integration PAFERS Tech
  • 4. 助⼒力力會成為卓越的科技領導者 ⽬目前 會 員 870 ⼈人 構建全球化的有技術背景的優秀⼈人才學 習成長平台 在 12 個城市建立分會 TGONetworks介绍introduction of tgonetworks club TGONetworks是科技領導者聚集和交流的組織, 以CTO、 CPO、 COO、 技術 VP 等科技領導者為服務 對象, 採⽤用實 名 制付費會員, 嚴格審查會員資格, 旨在構建全球化的有技術背景的優秀⼈人才學成長平 台, 線上線下相结合, 連結傑出的科技領導者學習與成長。 使命 願景
  • 5. 臺北董事會成員 李致緯 iCook 愛料理理技 術 長 會長 學習委員 會籍委員 服務委員 ⼩小組委 員 莊靈 慧邦科技技術長 黃智彬 舉⼿手電 商營運長 王志清 領投肯科技技術長、 安世泰有限公司 聯聯合 創 始⼈人 曾義峰 書亞集成股份 技術負責⼈人 林林秉 毅 天鏡科技技術長 林林瑞 男 PIXNET 痞客邦技術總監 蔣鐙緯 PAFERS Director of Product & Technology Integration 游舒帆 箴亞管理理有 限公司 負責⼈人 施政源 Fable 寓意科技CEO 沙⼠士翔 領投肯科技 資深產品經理理 TGONetworks各地董事會The boards of directors of TGONetworks Club
  • 6. Ernest Chiang Open Source, AWS, Bluetooth
  • 10. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 12.
  • 13. RPM Distance Speed Duration Incline Calories HR Level Watt
  • 14.
  • 15.
  • 16.
  • 17. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. We are Fitness Service company focus on Fitness Industry. PAFERS Tech
  • 18. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. We are the remote Product & RD department of our global clients. PAFERS Tech
  • 19. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 20. Get Connected (1/4) • How can we connects all our fitness equipment and client services with all the end users? Such as fitness equipment brands, gym managers, trainers, exercisers, etc.
  • 23. Get Connected (4/4) • Multiple applications facing to different stakeholders. • Split/migrate applications into multiple services.
  • 26. Global Market (3/6) • How to operate multiple IT systems and Application services for multiple regions with limited human resource? • Can we have the same technical skill sets and knowledge base when across regions? Such as the same CI/CD workflow, the same deployment technology, the same environment parameters, the same monitoring tools, the same failure recovery mechanism, etc. • Can we have the same contact windows and seamless support when across regions? • How to optimize selection and evaluation of technology when across regions?
  • 27. Global Market (4/6) • AWS Region Table https://aws.amazon.com/about-aws/global-infrastructure/regional- product-services/
  • 28. Global Market (5/6) • AWS CodePipeline + AWS CodeBuild • Amazon ECS (Elastic Container Service)
  • 29. Global Market (6/6) • AWS Support
  • 30. Resource & Budget (1/3) • How to build an IT and/or RD team from scratch? • How to operate multiple IT systems and Application services for 30+ countries with limited human resource? • How to focus on core values and core business?
  • 31. Resource & Budget (2/3) • Make objectives clear. • Make workflows clear. • Leverage workflow automation. • Leverage partners resource. • Leverage managed services. Why How What
  • 32. Resource & Budget (3/3) • Outcome example • We set up our AWS China cluster based on our AWS Global cluster architecture (and did some other l10n, testing works) within 1 week.
  • 33. Issues  Traditional Industries  Multiple Continents  Operations ECS
  • 34. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 35. ECS Cluster Auto Scaling Terminology ECS Cluster ECS Task ECS Service A logical namespace. The basic unit. Similar to k8s pods. Service can have many tasks. Auto-replaces failed tasks.
  • 36. ECS Cluster Auto Scaling Before ECS Cluster Create Cluster
  • 37. ECS Cluster Auto Scaling Before ECS Cluster EC2 Auto Scaling Group Create Cluster Create ASG
  • 38. ECS Cluster Auto Scaling Before ECS Cluster EC2 Auto Scaling Group EC2 Instances Create Cluster Create ASG Start Instances
  • 39. ECS Cluster Auto Scaling Before ECS Cluster EC2 Auto Scaling Group ECS Tasks EC2 Instances Create Cluster Create ASG Start Instances Run Tasks
  • 40. ECS Cluster Auto Scaling Before ECS Cluster EC2 Auto Scaling Group ECS Tasks EC2 Instances Create Cluster Create ASG Start Instances Run Tasks But…!!!
  • 41. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 42. Application First Amazon ECS Capacity Provider: The Missing Link ECS Cluster Create Cluster (one time)
  • 43. Application First Amazon ECS Capacity Provider: The Missing Link ECS Cluster EC2 Auto Scaling Group Create Cluster (one time) Create ASG (one time)
  • 44. Application First Amazon ECS Capacity Provider: The Missing Link ECS Cluster EC2 Auto Scaling Group ECS Capacity Provider Create Cluster (one time) Create ASG (one time) Create CP (one time)
  • 45. Application First Amazon ECS Capacity Provider: The Missing Link ECS Cluster EC2 Auto Scaling Group ECS Tasks ECS Capacity Provider Create Cluster (one time) Create ASG (one time) Create CP (one time) Run Tasks
  • 46. Application First Amazon ECS Capacity Provider: The Missing Link ECS Cluster EC2 Auto Scaling Group ECS Tasks EC2 Instances ECS Capacity Provider Create Cluster (one time) Create ASG (one time) Create CP (one time) Run Tasks Instances start
  • 47. Application First Amazon ECS Capacity Provider: The Missing Link ECS Cluster EC2 Auto Scaling Group ECS Tasks EC2 Instances ECS Capacity Provider Create Cluster (one time) Create ASG (one time) Create CP (one time) Run Tasks Instances start Tasks placed
  • 48. Application First Amazon ECS Capacity Provider: The Missing Link ECS Cluster EC2 Auto Scaling Group ECS Tasks EC2 Instances ECS Capacity Provider Create Cluster (one time) Create ASG (one time) Create CP (one time) Run Tasks Instances start Tasks placed Happy hour :)
  • 49. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 50. Application First Amazon ECS Capacity Provider: Fargate ECS Cluster ECS Tasks ECS Capacity Provider Create Cluster (one time) Run Tasks Happy hour :)
  • 51. ECS Cluster Auto Scaling • (中文) <AWS re:Invent 2019 新發佈擴展策略 Amazon ECS Cluster Capacity Providers> on ernestchiang.com • <CON325 - Enabling application-first thinking with Amazon ECS capacity providers>, re:Invent 2019 • < Deep Dive on Amazon ECS Cluster Auto Scaling> on AWS Container Blog Reference
  • 52. Thank you! © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Ernest Chiang ernest@pafers.com @dwchiang ernestchiang.com
  • 53. 為了管理與經營經驗的傳承,本次透過為 期五個月的計畫,邀請擁有豐富經驗的會 員透過三大領域,透過小團隊緊密對談與 傳承。 協助 Mentee 在技術領導的道路上披荊斬 棘,縮短種子輪到A輪(0到100的團隊管 理),串流起開放的交流平台。 導生 R&R ● 以 3 年以上工作經驗往管理職, 或是正在管理上的新手 ● 導生需協助整理所交流的知識 ● 不得超過一次缺席,若有則喪失資格 導師 R&R ● 導師自行安排討論 主題與進行方式 ● 每組至少每個月交流一次 技術管理:以技術管理為主的技術 高管,進行各項技術管理議題討論, 如:技術效能、團隊管理等 技術架構:以架構師為主,進行各 項技術架構議題討論,如:技術選 型、架構規劃等 技術創業:以技術背景並有自行創業 的夥伴為主,如:技術建立商業壁壘、 公司運營、行銷推廣等 三大領域 報名連結 網站連結