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
記念日
Search
suwa
September 28, 2019
Technology
0
720
記念日
suwa
September 28, 2019
Tweet
Share
More Decks by suwa
See All by suwa
EKS_on_Fargate
suwa3
0
23
Other Decks in Technology
See All in Technology
Introduction to Works of ML Engineer in LY Corporation
lycorp_recruit_jp
0
170
BLADE: An Attempt to Automate Penetration Testing Using Autonomous AI Agents
bbrbbq
0
350
累計2500万着電を支える大規模 電話自動応答サービスのアーキテクチャ / Architecture of a Large-Scale Automated Phone Response Service Supporting 25 Million Cumulative Calls
ymachida
0
160
JAWS UG 青森(弘前)クラウド・AWS入門
hiragahh
0
130
The Role of Developer Relations in AI Product Success.
giftojabu1
0
160
SAP Community and Developer Update
sygyzmundovych
0
350
DynamoDB でスロットリングが発生したとき_大盛りver/when_throttling_occurs_in_dynamodb_long
emiki
1
500
Chasing the White Whale of Open Source - ROI
mrbobbytables
0
130
AI前提のサービス運用ってなんだろう?
ryuichi1208
8
1.5k
アプリエンジニアのためのGraphQL入門.pdf
spycwolf
0
140
AWS Lambda のトラブルシュートをしていて思うこと
kazzpapa3
2
210
140年の歴史あるエンタープライズ企業の内製化×マイクロサービス化への航海
yussugi
0
1.6k
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
111
49k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
Thoughts on Productivity
jonyablonski
67
4.3k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Documentation Writing (for coders)
carmenintech
65
4.4k
How GitHub (no longer) Works
holman
310
140k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
47
2.1k
Transcript
ه೦ ɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹʙՆͷࢥ͍ग़ฤʙ
ࣗݾհ ͢Θʢ @_Tsuka3 ʣ ৬ۀɿՖ
͖͔͚ͬ ͍ͬͯͨSNS͕ดΛͨ͠ɻ => ൵͍͠ ࣗͰSNSΛϗεςΟϯά͢Ε ͍͍ͪͪด͝ͱ͖ʹৼΓճ͞Εͳ͍͔ʁ => Δؾग़Δ ͬͯΈΔ͜ͱʹͨ͠ ͔͜͜ΒͬͯΈΔࣄʹͨ͠ͱ͖͔Β
ࠓ·Ͱͷ׆ಈΛه೦ͱͯ͠ৼΓฦΓ·͢ɻ
6݄3ɹυϝΠϯه೦ ॳΊͯυϝΠϯΛങͬͨɹ໊͓લ.com 6݄11ɹLinuxه೦ ˒ ॳΊͯLinuxͷଘࡏΛͬͨ WindowsҎ֎ʹOS͕͋ΔΒ͍͠ 6݄14ɹλʔϛφϧه೦ λʔϛφϧͷഎܠΛࠇͯ͘͠ςϯγϣϯ͕͕͋ͬͨ ΤϯδχΞͬΆ͍ 6݄17ɹAWSه೦
˒ AWSʹొͨ͠ ҊͣΔΑΓ࢈Ή͕қͩͬͨ͠
6݄22ɹPORTه೦ ˒ ॳΊͯϓϩάϥϛϯάษڧձʢPORTʣʹࢀՃͨ͠ 6݄22ɹDockerه೦ docker-composeͰlogΛݟΔํ๏Λ֮͑ͨ 6݄25ɹαʔϏεެ։ه೦ ˒ 3ि͔͚ؒͯEC2্ʹΦʔϓϯιʔεSNSͷߏங͕ޭ͠ɺެ։͢Δ https://don.suwa3.me/about 7݄1ɹٕज़ϒϩάه೦
ίʔυϒϩοΫͱ͍͏ٕΛʹ͚ͭͨ ಌΕͷٕज़blogΛॻ͚ͯຬ https://qiita.com/suwa3/items/0a180e9833c0146e36b5
7݄11ɹHPه೦ ˒ HPΛͭͬͯ͘ެ։ͯ͠Έͨ https://suwa3.github.io 7݄14ɹOSCه೦ ˒ ΦʔϓϯιʔεΧϯϑΝϨϯεॳࢀઓ ߦ͖ͨͯ͘ํͳ͔ͬͨͷͰ໊ݹ·Ͱ৽װઢͰߦ͘ ເͷதͰsshϩάΠϯ͢ΔΑ͏ʹͳͬͨ 7݄20ɹϝϯςφϯεه೦
˒ ϝϯςφϯεϞʔυʹΓସ͑Δज़Λʹ͚ͭͨ https://github.com/suwa3/Maintenance-Page/blob/master/README.md 7݄22ɹNuxt.jsه೦ Nuxt.jsͬͯΈͨ
7݄25ɹେنোه೦ ˒ ॳΊͯͷτϥϒϧ τϥϒϧൃੜʹର͠ਫ਼ਆతʹམͪࠐΈSNSαʔϏεͷϝϯςφϯεϞ ʔυ͕ࡾଓ͘ 8݄1ɹPostgreSQLه೦ τϥϯβΫγϣϯػೳΛ֮͑ͨ DBͷສೳײʹײಈ͢Δ 8݄3ɹKubernetesه೦ ˒
Javaঁࢠ෦ओ࠵ϋϯζΦϯʹࢀՃ͢Δ 8݄10ɹσϕϩούʔπʔϧه೦ ԿͰݟΔ͜ͱ͕Ͱ͖Δ͠ࢼ͢͜ͱ͕Ͱ͖Δੌ͞ʹײಈ͢Δ
8݄12ɹΞϓσه೦ ྫͷSNSαʔϏεͷΞοϓσʔτΛԿͱ͔͕Μͬͨ 8݄16ɹLambdaه೦ LambdaͷςετͬͯΈͨ 8݄20ɹࢹه೦ αʔϏεʹࢹͱͯ͠Uptime RobotΛಋೖͨ͠ 2xxҎ֎Λฦ͖ͯͨ͠ΒSlackʹ௨ 8݄24ɹAnsibleه೦ ˒
AnsibleͰߏཧʹઓͯ͠Έͨ https://github.com/suwa3/don.suwa3.me- ansible/blob/master/maintenance.yaml 9݄1ɹϥζύΠه೦ ϥζύΠʹॳΊͯsshϩάΠϯͨ͠
9݄7ɹDjangoه೦ ˒ DjangoGirlsͷϋϯζΦϯʹࢀՃ PythonͰWebΞϓϦέʔγϣϯΛͭͬͯ͘Έͨ 9݄14ɹcircleCIه೦ εΫϦϓτ͕ޭ͔ͨ͠Ͳ͏͔͕ύοͱΘ͔Δͷศརͩͳͱ͓ͬͨ 9݄21ɹϙʔτมߋه೦ ˒ 22൪͔Β22222൪ͱ͔ʹ͢Δ͚ͩͰ߈ܸ͕ܹݮͨ͠ cat
/var/log/auth.log | grep -v CRON | grep 'Sep 20' | wc -l 626݅=>5݅ 9݄25ɹNetlifyه೦ HexoͰ੩తαΠτΛͭ͘Γஔ͍ͯΈͨ https://hexo.suwa3.me
ٕज़পʹམͪ·ͨ͠ɻ ࠷ॳཧղͰ͖ͣɺपΓͷৄͦ͠͏ͳਓʹฉ͍ͯճ͍͕ͬͯͨ ͩΜͩΜࣗݾղܾͰ͖Δ͜ͱ͕૿͑ɺָ͘͠ͳ͖ͬͯͨɻ དྷ݄͔ΒอҭԂͷۀγεςϜΛ։ൃ͍ͯ͠ΔձࣾͰ ΠϯϑϥΤϯδχΞͱͯ͠ಇ͘͜ͱʹͳΓ·ͨ͠ɻ ࡾϲ݄Ͱਓੜͷํੑ͕͔ͳΓมΘͬͨͱײ͡·͢ɻ ࠓޙָ͠Έͳ͕Βؤு͍͖͍ͬͯͨͰ͢ɻ
9݄28ɹLTه೦