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
AWSで秋のデプロイ祭! CodeDeploy JAWS-UG KOBE
Search
NExT-Season
October 19, 2016
Technology
0
290
AWSで秋のデプロイ祭! CodeDeploy JAWS-UG KOBE
GitHubからAWS CodeDeployへデプロイ設定の概要&簡単なハンズオンまとめです。
IAM周りは的時細かく設定してください。
NExT-Season
October 19, 2016
Tweet
Share
More Decks by NExT-Season
See All by NExT-Season
ZOOM,StreamYard,etc…のRTMPを IVSでまとめてOBSで配信
nextseason
0
620
Shifter Meetup West #3 スタティックサイトジェネレーターについて勉強する会
nextseason
0
770
Shifter Meetup West #2 これからのShifter 実践マイグレーション!
nextseason
0
390
MauticとWordPressを連携させてできること
nextseason
0
920
Shifter Meetup West #1 はじめてのShifter 実践マイグレーション!
nextseason
0
220
Shifter Meetup West #0 女子力高めのキックオフ!
nextseason
0
290
CMC_Meetup 大阪キックオフ
nextseason
2
48
JAWS DAYS 2018 Photo Report
nextseason
0
19
WordBench Kobe #76 @078kobe
nextseason
0
42
Other Decks in Technology
See All in Technology
ゼロから創る横断SREチーム 挑戦と進化の軌跡
rvirus0817
2
270
ブラックフライデーで購入したPixel9で、Gemini Nanoを動かしてみた
marchin1989
1
530
PHPからGoへのマイグレーション for DMMアフィリエイト
yabakokobayashi
1
170
開発生産性向上! 育成を「改善」と捉えるエンジニア育成戦略
shoota
2
350
組織に自動テストを書く文化を根付かせる戦略(2024冬版) / Building Automated Test Culture 2024 Winter Edition
twada
PRO
13
3.7k
スタートアップで取り組んでいるAzureとMicrosoft 365のセキュリティ対策/How to Improve Azure and Microsoft 365 Security at Startup
yuj1osm
0
210
WACATE2024冬セッション資料(ユーザビリティ)
scarletplover
0
200
終了の危機にあった15年続くWebサービスを全力で存続させる - phpcon2024
yositosi
8
6.9k
オプトインカメラ:UWB測位を応用したオプトイン型のカメラ計測
matthewlujp
0
170
DUSt3R, MASt3R, MASt3R-SfM にみる3D基盤モデル
spatial_ai_network
2
110
Storage Browser for Amazon S3
miu_crescent
1
140
レンジャーシステムズ | 会社紹介(採用ピッチ)
rssytems
0
150
Featured
See All Featured
Code Review Best Practice
trishagee
65
17k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Designing on Purpose - Digital PM Summit 2013
jponch
116
7k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
810
How to Ace a Technical Interview
jacobian
276
23k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Gamification - CAS2011
davidbonilla
80
5.1k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
111
49k
Adopting Sorbet at Scale
ufuk
73
9.1k
Transcript
10/19Wed at "84ͰळͷσϓϩΠࡇ Γ ʂ
Who am I
Atsushi Ando ͋ΜͲ͏͋ͭ͠ DTP/web Design Engineer ArtDirector twitter : @Next_Season
github : @AtsushiA web : next-season.net I love
Community &etc… .0%9ͷ 8PSE#FODI,PCF +"846(,PCF DPODSFUFΤόϯδΣϦετ
1SFWJPVTPDDVQBUJPO Guitar Craft Man
Rent Works Keynote MODX Concrete5 WordPress AWS Photography PhotoShop Illustrator
Not a programmer
$PEF%FQMPZ
(JU)VCʹϓογϡͨ͠Β &$ΠϯελϯεʹσϓϩΠ Ͱ͖ͨศརͪΌ͏ʂʁ ͬͯࣄͰϋϚͬͨ
None
https://deploybot.com/
͔ͤͬ͘"84ͩ͠ɾɾɾ
өͤ͞ΔιʔεʹΑͬͯ 8FCαʔόͱ͔࠶ىಈ͍ͨ͠ ࣌͋Δ͔ʂʁ
$PEF%FQMPZ
0VUMJOF
ඞཁͳͷ w &$ʹ"HFOUͷΠϯετʔϧ3PMFઃఆ w "QQMJDBUJPO4QFDJpDBUJPO'JMF "QQ4QF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UPQ TVEPTCJOTFSWJDFIIWNTUPQ
)PPLT "QQMJDBUJPO4UBSU
FY"QQMJDBUJPO4UBSU4DSJQU CJOCBTI TVEPTCJOTFSWJDFIIWNTUBSU TVEPTCJOTFSWJDFOHJOYTUBSU TVEPTCJOTFSWJDFNPOJUTUBSU
FY'JMFT ᵓᴷᴷBQQTQFDZNM ᵋᴷᴷTDSJQUT ᵓᴷᴷ"QQMJDBUJPO4UBSUTI ᵋᴷᴷ"QQMJDBUJPO4UPQTI ᵋᴷᴷ"QQT appspec.ymlϧʔτσΟϨΫτϦʹઃஔɹ
FYQFSNJTTJPOT FYDFQU আ֎͢ΔϑΝΠϧɺϑΥϧμͷύλʔϯΛࢦఆ PXOFSɿ ϑΝΠϧɾσΟϨΫτϦͷॴ༗ऀΛࢦఆ HSPVQɿ ϑΝΠϧɾσΟϨΫτϦͷॴ༗άϧʔϓΛࢦఆ NPEFɿ ϑΝΠϧɾσΟϨΫτϦͷύʔϛογϣϯͷϞʔυΛͰࢦఆ http://docs.aws.amazon.com/codedeploy/latest/userguide/app-spec-ref-structure.html
ඞཁͳͷ w &$ʹ"HFOUͷΠϯετʔϧ3PMFઃఆ w "QQMJDBUJPO4QFDJpDBUJPO'JMF "QQ4QFDpMF :".-ϑΥʔϚοτͷϑΝΠϧ w લॲཧɾޙॲཧͳͲͷγΣϧεΫϦϓτ
w $PEF%FQMPZͷઃఆ w (JU)VC͔ΒͷΞΫηε༻*".Ϣʔβ࡞ w (JU)VCʹXFCϑοΫͷઃఆ
$PEF%FQMPZઃఆ
$PEF%FQMPZઃఆ
$PEF%FQMPZઃఆ "QQMJDBUJPOT
$PEF%FQMPZઃఆ "QQMJDBUJPOT
$PEF%FQMPZઃఆ "QQMJDBUJPOT ΞϓϦέʔγϣϯͷσϓϩΠͱɺσϓϩΠͷޭ݅·ࣦͨഊ݅Λࢦఆ $PEF%FQMPZ%FGBVMU0OF"U5JNF ճʹݸͷΠϯελϯεʹσϓϩΠ͠·͢ɻΠϯελϯε͕ͯ͢ޭͨ͠߹͕ޭͰ͢ɻ ࠷ॳʹࣦഊͨ࣌͠ͰࣦഊͰ͢ɻσϓϩΠશମͰࣦഊͨ͠߹ͰɺҰ෦ͷΠϯελϯεͷσϓϩ Πޭ͠·͢ɻ $PEF%FQMPZ%FGBVMU"MM"U0ODF ճʹ࠷େͰͯ͢ͷΠϯελϯεʹσϓϩΠ͠·͢ɻগͳ͘ͱݸͷΠϯελϯε͕ޭͨ͠߹ ͕ޭͰ͢ɻ
ͯ͢ͷΠϯελϯε͕ࣦഊͨ͠ΒࣦഊͰ͢ɻ $PEF%FQMPZ%FGBVMU"MM"U0ODF ճʹ࠷େͰͷΠϯελϯεʹσϓϩΠ͠·͢ɻগͳ͘ͱͷΠϯελϯε͕ޭͨ͠߹͕ ޭͰ͢ɻ
$PEF%FQMPZઃఆ %FQMPZNFOUT
$PEF%FQMPZઃఆ %FQMPZNFOUT
$PEF%FQMPZઃఆ %FQMPZNFOUT
ඞཁͳͷ w &$ʹ"HFOUͷΠϯετʔϧ3PMFઃఆ w "QQMJDBUJPO4QFDJpDBUJPO'JMF "QQ4QFDpMF :".-ϑΥʔϚοτͷϑΝΠϧ w લॲཧɾޙॲཧͳͲͷγΣϧεΫϦϓτ
w $PEF%FQMPZͷઃఆ w (JU)VC͔ΒͷΞΫηε༻*".Ϣʔβ࡞ w (JU)VCʹXFCϑοΫͷઃఆ
(JU)VC͔ΒͷΞΫηε༻*".Ϣʔβ࡞ \ 7FSTJPO 4UBUFNFOU< \ &⒎FDU"MMPX "DUJPODPEFEFQMPZ(FU%FQMPZNFOU$POpH
3FTPVSDFBSOBXTDPEFEFQMPZVTFBTU"$$06/5*%EFQMPZNFOUDPOpH ^ \ &⒎FDU"MMPX "DUJPODPEFEFQMPZ3FHJTUFS"QQMJDBUJPO3FWJTJPO 3FTPVSDFBSOBXTDPEFEFQMPZVTFBTU"$$06/5*%BQQMJDBUJPO%FNP"QQMJDBUJPO ^ \ &⒎FDU"MMPX "DUJPODPEFEFQMPZ(FU"QQMJDBUJPO3FWJTJPO 3FTPVSDFBSOBXTDPEFEFQMPZVTFBTU"$$06/5*%BQQMJDBUJPO%FNP"QQMJDBUJPO ^ \ &⒎FDU"MMPX "DUJPODPEFEFQMPZ$SFBUF%FQMPZNFOU 3FTPVSDFBSOBXTDPEFEFQMPZVTFBTU"$$06/5*%EFQMPZNFOUHSPVQ%FNP"QQMJDBUJPO%FNP'MFFU ^ > ^ https://aws.amazon.com/jp/blogs/devops/automatically-deploy-from-github-using-aws-codedeploy/
ඞཁͳͷ w &$ʹ"HFOUͷΠϯετʔϧ3PMFઃఆ w "QQMJDBUJPO4QFDJpDBUJPO'JMF "QQ4QFDpMF :".-ϑΥʔϚοτͷϑΝΠϧ w લॲཧɾޙॲཧͳͲͷγΣϧεΫϦϓτ
w $PEF%FQMPZͷઃఆ w (JU)VC͔ΒͷΞΫηε༻*".Ϣʔβ࡞ w (JU)VCʹXFCϑοΫͷઃఆ
(JU)VCʹXFCϑοΫͷઃఆ https://aws.amazon.com/jp/blogs/devops/automatically-deploy-from-github-using-aws-codedeploy/
(JU)VCʹXFCϑοΫͷઃఆ
(JU)VCʹXFCϑοΫͷઃఆ
(JU)VC1FSTPOBMBDDFTTUPLFOT
(JU)VC1FSTPOBMBDDFTTUPLFOT
(JU)VC1FSTPOBMBDDFTTUPLFOT Ͱ͖ͨτʔΫϯΛίϐʔ͓ͯ͘͠
(JU)VCʹXFCϑοΫͷઃఆ
(JU)VCʹXFCϑοΫͷઃఆ
(JU)VCʹXFCϑοΫͷઃఆ
ϋϚͬͨͱ͜Ζ σϓϩΠεΫϦϓτΛมߋͯ͠ (JUDPNNJU1VTIͯ͠ ৽͍͠εΫϦϓτ͕ಈ͔ͳ͍ 55
)PPLT "QQMJDBUJPO4UPQ
લճͷ֚ΛΫϦΞ CJOCBTI SN3GPQUDPEFEFQMPZBHFOUEFQMPZNFOUSPPU SN3GUNQDPEFEFQMPZ ཚͳײ͡ͳͷͰϔϧϓҒ͍ਓʂ
Thank youɹ: )