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.3k
ロリポップ!マネージドクラウド FastContainerの裏側
ry023
0
180
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
It's Worth the Effort
3n
183
27k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
How GitHub (no longer) Works
holman
310
140k
Designing for Performance
lara
604
68k
The Invisible Side of Design
smashingmag
298
50k
Designing for humans not robots
tammielis
250
25k
The Pragmatic Product Professional
lauravandoore
31
6.3k
Documentation Writing (for coders)
carmenintech
65
4.4k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
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ͳͲ