Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
port_mokumoku_lt_ec2-toys
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Shuichi Ohsawa
September 24, 2016
Programming
360
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
port_mokumoku_lt_ec2-toys
Shuichi Ohsawa
September 24, 2016
More Decks by Shuichi Ohsawa
See All by Shuichi Ohsawa
実践的データ基盤への処方箋 輪読会 / round-reading-jissennteki-data-kiban
ohsawa0515
1
290
datatech-jp Casual Talks #1 「BigQueryのネイティブJSON型がサポートされたので触ってみた」 / support-bigquery-native-json-and-try-it
ohsawa0515
0
2.9k
技書博後夜祭 第一夜「AWSのコスト最適化をはじめよう!」 / gishohaku5-koyasai-starting-aws-cost-optimization
ohsawa0515
0
430
JAWS-UG 初心者支部#36 「AWSで高額請求やらかした話」 / story-about-high-billing-on-aws
ohsawa0515
0
1.4k
インフラエンジニアBooks #7 「Amazon Web Servicesコスト最適化入門」 / infra-engineer-books-aws-cost-optimization
ohsawa0515
12
5.2k
ECSでGPUを使う 2020年版 / jawsug-container18-lt-using-gpu-on-ecs-2020
ohsawa0515
0
2.4k
急成長するシステムに追いつくためのインフラ改善への取り組み / sansan-m3-tech-night-improve-infrastructure
ohsawa0515
0
3k
AWS SDK for GoのContextパターン / aws sdk for go context pattern
ohsawa0515
3
850
インフラエンジニアがConsulとStretcherをつかったデプロイ改善で開発効率の向上に貢献した話(短縮版 + α) / omotesando.rb #33
ohsawa0515
0
1.1k
Other Decks in Programming
See All in Programming
Railsバージョンを4倍にした話
optim
0
950
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
330
우리의 Nitro Modules는 당신의 Turbo Modules보다 아름답다
l2hyunwoo
0
250
Seven New Principles of Software Engineering
yegor256
0
460
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
1.6k
ChromeでローカルLLM
ryu1013
0
200
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
730
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
5
5.2k
Distance field of Julia set
kinakomoti321
0
300
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
1
2k
プロジェクトコードをキレイキレイしよう!暗黙的な参照を読み解く静的解析
ostk0069
0
210
Goコンパイラを作ってGoをもっと理解する / Build a Go compiler to better understand Go
ikura_hamu
0
120
Featured
See All Featured
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
970
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
The Limits of Empathy - UXLibs8
cassininazir
2
770
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
A Modern Web Designer's Workflow
chriscoyier
699
190k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
The SEO identity crisis: Don't let AI make you average
varn
0
630
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
450
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
970
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
Transcript
EC2ΠϯελϯεͷSSHΛ ศར͢ΔπʔϧΛGoݴޠͰ࡞ͬͨ @ohsawa0515
ࣗݾհ େᖒलҰ (@ohsawa0515) GitHub: https://github.com/ohsawa0515 Blog: http://blog.jicoman.info/
ͭ͘Γ·ͨ͠ • ec2-toys • https://github.com/ohsawa0515/ec2-toys • Amazon EC2 ΛΞϨίϨ͢Δπʔϧ(༧ఆ)
ͳͥͭͬͨ͘ͷ͔ • αʔόʹSSH͢ΔͷΛָʹ͔ͨͬͨ͠ • ࣗPC -> ౿Έαʔό -> తαʔό ͱ2ճSSH͢Δඞཁ͕͋Δ
• αʔόͷIPΞυϨεΛҰʑௐΔͷ͕໘͍͘͞ • ssh_config ʹ ProxyCommand ΛೖΕΔ͜ͱͰ1ճͰSSHͰ͖Δ͕ɺ EC2Πϯελϯε͕૿͑ͨΓݮͬͨΓ͢Δͷʹ߹Θͤͯssh_config Λ ॻ͖͑Δͷਏ͍ • ଞʹಉ͡πʔϧ͕͋Δ͕͍উख͕ѱ͍(ಈ͔ͳ͍ etc)
Πϯετʔϧ&ઃఆ • $ go get -u github.com/ohsawa0515/ec2-toys • $ export
AWS_ACCESS_KEY_ID=ACCESS_KEY_ID • $ export AWS_SECRET_ACCESS_KEY=ECRET_ACCESS_KEY • $ export AWS_REGION=us-east-1
४උ • ~/.ssh/config • ࢀߟ: ࠷ڧͷSSH౿Έઃఆ • http://qiita.com/kawaz/items/a0151d3aa2b6f9c4b3b8 )PTUTUFQTFSWFS
1SPYZ$PNNBOETTI8 CBTFOBNFI Q EJSOBNFlI )PTUTUFQTFSWFS )PTUOBNFYYYYYYYYYYY 6TFSGPP *EFOUJUZ'JMFdTTIJE@STB
࣮ߦ FDUPZTMJTUpMUFST/BNFJOTUBODFTUBUFOBNF 7BMVFTSVOOJOHcQFDPc BXL\QSJOU^cYBSHT*\^TIDTTIlTUFQTFSFS\^EFWUUZTTI pecoΛ͍·͢ɻ
·ͱΊ • Amazon EC2 ΛΞϨίϨ͢ΔπʔϧΛ࡞Γ·ͨ͠ • ػೳͱͯ͠ෆेͳͷͰ͜Ε͔ΒΞοϓσʔτ ͍͖ͯ͠·͢ʂ • Goݴޠָ͍͠ʂ