Upgrade to Pro — share decks privately, control downloads, hide ads and more …

AWS re:Invent 2019 re:Cap Taipei: Build Global ...

Ernest Chiang
January 08, 2020

AWS re:Invent 2019 re:Cap Taipei: Build Global Fitness IoT Services with AWS ECS

Presented at AWS re:Invent re:Cap 2019 Taipei with TGONetworks Taipei.

- Issues
- AWS ECS Cluster Auto Scaling (Capacity Provider)

Ernest Chiang

January 08, 2020
Tweet

More Decks by Ernest Chiang

Other Decks in Business

Transcript

  1. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. AWS n ECS Ernest Chiang . Director of Product & Technology Integration PAFERS Tech
  2. ۗێ䨝㹓౮傶ܓ᩼ጱᑀದ覿疩ᘏ ፓ獮䨝㹓 870 Ո 䯤ୌ獊純玕ጱ磪ದ蔩胙วጱ猻纨Ո಍䋊聜౮裾ଘݣ ࣁ 12 㮆उ૱ୌ缏獤䨝 TGONetworksՕᕨ introduction

    of tgonetworks club TGONetworksฎᑀದ覿疩ᘏ肞褸޾Ի窕ጱ奲而牧犥CTO牏CPO牏COO牏ದ蔩 VP 缛ᑀದ覿疩ᘏ傶๐率 䌘虡牧䟖አ䋿ݷګ՞揲䨝㹓牧瑥໒疛礚䨝㹓虻໒牧碫ࣁ䯤ୌ獊純玕ጱ磪ದ蔩胙วጱ猻纨Ո಍䋊聜౮裾ଘ ݣ牧娄Ӥ娄ӥፘᕮݳ牧蝫奾猈ڊጱᑀದ覿疩ᘏ䋊聜膏౮裾牐 ֵ޸ 氎ว
  3. 岄玖茙Ԫ䨝౮㹓 磷膌翨
 iCook 眢碘ቘದ蔩裾 䨝裾 䋊聜甛㹓 䨝罕甛㹓 ๐率甛㹓 ੜ奲甛㹓 艾覄

    眻螸ᑀದದ蔩裾 讙ฬ୺ 膐ಋ襎珶籧螀裾 ሴப竃
 覿ಭ胋ᑀದದ蔩裾牏 ਞӮ窊磪褖獍ݪ 肥ݳ獺তՈ ้嬝痷 䨗㫎褸౮胂犩 ದ蔩揗揣Ո ຋ᐽ穂
 ॠ椷ᑀದದ蔩裾 ຋ታካ PIXNET 綮ਮ螸ದ蔩者緳 莟楯翨 PAFERS Director of Product & Technology Integration ჋ᛥ૴ ᓠ㫎ᓕቘ磪褖獍ݪ 揗揣Ո 碞硰რ Fable ੇ఺ᑀದCEO ဉॊᗼ 覿ಭ胋ᑀದ 虻窼叨ߝ妿ቘ TGONetworksݱ瑿茙Ԫ䨝 The boards of directors of TGONetworks Club
  4. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. We are Fitness Service company focus on Fitness Industry. PAFERS Tech
  5. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. We are the remote Product & RD department of our global clients. PAFERS Tech
  6. 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.
  7. Get Connected (4/4) • Multiple applications facing to different stakeholders.

    • Split/migrate applications into multiple services.
  8. 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?
  9. Global Market (5/6) • AWS CodePipeline + AWS CodeBuild •

    Amazon ECS (Elastic Container Service)
  10. 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?
  11. Resource & Budget (2/3) • Make objectives clear. • Make

    workflows clear. • Leverage workflow automation. • Leverage partners resource. • Leverage managed services. Why How What
  12. 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.
  13. 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.
  14. ECS Cluster Auto Scaling Before ECS Cluster EC2 Auto Scaling

    Group EC2 Instances Create Cluster Create ASG Start Instances
  15. ECS Cluster Auto Scaling Before ECS Cluster EC2 Auto Scaling

    Group ECS Tasks EC2 Instances Create Cluster Create ASG Start Instances Run Tasks
  16. ECS Cluster Auto Scaling Before ECS Cluster EC2 Auto Scaling

    Group ECS Tasks EC2 Instances Create Cluster Create ASG Start Instances Run Tasks But… !!!
  17. Application First Amazon ECS Capacity Provider: The Missing Link ECS

    Cluster EC2 Auto Scaling Group Create Cluster (one time) Create ASG (one time)
  18. 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)
  19. 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
  20. 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
  21. 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
  22. 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 :)
  23. Application First Amazon ECS Capacity Provider: Fargate ECS Cluster ECS

    Tasks ECS Capacity Provider Create Cluster (one time) Run Tasks Happy hour :)
  24. 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
  25. Thank you! © 2020, Amazon Web Services, Inc. or its

    affiliates. All rights reserved. Ernest Chiang [email protected] @dwchiang ernestchiang.com
  26. t 0 A A 3 0 0 1 e &

    t t t t & e t t & t t M