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
210
20190306_serverless_meetup_tokyo_11
selmertsx
5
1.6k
aws_reinvent_recap
selmertsx
2
270
aws_reinvent_recap_chaos_engineering_to_serverless
selmertsx
1
1.2k
2018_03_speeekaigi
selmertsx
1
370
sam_on_aws_2018_startup_days
selmertsx
1
300
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
Being A Developer After 40
akosma
86
590k
Typedesign – Prime Four
hannesfritz
39
2.4k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
23k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
505
140k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
15
2k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Embracing the Ebb and Flow
colly
84
4.5k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
37
1.8k
Fireside Chat
paigeccino
32
3k
The World Runs on Bad Software
bkeepers
PRO
65
11k
GraphQLとの向き合い方2022年版
quramy
43
13k
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ˍཁΛ͓ͪͯ͠·͢ʂ