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
Practical Orchestrator
shlominoach
186
10k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.3k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Imperfection Machines: The Place of Print at Facebook
scottboms
266
13k
Site-Speed That Sticks
csswizardry
2
190
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
48
2.2k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Building Better People: How to give real-time feedback that sticks.
wjessup
365
19k
Designing Experiences People Love
moore
138
23k
Fireside Chat
paigeccino
34
3.1k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.4k
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ͳͲ