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
port_mokumoku_lt_ec2-toys
Search
Shuichi Ohsawa
September 24, 2016
Programming
0
340
port_mokumoku_lt_ec2-toys
Shuichi Ohsawa
September 24, 2016
Tweet
Share
More Decks by Shuichi Ohsawa
See All by Shuichi Ohsawa
実践的データ基盤への処方箋 輪読会 / round-reading-jissennteki-data-kiban
ohsawa0515
1
220
datatech-jp Casual Talks #1 「BigQueryのネイティブJSON型がサポートされたので触ってみた」 / support-bigquery-native-json-and-try-it
ohsawa0515
0
2.4k
技書博後夜祭 第一夜「AWSのコスト最適化をはじめよう!」 / gishohaku5-koyasai-starting-aws-cost-optimization
ohsawa0515
0
390
JAWS-UG 初心者支部#36 「AWSで高額請求やらかした話」 / story-about-high-billing-on-aws
ohsawa0515
0
1.3k
インフラエンジニアBooks #7 「Amazon Web Servicesコスト最適化入門」 / infra-engineer-books-aws-cost-optimization
ohsawa0515
12
5k
ECSでGPUを使う 2020年版 / jawsug-container18-lt-using-gpu-on-ecs-2020
ohsawa0515
0
2.2k
急成長するシステムに追いつくためのインフラ改善への取り組み / sansan-m3-tech-night-improve-infrastructure
ohsawa0515
0
2.8k
AWS SDK for GoのContextパターン / aws sdk for go context pattern
ohsawa0515
3
760
インフラエンジニアがConsulとStretcherをつかったデプロイ改善で開発効率の向上に貢献した話(短縮版 + α) / omotesando.rb #33
ohsawa0515
0
1k
Other Decks in Programming
See All in Programming
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
420
Updates on MLS on Ruby (and maybe more)
sylph01
1
180
為你自己學 Python - 冷知識篇
eddie
1
350
概念モデル→論理モデルで気をつけていること
sunnyone
3
300
Testing Trophyは叫ばない
toms74209200
0
890
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
540
Amazon RDS 向けに提供されている MCP Server と仕組みを調べてみた/jawsug-okayama-2025-aurora-mcp
takahashiikki
1
120
Platformに“ちょうどいい”責務ってどこ? 関心の熱さにあわせて考える、責務分担のプラクティス
estie
1
140
Putting The Genie in the Bottle - A Crash Course on running LLMs on Android
iurysza
0
140
rage against annotate_predecessor
junk0612
0
170
基礎から学ぶ大画面対応(Learning Large-Screen Support from the Ground Up)
tomoya0x00
0
4.3k
個人開発で徳島大学生60%以上の心を掴んだアプリ、そして手放した話
akidon0000
1
150
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
33
8.8k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
Git: the NoSQL Database
bkeepers
PRO
431
66k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
Making the Leap to Tech Lead
cromwellryan
135
9.5k
Making Projects Easy
brettharned
117
6.4k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
GraphQLの誤解/rethinking-graphql
sonatard
72
11k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Raft: Consensus for Rubyists
vanstee
140
7.1k
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ݴޠָ͍͠ʂ