Slide 1

Slide 1 text

2021/12/6 ౉ล ൏ਓ [ॳ৺ऀ] GitHub Actions ͱ App Runner Ͱ ίϯςφσϓϩΠ΍ͬͯΈͨ #jawsug_asa

Slide 2

Slide 2 text

໨࣍ • ࣗݾ঺հ • ߏ੒ • ΍ͬͯΈͨखॱ • ΋ͬͱ͍͍αϙʔτग़ͨ • ײ૝

Slide 3

Slide 3 text

ࣗݾ঺հ ౉ล ൏ਓ ࢓ࣄ͸ AWS Amplify Λ࢖ͬͨ΢ΣϒΞϓϦ։ൃ
 (ओʹόοΫΤϯυ୲౰) ίϯςφ(ಛʹΦʔέετϨʔγϣϯ)Α͘Θ͔ͬͯͳ͍🥺
 ίϯςφͭΑͭΑʹͳΓ͍ͨͳ͊… Twitter: @iho9z2qywfzt20w

Slide 4

Slide 4 text

• Docker fi le ΛؚΉ Vapor ϓϩδΣΫτ • GitHub Actions Ͱ Docker ΠϝʔδΛ ECR ʹొ࿥ • AWS App Runner ͰϗεςΟϯά • (Route 53 ͰυϝΠϯ) ߏ੒

Slide 5

Slide 5 text

΍ͬͯΈͨखॱ Vapor ϓϩδΣΫτ࡞੒

Slide 6

Slide 6 text

΍ͬͯΈͨखॱ GitHub Actions ఆٛϑΝΠϧ௥Ճ Continuous delivery of container applications to AWS Fargate with GitHub Actions

Slide 7

Slide 7 text

΍ͬͯΈͨखॱ IAM Ϣʔβʔͷ࡞੒ͱ GitHub ΁ೝূ৘ใొ࿥

Slide 8

Slide 8 text

΍ͬͯΈͨखॱ ECR ͱ App Runner ඥ෇͚

Slide 9

Slide 9 text

΍ͬͯΈͨखॱ CI/CD ύΠϓϥΠϯ׬੒ 🎉

Slide 10

Slide 10 text

΋ͬͱ͍͍αϙʔτग़ͨ 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ʹΞϓϦέʔγϣϯΛσϓ ϩΠ͢Δ͜ͱ͕Ͱ͖·͢ɻ

Slide 11

Slide 11 text

ײ૝ • ؆୯ʹͰ͖ͨʂ • ୹࣌ؒͰߏஙͰ͖ͨ • ίϯςφʹ͍ͭͯৄ͍͠஌͕ࣝͳͯ͘΋σϓϩΠ·Ͱ࣋ͬͯߦ͚ͯඇৗʹָ ͍͠ • ॳ৺ऀͰ΋ɺ৮Γ΍͍͢Α͏ʹٕज़͕ந৅Խ͞Ε͍ͯͯͱ͖ͬͭ΍͍͢ʂ