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

[初心者] GitHub Actions と App Runner でコンテナデプロイやってみた

[初心者] GitHub Actions と App Runner でコンテナデプロイやってみた

2021/12/06 JAWS-UG朝会 #28 にて [初心者] GitHub Actions と App Runner でコンテナデプロイやってみた と題名で Lightning Talk させていだたきました

Hayato Watanabe

December 06, 2021
Tweet

More Decks by Hayato Watanabe

Other Decks in Technology

Transcript

  1. • Docker fi le ΛؚΉ Vapor ϓϩδΣΫτ • GitHub Actions

    Ͱ Docker ΠϝʔδΛ ECR ʹొ࿥ • AWS App Runner ͰϗεςΟϯά • (Route 53 ͰυϝΠϯ) ߏ੒
  2. ΋ͬͱ͍͍αϙʔτग़ͨ AWS App Runner supports GitHub Actions to build and

    deploy applications If you have your source code in a GitHub repository, you can use GitHub Actions to enable App Runner to build a Docker image based on the language runtime and to deploy your application based on the generated image. For supported runtimes on App Runner, refer to the documentation. If you already have a container image of your application in a GitHub repository, you can use GitHub Actions to directly use the image to deploy your application on App Runner. ιʔείʔυ͕GitHubϦϙδτϦʹ͋Δ৔߹ɺGitHub ActionsΛ࢖༻͢Δ͜ͱͰɺApp Runner͕ݴޠ ϥϯλΠϜʹج͍ͮͯDockerΠϝʔδΛߏங͠ɺੜ੒͞ΕͨΠϝʔδʹج͍ͮͯΞϓϦέʔγϣϯΛ σϓϩΠ͢Δ͜ͱ͕Ͱ͖·͢ɻApp RunnerͰαϙʔτ͞Ε͍ͯΔϥϯλΠϜʹ͍ͭͯ͸ɺυΩϡϝϯ τΛࢀর͍ͯͩ͘͠͞ɻΞϓϦέʔγϣϯͷίϯςφΠϝʔδ͕͢ͰʹGitHubϦϙδτϦʹ͋Δ৔߹ ͸ɺGitHub ActionsΛ࢖༻ͯ͠ɺͦͷΠϝʔδΛ௚઀࢖༻ͯ͠App RunnerʹΞϓϦέʔγϣϯΛσϓ ϩΠ͢Δ͜ͱ͕Ͱ͖·͢ɻ