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
370
nameraka-hosting-lolipop-managed-cloud
ry023
0
2.4k
ロリポップ!マネージドクラウド FastContainerの裏側
ry023
0
180
Featured
See All Featured
A designer walks into a library…
pauljervisheath
204
24k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Imperfection Machines: The Place of Print at Facebook
scottboms
266
13k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
Making the Leap to Tech Lead
cromwellryan
133
9k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.5k
How STYLIGHT went responsive
nonsquared
95
5.2k
Being A Developer After 40
akosma
87
590k
Rails Girls Zürich Keynote
gr2m
94
13k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
2
170
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ͳͲ