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
hoscon-golang-handson
Search
ry023
November 20, 2018
2
1.2k
hoscon-golang-handson
ry023
November 20, 2018
Tweet
Share
More Decks by ry023
See All by ry023
ロリポップ!マネージドクラウドをセットアップしてみよう!(ver.PHPカンファレンス福岡2019)
ry023
0
220
コンテナ母艦サーバが 突然停止しても障害にならない、 そうマネクラならね
ry023
1
380
nameraka-hosting-lolipop-managed-cloud
ry023
0
2.4k
ロリポップ!マネージドクラウド FastContainerの裏側
ry023
0
180
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
GitHub's CSS Performance
jonrohan
1030
460k
Testing 201, or: Great Expectations
jmmastey
41
7.2k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
19
2.3k
VelocityConf: Rendering Performance Case Studies
addyosmani
327
24k
Being A Developer After 40
akosma
89
590k
Automating Front-end Workflow
addyosmani
1366
200k
4 Signs Your Business is Dying
shpigford
182
22k
We Have a Design System, Now What?
morganepeng
51
7.3k
Transcript
(P8FCΞϓϦΛಈ͔ͯ͠ΈΑ͏ϋϯζΦϯ ϚωʔδυΫϥυνʔϜ(.01FQBCP *OD (.0ϗείϯ (PͰ50%0ΞϓϦͷ "1*αʔόΛσϓϩΠ
ϋογϡλά IPTDPONDMPMJQPQ
ΤϯδχΞ ాதྒհ!SZ@ ϗεςΟϯάࣄۀ෦ϚωʔδυΫϥυνʔϜ
ࠓճͷϋϯζΦϯͷඪ
(PͰॻ͘8FCΞϓϦέʔγϣϯͷ งғؾΛମݧ͢Δ
ͰɺԿΛ࡞ΔΜ͍ͩʁ
ࠓͭ͘Δͷ w50%0ΞϓϦͷ"1*αʔόΛ࡞Γ·͢ wϑϩϯτΤϯυଆ࡞Γ·ͤΜ wΘΓʹɺ5PEP#BDLFOEͱ͍͏αΠτΛར༻͠·͢ w+40/Ԡ͢Δ͚ͩͰͳ͘ɺϑΝΠϧ৴͢Δํ๏ͪΐͬͱհ
͜Μͳײ͡
ͬͱݴ͏ͱ͜Μͳײ͡
αϯϓϧΞϓϦέʔγϣϯͷશମߏ w"1*αʔόΛϚωʔδυΫϥυͰߏங͠ɺ5PEP#BDLFOEΛϑϩϯτΤϯ υͱͯ͠ར༻͠·͢ɻ 5PEP#BDLFOE "1*αʔόʢࠓճͷ։ൃൣғʣ )551ϦΫΤετ Ϩεϙϯε +40/
ͬͯΈ·͠ΐ͏ʂ
ຊͷਐߦද ࣄલ४උͷ֬ೝ ϩϦϙοϓʂϚωʔδυΫϥυͰ(PϓϩδΣΫτΛ࡞ͬͯΈΔ ·ͣσϓϩΠͯ͠ಈ࡞ΛݟͯΈ·͠ΐ͏ʂ ҰॹʹίʔυΛͬͯߦͬͯΈ·͠ΐ͏
ϑϦʔλΠϜʂࣗ༝ʹػೳΛՃͯ͠Έ·͠ΐ͏ʂ࣭͝
ࣄલ४උͷ֬ೝ ϚωʔδυΫϥυͷΞΧϯτొࡁ·ͤ·͔ͨ͠ʁ wΫϨδοτΧʔυͷొࡁ·ͤ·͔ͨ͠ʁ (PͷΠϯετʔϧ͍ྃͯ͠·͔͢ʁ w(P࠷৽ͷWFSͰ͋Δඞཁ͕͋Γ·͢ʂ 44)ެ։伴ͷొ͍ྃͯ͠·͔͢ʁ
֬ೝGPS8JOEPXT (JUίϚϯυ(PίϚϯυར༻Ͱ͖·͔͢ʁ w(JUίϚϯυ͕͑ΔڥͰ44)ެ։伴ͷઃఆ͍ͯ͠·͔͢ʁ w1VUUZ5FSB5FSNͰͳ͘ɺ(JUGPS8JOEPXTͷڥͳͲ 4$1ͷ࣮ߦͰ͖·͔͢ʁ wATDQAίϚϯυɺ͘͠ԿΒ͔ͷ4$1ϓϩάϥϜͷखஈ͋Γ·͔͢ʁ w4$1ͷڥʹ44)ެ։伴ͷઃఆ͍ͯ͠·͔͢ʁ ڥߏஙʹࠔͬͨΒIUUQTHJUIVCDPNQFQBCPUPEPCBDLFOEHPMBOHND CMPCNBTUFSEPDT)08@50@4&561@8*/%084@&/7*30/.&/5NE
·ͣɺϚωʔδυΫϥυʹ (PϓϩδΣΫτΛ࡞Γ·͢
(PϓϩδΣΫτͷ࡞
(PϓϩδΣΫτͷ࡞ w ΞϓϦέʔγϣϯબͰ(PΛΫϦοΫ w ΧελϜυϝΠϯͱσʔλϕʔεͷύεϫʔυΛೖྗ w σʔλϕʔεͷύεϫʔυϝϞ͓͍͍ͯͯͩ͘͠͞
(PϓϩδΣΫτͷ࡞ wʮ࡞͢ΔʯΛΫϦοΫ
(PϓϩδΣΫτͷ࡞ wίϯςφͷ४උΛͪ·͢ɻɻɻ
(PϓϩδΣΫτͷ࡞ Ͱ͖ͨʂ
(PϓϩδΣΫτ44)ଓ֬ೝ
(PϓϩδΣΫτ44)ଓ w࡞ͨ͠(PϓϩδΣΫτͷ44)ίϚϯυΛίϐʔ͠·͢
(PϓϩδΣΫτ44)ଓʢ(JUͷ֬ೝʣ wखݩͷڥͰҎԼͷͭͷίϚϯυΛ࣮ߦͯ͠Έ͍ͯͩ͘͞ > git version # GitίϚϯυͷ֬ೝ git
version 2.19.1 > ssh -p 10022
[email protected]
# ίϐʔͨ͠SSH ίϚϯυΛ࣮ߦ
४උྃ
ͦΕͰ(Pͷ8FCΞϓϦέʔγϣϯ ΛσϓϩΠͯ͠Έ·͠ΐ͏
ࠓճͷαϯϓϧ8FCΞϓϦέʔγϣϯ wIUUQTHJUIVCDPNQFQBCPUPEPCBDLFOEHPMBOHND w50%0ΞϓϦͷ"1*αʔό w5PEP#BDLFOE IUUQTUPEPCBDLFOEDPN ϓϩδΣΫτͷεϖοΫʹରԠ w(P"1*αʔόͱͯ͠࠾༻͞ΕΔ͜ͱ͕ଟ͍ wՃͰAIUNMUFNQMBUFAύοέʔδΛར༻ͨ͠)5.-ϨϯμϦϯάͷαϯ ϓϧίʔυՃ͍ͯ͠·͢
αϯϓϧΞϓϦέʔγϣϯͷશମߏ w"1*αʔόΛϚωʔδυΫϥυͰߏங͠ɺ5PEP#BDLFOEΛϑϩϯτΤϯ υͱͯ͠ར༻͠·͢ɻ 5PEP#BDLFOE "1*αʔόʢࠓճͷ։ൃൣғʣ )551ϦΫΤετ Ϩεϙϯε +40/
ιʔείʔυΛμϯϩʔυ wHJUDMPOF͘͠;*1Λμϯϩʔυ͠·͢ > git clone https://github.com/pepabo/todo-backend-golang-mc.git
͔͜͜Β3&"%.&NEΛݟͳ͕Β σϓϩΠΛ͍͖ͯ͠·͠ΐ͏
(0ʂ ʢ3&"%.&NEͷʮಈ࡞֬ೝํ๏ʯ·Ͱʣ
σϓϩΠͰ͖·͔ͨ͠ʁ
"1*αʔόͷػೳҰཡ ϝιου ύε Ϩεϙϯε ֓ཁ (&5 UPEPT +40/
50%0Ұཡ 1045 UPEPT +40/ ৽ن50%0࡞ %&-&5& UPEPT +40/ 50%0Λશͯআ (&5 UPEPT\JE^ +40/ 50%0Λऔಘ 1"5$) UPEPT\JE^ +40/ 50%0Λमਖ਼ %&-&5& UPEPT\JE^ +40/ 50%0Λআ (&5 )5.- IUNMUFNQMBUFͰͷ)5.-ϨϯμϦϯά (&5 BTTFUT ը૾ϑΝΠϧ$44ϑΝΠϧͷ৴
ҰॹʹίʔυΛΈ͍͖ͯ·͠ΐ͏
ҰॹʹίʔυΛΈ͍͖ͯ·͠ΐ͏ ྫ͑ NBJO ͱIUUQ-JTUFO"OE4FSWF ϧʔςΟϯά HPDIJ σʔλϕʔεͷଓͱTUSVDUͷϚοϐϯά TRMY
IUUQUFNQMBUF ࣭͕͋Ε͍ͭͰฉ͍͍͍ͯͨͩͯେৎͰ͢ʂ
͜͜·ͰͰϋϯζΦϯҰ୴ऴྃͰ͢
͕࣌ؒ͋ΔݶΓखΛಈ͔ͯ͠Έ·͠ΐ͏ wΑ͔͘Βͳ͔ͬͨͱ͜ΖΛ࣭͢Δ w"1*αʔόͷ(PͷίʔυσϓϩΠͷΈͳͲ wಉ͡ಈ͖Λ͢Δଞͷ࣮ΛݟͯΈΔ wIUUQTUPEPCBDLFOEDPN wࠓճ࡞࣮ͬͨΛڵຯͷ͋ΔϑϨʔϜϫʔΫ03.ʹஔ͖ ͑ͯΈΔʢ&DIP(JOɺ(PSNͳͲ