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
Statistics for Hackers
jakevdp
797
220k
Testing 201, or: Great Expectations
jmmastey
41
7.2k
The Cult of Friendly URLs
andyhume
78
6.1k
How to Ace a Technical Interview
jacobian
276
23k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Code Reviewing Like a Champion
maltzj
521
39k
Raft: Consensus for Rubyists
vanstee
137
6.7k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
98
18k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.2k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.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ͳͲ