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

EKS を使ってる人から見た App Runner

shogomuranushi
June 09, 2021
2.4k

EKS を使ってる人から見た App Runner

shogomuranushi

June 09, 2021
Tweet

More Decks by shogomuranushi

Transcript

  1. [Online] nakanoshima.dev#1 7 Let's start App Runner ! 2021.06.0 9

    ABEJA, Inc . Shogo Muranushi EKS Λ࢖ͬͯΔਓ͔Βݟͨ App Runner
  2. @rwle1212 2 ໊લ ɿ ଜओ ૖ޛʢΉΒ͵͠ ͠ΐ͏͝ʣ ձࣾ ɿ ABEJA,

    Inc . ۀ຿ ɿΠϯϑϥΤϯδχΞ -> ϓϩμΫτΦʔφʔ -> SRE
  3. @rwle1212 6 EKSͬͯԿʁ ʢ௒֓ཁʣ • KubernetsͷΫϥελʔΛϚωʔδυͯ͘͠ΕΔ΍ͭ • ਖ਼໊ࣜশ͸Amazon Elastic Kubernetes

    Servic e • Kubernetesͱ͸ • એݴతͳߏ੒؅ཧͱࣗಈԽΛଅਐ͠ɺίϯςφԽ͞Εͨϫʔ Ϋϩʔυ΍αʔϏεΛ؅ཧ͢ΔͨΊͷɺϙʔλϒϧͰ֦ுੑ ͷ͋ΔΦʔϓϯιʔεͷϓϥοτϑΥʔϜ • ίϯςφ؅ཧͷσϑΝΫτελϯμʔυ
  4. @rwle1212 10 ϊʔυͷ؅ཧ͕ෆཁ
 ʢಛʹηΩϡϦςΟ໘ָ͕ʣ • App Runnerͷ৔߹͸ • OSϨϕϧͷηΩϡϦςΟ΍ύον౳ͷ؅ཧ͕ෆཁ •

    ର֎తͳνΣοΫγʔτ΍؂ࠪͱ͔௨࣌͢ʹʮ΢ Πϧεରࡦιϑτ͸ʁʯʮIDSͱ͔ೖΕͯ·͢ ͔ʁʯͱ͔ʮʢOSϨϕϧ͸ʣશ෦AWS͞Μ͕΍ͬ ͯ·͢ʂ஍ٿن໛ͰʂʯͰOK :shirankedo : • AWS Systems Managerͷػೳ܈ݟͨ࣌ʹ಄͕௧͘ͳͬͨͷͰɺͦΕΒΛ֮͑ͳ͘ ͯྑ͍ͳΜͯʂ
  5. @rwle1212 17 AWSͷίϯςφαʔϏε • ECSܥ: ECS, Fargate, ECS Anywher e

    • EKSܥ: EKS, Fargate, EKS Anywhere (coming 2021 ) • Lightsai l • Elastic Beanstalk
  6. @rwle1212 23 EKS / ECS Λબ୒͢Δ࣌ • ෳ਺ͷΞϓϦέʔγϣϯΛҰݩͰ؅ཧ͍ͨ͠ • Service

    Discovery, Daemonset, etc. . • ϊʔυʢΠϯελϯελΠϓʣΛ੍ݶͳ͘࢖͍͍ͨ • ϋΠύϑΥʔϚϯεΠϯελϯε • ಛघΠϯελϯεʢGPU, ARM, AMD, Mac, etc.. ʣ • KubernetesΤίγεςϜͷOSSΛϑϧ׆༻͍ͨ͠ • ࠓճ͸ App Runner vs Any Container Service ͳͷͰफڭઓ૪ʢECS vs EKSʣͷ࿩͸ׂѪ͠·͢
  7. @rwle1212 26 GK E GKE Autopilo t Cloud Run 26

    Google Cloud EKS૬౰ɻEKSΑΓָɻEKSΑΓࣗ༝౓௿͍ɻ ָΛऔΔ͔ɺࣗ༝౓ΛऔΔ͔޷Έɻݸਓతʹ͸EKSͷํ͕޷͖ʹ࡞ΕΔ͔Β޷͖ Fargate EKSʹ͍ۙɻΫϥελʔ΋ϊʔυͷ؅ཧ΋ෆཁɻ Fargate EKSͱͷҧ͍͸ɺ΄ͱΜͲૉͷঢ়ଶͰ࢖͑ΔɻFargate EKS͸৭ʑ੍ݶ͋ Δɻݸਓతʹ͸Ϋϥελ΋ϊʔυ΋؅ཧͨ͘͠ͳ͍͚Ͳૉͷࣗ༝౓͕ཉ͍͠ͷͰɺ KubernetesΫϥελͱͯ͠͸ܾఆ൛ɻ Fargate / App Runnerʹ͍͚ۙͲɺৗ࣌ىಈܕͰ͸ͳ͘αʔόϨεతͳΠϕϯτ υϦϒϯܕɻ ΠϕϯτυϦϒϯʢFaaSʣͷίετମܥ͕ັྗͰίϯςφͷࣗ༝౓Λ݉Ͷඋ͑ͨ
  8. @rwle1212 28 ֤ίϯςφαʔϏεͷҐஔ෇͚ γϯϓϧ ֦ுੑ௿͍ ෳࡶ ֦ுੑߴ͍ &,4 (,& &$4

    'BSHBUF (,&"VUPQJMPU "QQ3VOOFS $MPVE3VO ΍͸ΓKubernetesܥ͸OSS౳ଟ͍ͷͰ৭ʑ֦ுͰ͖Δ
  9. @rwle1212 29 ֤ίϯςφαʔϏεͷҐஔ෇͚ γϯϓϧ ֦ுੑ௿͍ ෳࡶ ֦ுੑߴ͍ &,4 (,& &$4

    'BSHBUF (,&"VUPQJMPU "QQ3VOOFS $MPVE3VO ϊʔυ؅ཧෆཁͳͷ͸
  10. @rwle1212 30 ֤ίϯςφαʔϏεͷҐஔ෇͚ γϯϓϧ ֦ுੑ௿͍ ෳࡶ ֦ுੑߴ͍ &,4 (,& &$4

    'BSHBUF (,&"VUPQJMPU "QQ3VOOFS $MPVE3VO Ͱ͖Δ͜ͱ੍͕ݶ͞Ε͍ͯΔ෼
  11. @rwle1212 32 ๻͕ཉ͍͠΋ͷ • ؆୯ͳ΋ͷΑΓɺγϯϓϧͳ΋ͷ͕ཉ͍͠ • ϥούʔαʔϏε΍݁ہ৭ʑͳαʔϏεΛ֮͑ͳ͍ͱ͍͚ͳ͍ ෳࡶͳϞϊ͸ආ͚͍ͨ • App

    Runnner Έ͍ͨʹ૯߹తʹɺ͋·Γҙࣝ͢Δ͜ͱͳ͘উखʹ΍ͬ ͯ͘ΕΔγϯϓϧͳ΋ͷ͕͍͍ • ʮυϦϧΛങ͍ʹདྷͨਓ͕ཉ͍͠ͷ͸υϦϧͰ͸ͳ݀͘Ͱ͋Δʯ
  12. 34