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

AWS Dev Day Taipei 2020: 技術選型: Amazon ECS Launc...

Ernest Chiang
December 04, 2020

AWS Dev Day Taipei 2020: 技術選型: Amazon ECS Launch Types: EC2 vs. Fargate

Technology Selection: Amazon ECS Launch Types: EC2 vs. Fargate

in zh-TW

at AWS DEV DAY TAIPEI 2020

Dec/04, 2020

Ernest Chiang

December 04, 2020
Tweet

More Decks by Ernest Chiang

Other Decks in Technology

Transcript

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

    rights reserved. T A I P E I Technology Selection: Amazon ECS Launch Types: Fargate vs. EC2 HC Lo Solutions Architect AWS T r a c k A Ernest Chiang Director of Product & Technology Integration at PAFERS Tech AWS Community Hero 1 2 . 0 4 . 2 0
  2. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Agenda Technology Selection Overview Amazon ECS Amazon ECS Launch Type Comparison
  3. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Opening (0/0) 有些問題, 不是選擇 EC2/Fargate Launch Type 之後, 就能解決。
  4. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Ernest Chiang Worked on process integration engineering in semiconductor industry @tsmc. Doing product and technology integration in fitness industry @pafers. #bluetooth Off Work AWS Community Hero. TGONetworks Taipei. COSCUP. Mozillian. AIESECer.
  5. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Preparation (0/2) 今日分享 比較傳產 若太土砲 還請見諒
  6. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Preparation (1/2) 目的 想要/希望/要 方法 會不會/能不能/知不知道/可不可以
  7. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Preparation (2/2) 主詞 + 動詞
  8. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Selection (1/1) 想像 環境 拆解 選擇 目的
  9. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Imagination (0/1) 說雲端太遙遠 聊美食好上手 說得一口好菜 聊了一朵好雲
  10. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Imagination (1/1) 邀請大家 想像一下
  11. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Goal 選擇一種燒烤店類型吃牛排
  12. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Environment (0/16) 這樣介紹可能會被主辦單位說不行 -- 因為可能只有標題寫到 Fargate (被打 但是可能未來會吸引燒烤店贊助商 -- 自我揭露: ex-Sponsorship Team of COSCUP
  13. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Environment (1/16) 燒烤店 -- 四人桌 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 自己動手烤
  14. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Environment (2/16) 燒烤店 Type A -- 四人桌 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 自己動手烤
  15. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Environment (3/16) 燒烤店 彈性燒烤 Type -- 四人桌 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 自己動手烤經常烤焦
  16. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Environment (4/16) 燒烤店 彈性烤了又烤 Type -- 四人桌 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 自己動手烤經常烤焦
  17. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Environment (5/16) 燒烤店 Elastic Cow了又Cow Type -- 四人桌 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 自己動手烤
  18. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Environment (6/16) 燒烤店 EC2 Type -- 四人桌 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 自己動手烤
  19. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Environment (7/16) 燒烤店 EC2 Type -- 四人桌 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 自己動手烤 燒烤店 -- 吧台 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 服務人員烤+陪聊
  20. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Environment (8/16) 燒烤店 EC2 Type -- 四人桌 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 自己動手烤 燒烤店 Type B -- 吧台 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 服務人員烤+陪聊
  21. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Environment (9/16) 燒烤店 EC2 Type -- 四人桌 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 自己動手烤 燒烤店 自在燒烤 Type -- 吧台 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 服務人員烤+陪聊
  22. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Environment (10/16) 燒烤店 EC2 Type -- 四人桌 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 自己動手烤 燒烤店 自在燒烤 Type -- 吧台 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 服務人員烤+陪聊 (通常吧台店面屬於狹長型)
  23. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Environment (11/16) 燒烤店 EC2 Type -- 四人桌 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 自己動手烤 燒烤店 自在燒烤 Type -- 吧台 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 服務人員烤+陪聊 (坐在門口位置比較容易被打擾)
  24. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Environment (12/16) 燒烤店 EC2 Type -- 四人桌 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 自己動手烤 燒烤店 自在燒烤 Type -- 吧台 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 服務人員烤+陪聊 (老闆請問還有位置嗎?)
  25. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Environment (13/16) 燒烤店 EC2 Type -- 四人桌 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 自己動手烤 燒烤店 自在燒烤 Type -- 吧台 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 服務人員烤+陪聊 (或是冬天容易冷風一陣一陣…)
  26. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Environment (14/16) 燒烤店 EC2 Type -- 四人桌 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 自己動手烤 燒烤店 自在燒烤 Type -- 吧台 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 服務人員烤+陪聊 (經過一陣校調之後…)
  27. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Environment (15/16) 燒烤店 EC2 Type -- 四人桌 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 自己動手烤 燒烤店 Far Gate Type -- 吧台 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 服務人員烤+陪聊 (讓我們坐在離門遠一些的位置…)
  28. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Environment (16/16) 燒烤店 EC2 Type -- 四人桌 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 自己動手烤 燒烤店 Fargate Type -- 吧台 -- 烤爐 -- 烤盤 -- 熱源 -- 兩公分厚牛排 -- 服務人員烤+陪聊
  29. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Goal (Keep remind) 選擇一種燒烤店類型吃牛排
  30. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Factors (1/8) 變因 -- Factors/嘔吐法/限制條件/邊界條件
  31. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Factors (2/8) 烤爐 -- 品牌/尺寸/材質/大小/導熱性/通風性/熱流/氣流
  32. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Factors (3/8) 烤爐 -- 品牌/尺寸/材質/大小/導熱性/通風性/熱流/氣流 烤盤 -- 位置/形狀/品牌/尺寸/材質/大小/高度/溫度/沾黏
  33. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Factors (4/8) 烤爐 -- 品牌/尺寸/材質/大小/導熱性/通風性/熱流/氣流 烤盤 -- 位置/形狀/品牌/尺寸/材質/大小/高度/溫度/沾黏 熱源 -- 木炭/瓦斯/原子炭/龍眼木炭/荔枝木炭/炭精/被長嘆(咦)
  34. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Factors (5/8) 食材 -- 牛排/厚度/部位/產地/儲藏/醃製/時間/熟成/處理
  35. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Factors (6/8) 食材 -- 牛排/厚度/部位/產地/儲藏/醃製/時間/熟成/處理 製程 -- 前製程/灑鹽/奶油/迷迭香/溫度/直火/間接火/先高後低/ \ -- LowAndSlow/後製程/靜置/時間
  36. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Goal (Keep remind) 選擇一種燒烤店類型吃牛排
  37. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Selection (0/8) 小孩子才做選擇,大人全部都要 每個大人,心裡都住著一個孩子 -- do chi?
  38. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Selection (1/8) 客觀條件 主觀條件
  39. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Selection (2/8) 客觀條件: Factors 展開表/比較表/… 主觀條件
  40. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Selection (3/8) 客觀條件: Factors 展開表/比較表/… 主觀條件: 蛤?
  41. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Selection (4/8) 客觀條件: 對 V 拆解 主觀條件: 對 S 拆解
  42. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Selection (5/8) 客觀條件: 對 V 拆解 à 由外/而內 主觀條件: 對 S 拆解
  43. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Selection (6/8) 客觀條件: 對 V 拆解 à 由外/而內 主觀條件: 對 S 拆解 à 能力/時間
  44. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Selection (7/8) 客觀條件: 對 V 拆解 à 由外/而內 主觀條件: 對 S 拆解 à 能力/時間 場景
  45. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Selection (8/8) 客觀條件: 技術項目/內外的 變因 展開表/比較表/… 主觀條件: 團隊能力/時間的 變因 展開表/比較表/… 場景
  46. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Factors (6/8) 食材 -- 牛排/厚度/部位/產地/儲藏/醃製/時間/熟成/處理 製程 -- 前製程/灑鹽/奶油/迷迭香/溫度/直火/間接火/先高後低/ \ -- LowAndSlow/後製程/靜置/時間
  47. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Factors (7/8) 食材 -- 牛排/厚度/部位/產地/儲藏/醃製/時間/熟成/處理 製程 -- 前製程/灑鹽/奶油/迷迭香/溫度/直火/間接火/先高後低/ \ -- LowAndSlow/後製程/靜置/時間 烹飪者 -- 能力/專長/經驗/熟練度/時間/意願
  48. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Factors (8/8) 食材 -- 牛排/厚度/部位/產地/儲藏/醃製/時間/熟成/處理 製程 -- 前製程/灑鹽/奶油/迷迭香/溫度/直火/間接火/先高後低/ \ -- LowAndSlow/後製程/靜置/時間 烹飪者 -- 能力/專長/經驗/熟練度/時間/意願 成本 -- 度量衡/單位/換算/風險
  49. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Goal (Keep remind) 選擇一種燒烤店類型吃牛排
  50. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Objective (1/1) 我想要品嚐美味的牛排 我想要體驗燒烤的樂趣 我想要享受相聚的時光
  51. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Goal (Modified) 我/我們 選擇一種燒烤店類型吃牛排
  52. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Goal (Modified) 我/我們 選擇一種燒烤店類型吃牛排 S V
  53. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Goal (Modified) 我/我們 選擇一種燒烤店類型吃牛排 S V 時間/能力 由外/而內 場景
  54. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Selection 1. 環境 2. 拆解 3. 選擇 4. 目的 5. 迭代
  55. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Goal (Modified) 我/我們 選擇一種燒烤店類型吃牛排 S V 時間/能力 由外/而內 場景
  56. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Goal (Today’s topic) 我/我們 選擇一種 Launch Type 跑程式 S V 時間/能力 由外/而內 場景
  57. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon ECS Amazon EC2 Container Service (2015) Amazon Elastic Container Service (present)
  58. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon ECS Amazon EC2 Container Service (2015) Amazon Elastic Container Service (present) -- EC2 Launch Type -- Fargate Launch Type
  59. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. ECS Task Definition
  60. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. ECS Task Definition à ECS Task
  61. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Ref: Ernest’s Amazon ECS Study Notes
  62. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Goal (Today’s topic) 我/我們 選擇一種 Launch Type 跑程式
  63. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 1 1. Register Task Definition
  64. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 2 EC2 2. Create Cluster 2 Fargate
  65. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 牛排 1. Register Task Definition
  66. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 燒烤 類型 EC2 2. Create Cluster 燒烤 類型 Fargate
  67. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 吃 3. Run Tasks 吃
  68. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Goal (Today’s topic) 我/我們 選擇一種 Launch Type 跑程式
  69. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Comparison 客觀條件: 對 V 拆解 à 由外/而內 主觀條件: 對 S 拆解 à 能力/時間 場景
  70. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Comparison 客觀條件: 技術項目/內外的 變因 展開表/比較表/… 主觀條件: 團隊能力/時間的 變因 展開表/比較表/… 場景
  71. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Comparison 由外/而內 能力/時間 場景
  72. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. EC2 Launch Type vs. Fargate Launch Type EC2 LT Fargate LT
  73. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. EC2 Instance Mgmt. EC2 LT Fargate LT Deploy and manage your own ECS cluster of EC2 instance to run the tasks. Run tasks directly, without any EC2 instance.
  74. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. EC2 Instance Mgmt. EC2 LT Fargate LT Deploy and manage your own ECS cluster of EC2 instance to run the tasks. e.g - Upgrading ECS Agent/ Upgrading AMI/ Security patch/ Adding fleet/ Removing fleet Run tasks directly, without any EC2 instance.
  75. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Task Definition Parameters EC2 LT Fargate LT Support all parameters. Not support: - disableNetworking - dnsSearchDomains - dnsServers - dockerSecurityOptions - extraHosts - gpu - ipcMode - links - pidMode - placementConstraints - privileged - systemControls
  76. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Task Definition Parameters EC2 LT Fargate LT Support all parameters. Support with limitation: - linuxParameters (When specifying Linux-specific options that are applied to the container,for capabilities the ad d parameter is not supported. The devices, sharedMemorySiz e, and tmpfs parameters are not supported.) - volumes (Fargate tasks only support bind mount host volumes, so the dockerVolumeConfiguration parameter is not supported.)
  77. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Network Mode EC2 LT Fargate LT awsvpc awsvpc bridge host none
  78. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Task CPU and Memory EC2 LT Fargate LT As you wish. Valid combination table:
  79. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Elastic File System (Amazon EFS) EC2 LT Fargate LT You can use Amazon EFS file systems with Amazon ECS to access file system data across your fleet of Amazon ECS tasks. n/a
  80. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Elastic File System (Amazon EFS) EC2 LT Fargate LT You can use Amazon EFS file systems with Amazon ECS to access file system data across your fleet of Amazon ECS tasks. n/a before version 1.4
  81. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Elastic File System (Amazon EFS)
  82. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Elastic File System (Amazon EFS)
  83. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Elastic File System (Amazon EFS) EC2 LT Fargate LT You can use Amazon EFS file systems with Amazon ECS to access file system data across your fleet of Amazon ECS tasks. You can use Amazon EFS file systems with Amazon ECS to access file system data across your fleet of Amazon ECS tasks.
  84. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Service Load Balancing EC2 LT Fargate LT ip instance ip
  85. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Task Retirement EC2 LT Fargate LT You manage. A Fargate task is scheduled to be retired when AWS detects the irreparable failure of the underlying hardware hosting the task or if a security issue needs to be patched. AWS manages.
  86. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Goal (Today’s topic) 我/我們 選擇一種 Launch Type 跑程式
  87. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. AWS Fargate with Firecracker
  88. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Ref: AWS re:Invent 2019: AWS Fargate under the hood (CON423-R1)
  89. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Comparison ECS Task Lifecycle Product Development Lifecycle
  90. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. ECS Task Lifecycle by Philipp Garbe (AWS Hero). -- PROVISIONING -- PENDING -- ACTIVATING -- RUNNING -- DEACTIVATING -- STOPPING -- DEPROVISIONING -- STOPPED
  91. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Product Dev Lifecycle by your team/culture/… -- Plan -- Develop -- Test -- Deploy -- Operate
  92. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Scenarios 產品脈絡 -- 新產品/既有產品/限制條件 使用情境 -- 計畫型/突發型/可預期/不可預期 -- 長期運作/短期使用/一次性使用/拋棄式/日拋(咦? 團隊能力 -- 可維運容器/可維運EC2/可維運___/能力分級 時間分配 -- 有能力 != 有時間/優先順序/Time-to-market
  93. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Financial Comparison Objective 各種視角 細部著手 綜觀全局
  94. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Financial Comparison 1-on-1 Capacity Larger Amount *1 Ignore ECS Agent memory consumption. *2 Using EC2 T3 series for general SME use cases. *3 DO NOT use it directly. It’s designed for brainstorming.
  95. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Capacity/Task Count Fargate 0.25 vCPU/0.5GB vs. EC2 t3.medium Fargate 0.5 vCPU/1GB vs. EC2 c5.large/c5.xlarge
  96. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Larger Amount (1~100 Tasks) How do you think? *1 Ignore ECS Agent memory consumption. *2 Using EC2 T3 series for general SME use cases. *3 DO NOT use it directly. It’s designed for brainstorming.
  97. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Larger Amount (1~100 Tasks) Adjusted w/ Ops Assume: $2,000 EC2 operation cost per month ($2.78/hour) vs. $200 Fargate operation cost per month ($0.28/hour) *1 Ignore ECS Agent memory consumption. *2 Using EC2 T3 series for general SME use cases. *3 DO NOT use it directly. It’s designed for brainstorming.
  98. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Larger Amount (1~100 Tasks) Adjusted w/ Income Assume: SaaS Model. $29/month. 1 task serves 1 customer. *1 Ignore ECS Agent memory consumption. *2 Using EC2 T3 series for general SME use cases. *3 DO NOT use it directly. It’s designed for brainstorming.
  99. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Larger Amount (1~100 Tasks) Adjusted w/ Income+Ops Things go with the complexity. -- Diff team, diff ops. -- Diff product, diff income. -- Time-to-market? -- etc…? *1 Ignore ECS Agent memory consumption. *2 Using EC2 T3 series for general SME use cases. *3 DO NOT use it directly. It’s designed for brainstorming.
  100. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Wrap-up Technology Selection -- 燒烤式選型法 Overview Amazon ECS -- Run Tasks Amazon ECS Launch Type Comparison -- EC2 LT vs. Fargate LT
  101. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Technology Selection 由外/而內 能力/時間 場景
  102. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Technology Selection 沒有最好的技術,但有最適合自己的技術。 沒有最好的行程,但有最適合自己的行程。 沒有最好的美食,但有最適合自己的美食。
  103. Thank you! © 2020, Amazon Web Services, Inc. or its

    affiliates. All rights reserved. HC Lo Solutions Architect AWS [email protected] Ernest Chiang Director of Product & Technology Integration at PAFERS Tech AWS Community Hero @dwchiang www.ernestchiang.com
  104. © 2020, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. T A I P E I 1 2 . 0 4 . 2 0