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

AWS App Runner + copilot cli

AWS App Runner + copilot cli

2021/07/03 開催された「AWSの基礎を学ぼう 特別編 最新サービスをみんなで触ってみる AWS App Runner」(https://awsbasics.connpass.com/event/213933/) での発表資料です。

jacoyutorius

July 03, 2021
Tweet

More Decks by jacoyutorius

Other Decks in Technology

Transcript

  1. ᶃ.BOBHFNFOU$POTPMF͔Β&$3࡞੒ ᶄ&$3ʹΠϝʔδΛϓογϡ ᶅ.BOBHFNFOU$POTPMF͔Β"QQ3VOOFSΛϙνϙν $ docker build -t hello-nginx . $

    docker tag hello-nginx:latest 865422985541.dkr.ecr.ap-northeast-1.amazonaws.com/hello-nginx:latest $ docker push 865422985541.dkr.ecr.ap-northeast-1.amazonaws.com/hello-nginx:latest Management Console ͔Β࡞Δ (Node, Python Ҏ֎)
  2. ᶃ.BOBHFNFOU$POTPMF͔Β&$3࡞੒ ᶄ&$3ʹΠϝʔδΛϓογϡ ᶅ.BOBHFNFOU$POTPMF͔Β"QQ3VOOFSΛϙνϙν $ docker build -t hello-nginx . $

    docker tag hello-nginx:latest 865422985541.dkr.ecr.ap-northeast-1.amazonaws.com/hello-nginx:latest $ docker push 865422985541.dkr.ecr.ap-northeast-1.amazonaws.com/hello-nginx:latest ᶃDPQJMPUJOJU copilot cli ͔Β࡞Δ
  3. App Runner + copilot cli w ίϚϯυҰൃͰ"QQ3VOOFSͷߏங͕Ͱ͖Δ w "QQ3VOOFSͷઃఆϑΝΠϧ DPQJMPUNBOJGFTUZNM

    ͕࡞੒͞ΕΔͷͰ؀ڥΛ *BB4తʹ؅ཧͰ͖Δ w NBOJGFTUZNMͷฤू$-*࣮ߦ w ෳ਺εςʔδͷߏஙσϓϩΠ͕$-*͔Β࣮ߦՄೳ
  4. pipeline ΧελϜυϝΠϯ ECS Exec Request-Driven Web Service (App Runner) ̋

    ✕ ˞ ✕ Load Balanced Web Service ̋ ̋ ̋ ˞ΧελϜυϝΠϯ͸"QQ3VOOFSͷίϯιʔϧ͔ΒઃఆՄೳ
  5. App Runner + copilot ؾʹͳΔ͜ͱ ‣ DPQJMPUJOJUΛ࣮ߦͨ࣌͠఺Ͱۭͷ&$4Ϋϥελ͕Ͱ͖Δ ‣ ΫϥελͱҰॹʹ71$΋࡞੒͞ΕΔͷͰɺ71$ͷΫΦʔλʹ஫ҙ ‣

    ΋ͱ΋ͱDPQJMPU͸"-#഑Լͷ'BSHBUF΁ͷσϓϩΠͷͨΊͷπʔϧͰɺޙ͔Β "QQ3VOOFS΁ͷσϓϩΠػೳ͕௥Ճ͞ΕͨͨΊͱࢥΘΕΔ  ‣ 3PBENBQʹ71$΁ͷରԠ͕ೖ͍ͬͯͨؾ͕͢ΔͷͰͦΕΛݟӽ͍ͯ͠Δɾɾɾʁ ‣ "QQ3VOOFSͱ$PEF#VJMEͰ%PDLFSͷόʔδϣϯ͕ҟͳͬͨΓ͢Δʁ ‣ 3BJMT৐͚ͬΔࡍͷϕετϓϥΫςΟε஌Γ͍ͨ