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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
hiroaki
July 25, 2022
60
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
36
プロダクト負債に立ち向かう
hiroaki_u
2
2.1k
pdm_vibe_coding_fail.pdf
hiroaki_u
0
220
Communication with Ubiquitous Language
hiroaki_u
0
110
how to determine architecture
hiroaki_u
1
290
the-concept-of-product-creation-learned-in-startup-science
hiroaki_u
0
190
what-is-container
hiroaki_u
1
120
difference-between-nginx-and-apache
hiroaki_u
0
92
think of study
hiroaki_u
1
120
Featured
See All Featured
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
73
41k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
430
How to Think Like a Performance Engineer
csswizardry
28
2.7k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
670
Producing Creativity
orderedlist
PRO
348
40k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.4k
Making the Leap to Tech Lead
cromwellryan
135
10k
The Curse of the Amulet
leimatthew05
2
14k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
エンジニアに許された特別な時間の終わり
watany
108
250k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
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 ・アーティファクト