Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
CI_CD_by_Code_Brothers_by_AWS
Search
hiroaki
July 25, 2022
57
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
CI_CD_by_Code_Brothers_by_AWS
hiroaki
July 25, 2022
More Decks by hiroaki
See All by hiroaki
leadership-that-endures-book-lt
hiroaki_u
0
26
プロダクト負債に立ち向かう
hiroaki_u
2
1.9k
pdm_vibe_coding_fail.pdf
hiroaki_u
0
200
Communication with Ubiquitous Language
hiroaki_u
0
110
how to determine architecture
hiroaki_u
1
280
the-concept-of-product-creation-learned-in-startup-science
hiroaki_u
0
180
what-is-container
hiroaki_u
1
110
difference-between-nginx-and-apache
hiroaki_u
0
87
think of study
hiroaki_u
1
120
Featured
See All Featured
Docker and Python
trallard
47
3.9k
How GitHub (no longer) Works
holman
316
150k
The Pragmatic Product Professional
lauravandoore
37
7.4k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
800
We Have a Design System, Now What?
morganepeng
55
8.2k
BBQ
matthewcrist
89
10k
Heart Work Chapter 1 - Part 1
lfama
PRO
8
36k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.4k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
330
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.6k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
340
Transcript
Code兄弟と学ぶ AWSでのCI/CD hiroaki
Who am I ? 名前:hiroaki 技術:PHP/ Laravel, AWS 年齢:もうすぐ28歳 歴 :あと一日で1年
趣味:筋トレ
そもそもCI/CDとは? テスト, ビルド, デプロイの自動化
https://aws.amazon.com/jp/devops/continuous-delivery/ CI (Continuous Integration) 引用『AWS公式記事、継続的デリバリーとは ?』 CD (Continuous Delivery) CD
(Continuous Deploy)
名前:CodeCommit 役割:gitホスティング Code兄弟のご紹介① 強いライバルたち GitLab Github Bitbucket
名前:CodeBuild 役割:ビルドやテスト 先輩 仕事仲間 Code兄弟のご紹介②
名前:CodeDeploy 役割:デプロイ 先輩 仕事仲間 Code兄弟のご紹介③
名前:CodePipeline 役割:CI/CDの全体管理 Code兄弟のご紹介④ 仕事仲間
ソース ビルド デプロイ CodeDeploy ECS Cloud Formation S3 Elastic Beanstalk
GitHub CodeCommit Bitbucket Bitbucket ECR Jenkins S3 Ops Works
AWSではCode兄弟を使って CI/CDを構築できます。
シンプルな例で動きを仕組みを知ろう
まずは開発を進めてマージ! feature develop merge CodeCommit
変化を検知して情報をパス 変化見ーつけた! CodePipeline CodeCommit Amazon Event Bridge S3 source artifact
CodePipeline ビルド&テストを実行 CodeBuild buildspec.yml ECR 次頼む Build & Test S3
create build artifact source artifact
CodeDeploy CodeDeploy S3 appspec.yml CodePipeline 次頼む build artifact source artifact
その他にも色々なサービスを使った デプロイが可能です。 CloudForation Elastic Container Service (ECS) Elastic Beanstalk
みなさんもぜひCode兄弟 使ってみてください!
ご清聴ありがとうございました。
References ・CodeBuildについて https://docs.aws.amazon.com/ja_jp/codebuild/latest/userguide/concepts.html Web Sites etc. ・ECSについて https://kws-cloud-tech.com/ https://docs.aws.amazon.com/ja_jp/codebuild/latest/userguide/getting-started- cli-create-build-spec.html
https://blog.spacemarket.com/code/ci-cd-codepipeline/ ・CodePipeline https://docs.aws.amazon.com/ja_jp/codecommit/latest/userguide/monitoring-events.html ・CodeCommitのイベントモニタリング https://docs.aws.amazon.com/ja_jp/codepipeline/latest/userguide/concepts.html ・アーティファクト