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
Documentation Writing (for coders)
carmenintech
77
5.4k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.4k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
1.1k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
630
Designing Experiences People Love
moore
143
24k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
320
The Limits of Empathy - UXLibs8
cassininazir
1
460
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 ・アーティファクト