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
SpeeeKaigi
Search
morioka shuhei
August 02, 2016
1
1.3k
SpeeeKaigi
morioka shuhei
August 02, 2016
Tweet
Share
More Decks by morioka shuhei
See All by morioka shuhei
20191103_小山高専_卒業生講話
selmertsx
1
220
20190306_serverless_meetup_tokyo_11
selmertsx
5
1.6k
aws_reinvent_recap
selmertsx
2
280
aws_reinvent_recap_chaos_engineering_to_serverless
selmertsx
1
1.2k
2018_03_speeekaigi
selmertsx
1
380
sam_on_aws_2018_startup_days
selmertsx
1
310
20171019_aws_startup_tech
selmertsx
1
6.8k
rails_rdm_revieee
selmertsx
0
1.2k
2017_jaws_ug_night_shuhei
selmertsx
3
4.4k
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Optimizing for Happiness
mojombo
376
70k
Speed Design
sergeychernyshev
25
670
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
29
2k
Building Better People: How to give real-time feedback that sticks.
wjessup
365
19k
Building an army of robots
kneath
302
44k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Agile that works and the tools we love
rasmusluckow
328
21k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
The Cost Of JavaScript in 2023
addyosmani
45
7k
Embracing the Ebb and Flow
colly
84
4.5k
Transcript
3VCPUZͰDIBUPQTΛ ͪΌΜͱΔͨΊʹ HFNΛ࡞ͬͨ ԬपฏˏTFMNFSUTY
ࣗݾհ ! Ԭपฏࡀ!TFMNFSUTY ! ιγϟήձࣾ ! 4QFFFೖࣾ ! ψϦΧΤͬͯαʔϏεͷ αʔόʔαΠυΤϯδχΞ
ψϦΧΤ!4QFFF ֎นృۀऀͷհαʔϏε
ࠓͷ͓ͷ֓ཁ 3VCPUZͰEFQMPZ 3VCPUZͰϢʔβʔͷೝՄೝূ ͕Ͱ͖ΔHFNΛ࡞ͬͨ
ҙ ࠓͷ͓ɺ $IBUPQT 3VCPUZ "HJMFΛ ͍ͬͯΔલఏͰ͓͠·͢ʂ
࣍ ! 3VCPUZಋೖͷഎܠ ! 3VCPUZͷ࣮ߦڥ ! 3VCPUZʹΑΔ%FQMPZ ! 3VCPUZʹΑΔݖݶཧ ! ࠷ޙʹ
࣍ ! 3VCPUZಋೖͷഎܠ ! 3VCPUZͷ࣮ߦڥ ! 3VCPUZʹΑΔ%FQMPZ ! 3VCPUZʹΑΔݖݶཧ ! ࠷ޙʹ
ψϦΧΤͷϦϦʔεϑϩʔ Staging 2 w ੍࡞ͨ͠ػೳʹؔͯ͠ɺ10ʹݟͯΒ͏ w 10͔Β0,͕ग़ͨΒɺϦϦʔεͪʹ Staging w ϦϦʔεલʹ࠷ऴ֬ೝΛߦ͏ Production w ຊ൪ʹө͢Δ
10ϨϏϡʔͷ ҉తͳ खॱ ! पΓ͕TUBHJOHڥΛ͍ͬͯΔ͔֬ೝ ! 4UBHJOHʹEFQMPZ͢Δ ! 10ʹϨϏϡʔΛ͓ئ͍͢Δ ! ϨϏϡʔ͕ऴΘͬͨΒɺνʔϜʹใࠂ͢Δ
None
ຊ൪ͷөʜ Ұ෦ΤϯδχΞͷΈ͕EFQMPZͰ͖Δঢ়ଶ
ແବʹͭΒ͍
3VCPUZͰ ղܾ͠Α͏ʂ
実現したい状態 ! 10͕ࣗͰউखʹ֬ೝڥͰ %FQMPZͰ͖Δ ! νʔϜϝϯόʔΈΜͳ͕ ར༻ঢ়گΛ֬ೝͰ͖Δ ! ͱ͍͑ɺΫϦςΟΧϧͳλεΫ ࣮ߦͰ͖ΔਓΛ੍ݶͰ͖Δ
必要な機能 ! 3VCPUZܦ༝ͰDBQJTUSBOPΛͬͯ EFQMPZͰ͖Δػೳ ! 3VCPUZͷλεΫʹؔͯ͠ɺ࣮ߦͰ͖Δ ϢʔβʔΛೝՄೝূͰ͖Δػೳ ্ه̎ͭͷػೳʹؔͯ͠ (FNΛ࡞ͬͨΛ͠·͢
࣍ ! 3VCPUZಋೖͷഎܠ ! 3VCPUZͷ࣮ߦڥ ! 3VCPUZʹΑΔ%FQMPZ ! 3VCPUZʹΑΔݖݶཧ ! ࠷ޙʹ
slack 踏み台 Staging2 VPC AWS 踏み台 Staging VPC AWS 踏み台
Production VPC AWS
࣍ ! 3VCPUZಋೖͷഎܠ ! 3VCPUZͷ࣮ߦڥ ! 3VCPUZʹΑΔ%FQMPZ ! 3VCPUZʹΑΔݖݶཧ ! ࠷ޙʹ
SVCPUZ-capistrano 3VCPUZ͔Β$BQJTUSBOPͰ%FQMPZͰ͖ΔHFN
͍ํ %&1-0:@3&104*503:@1"5) EFQMPZ͢Δ3FQPTJUPSZ͕ஔ͍ͯ͋ΔQBUI %&'"6-5@#3"/$) EFQMPZ͢ΔCSBODIͷσϑΥϧτ !CPU໊EFQMPZEFQMPZઌCSBODI໊ ίϚϯυ ಋೖઃఆ
ٕज़తʹͪΐͬͱ٧·ͬͨϙΠϯτ CVOEMFFYFDͨ͠ڥԼͰ ผσΟϨΫτϦʹҠಈͯ͠CVOEMFFYFD͢Δͱɺ ݺͼग़͠ݩͷCVOEMFSͷڥมΛࢀরͪ͠Ό͏ TIBSFE@IFMQFSSCͷTFU@CVOEMF@WBSJBCMFT
ٕज़తʹͪΐͬͱ٧·ͬͨϙΠϯτ #VOEMFSXJUI@DMFBO@FOW͕͑ͦ͏ ެࣜυΩϡϝϯτΛಡΜͰΈͨ
ٕज़తʹͪΐͬͱ٧·ͬͨϙΠϯτ Ұճڥมഁغͨ͋͠ͱɺ࠶ೖΕͳ͓ͯ͠Δ ͔ΒɺͲ͏Βେৎͦ͏ ৭ʑ ࣗͷӳޠྗͱ͔ ෆ҆ͳͷͰ࣮ಡΜͩ
ٕज़తʹͪΐͬͱ٧·ͬͨϙΠϯτ ͜Μͳײ͡Ͱ࣮
࣍ ! 3VCPUZಋೖͷഎܠ ! 3VCPUZͷ࣮ߦڥ ! 3VCPUZʹΑΔ%FQMPZ ! 3VCPUZʹΑΔݖݶཧ ! ࠷ޙʹ
SVCPUZBVUIPSJ[BUJPO #05ͷ࣮ߦݖݶΛઃఆͰ͖ΔHFN
͍ํ 08/&3@/".& CPUͷΦʔφʔͷ໊લΛొ͢Δ ͜͜Ͱઃఆͨ͠ϢʔβʔͷΈɺೝՄͰ͖Δ ಋೖઃఆ ίϚϯυ !CPU໊BVUIPSJ[FϢʔβʔ໊
ٕज़తʹͪΐͬͱࠔͬͨϙΠϯτ 3VCPUZͷίʔυಡΜͰɺ ݁ߏ্ॻ͖͠·ͨ͠ SVCPUZBDUJPOSCͷDBMMΛ্ॻ͖
࣍ ! 3VCPUZಋೖͷഎܠ ! 3VCPUZͷ࣮ߦڥ ! 3VCPUZʹΑΔ%FQMPZ ! 3VCPUZʹΑΔݖݶཧ ! ࠷ޙʹ
3VCPUZΛಋೖͯ͠Έͯ ! 10͕ࣗͰ%FQMPZͯ͘͠ΕΔΑ͏ʹͳͬͨ ! ݖݶແ͍ਓ%FQMPZͰ͖ͳ͍ͷͰ҆৺
ࠓճ࡞ͨ͠ͷ ! 3VCPUZೝূ༻(FN IUUQTHJUIVCDPNTFMNFSUTYSVCPUZBVUIPSJ[BUJPO ! 3VCPUZ%FQMPZ༻(FN IUUQTHJUIVCDPNTFMNFSUTYSVCPUZDBQJTUSBOP 13ˍཁΛ͓ͪͯ͠·͢ʂ