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
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
Java REST API Framework Comparison - PWX 2021
mraible
34
9.4k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
390
Making the Leap to Tech Lead
cromwellryan
135
9.9k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
390
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
340
My Coaching Mixtape
mlcsv
0
150
The Curse of the Amulet
leimatthew05
1
13k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
430
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
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 ・アーティファクト