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
56
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
25
プロダクト負債に立ち向かう
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
270
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
86
think of study
hiroaki_u
1
110
Featured
See All Featured
Designing for Timeless Needs
cassininazir
1
260
Technical Leadership for Architectural Decision Making
baasie
3
420
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.6k
Thoughts on Productivity
jonyablonski
76
5.2k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
540
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Making the Leap to Tech Lead
cromwellryan
135
9.9k
How to build a perfect <img>
jonoalderson
1
5.7k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.5k
How Software Deployment tools have changed in the past 20 years
geshan
0
34k
Become a Pro
speakerdeck
PRO
31
6k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
62
44k
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 ・アーティファクト