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
330
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
160
datatech-jp Casual Talks #1 「BigQueryのネイティブJSON型がサポートされたので触ってみた」 / support-bigquery-native-json-and-try-it
ohsawa0515
0
2.2k
技書博後夜祭 第一夜「AWSのコスト最適化をはじめよう!」 / gishohaku5-koyasai-starting-aws-cost-optimization
ohsawa0515
0
310
JAWS-UG 初心者支部#36 「AWSで高額請求やらかした話」 / story-about-high-billing-on-aws
ohsawa0515
0
1.1k
インフラエンジニアBooks #7 「Amazon Web Servicesコスト最適化入門」 / infra-engineer-books-aws-cost-optimization
ohsawa0515
12
4.8k
ECSでGPUを使う 2020年版 / jawsug-container18-lt-using-gpu-on-ecs-2020
ohsawa0515
0
2k
急成長するシステムに追いつくためのインフラ改善への取り組み / sansan-m3-tech-night-improve-infrastructure
ohsawa0515
0
2.6k
AWS SDK for GoのContextパターン / aws sdk for go context pattern
ohsawa0515
3
680
インフラエンジニアがConsulとStretcherをつかったデプロイ改善で開発効率の向上に貢献した話(短縮版 + α) / omotesando.rb #33
ohsawa0515
0
930
Other Decks in Programming
See All in Programming
Realtime API 入門
riofujimon
0
150
Figma Dev Modeで変わる!Flutterの開発体験
watanave
0
150
3rd party scriptでもReactを使いたい! Preact + Reactのハイブリッド開発
righttouch
PRO
1
610
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
990
PHP でアセンブリ言語のように書く技術
memory1994
PRO
1
170
Duckdb-Wasmでローカルダッシュボードを作ってみた
nkforwork
0
130
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
980
Snowflake x dbtで作るセキュアでアジャイルなデータ基盤
tsoshiro
2
520
ペアーズにおけるAmazon Bedrockを⽤いた障害対応⽀援 ⽣成AIツールの導⼊事例 @ 20241115配信AWSウェビナー登壇
fukubaka0825
6
2k
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
340
카카오페이는 어떻게 수천만 결제를 처리할까? 우아한 결제 분산락 노하우
kakao
PRO
0
110
Compose 1.7のTextFieldはPOBox Plusで日本語変換できない
tomoya0x00
0
200
Featured
See All Featured
Facilitating Awesome Meetings
lara
50
6.1k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Building an army of robots
kneath
302
43k
The Invisible Side of Design
smashingmag
298
50k
Producing Creativity
orderedlist
PRO
341
39k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
Designing the Hi-DPI Web
ddemaree
280
34k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
Gamification - CAS2011
davidbonilla
80
5k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
900
Testing 201, or: Great Expectations
jmmastey
38
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ݴޠָ͍͠ʂ