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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
250
datatech-jp Casual Talks #1 「BigQueryのネイティブJSON型がサポートされたので触ってみた」 / support-bigquery-native-json-and-try-it
ohsawa0515
0
2.6k
技書博後夜祭 第一夜「AWSのコスト最適化をはじめよう!」 / gishohaku5-koyasai-starting-aws-cost-optimization
ohsawa0515
0
410
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
5.1k
ECSでGPUを使う 2020年版 / jawsug-container18-lt-using-gpu-on-ecs-2020
ohsawa0515
0
2.3k
急成長するシステムに追いつくためのインフラ改善への取り組み / sansan-m3-tech-night-improve-infrastructure
ohsawa0515
0
2.9k
AWS SDK for GoのContextパターン / aws sdk for go context pattern
ohsawa0515
3
800
インフラエンジニアがConsulとStretcherをつかったデプロイ改善で開発効率の向上に貢献した話(短縮版 + α) / omotesando.rb #33
ohsawa0515
0
1k
Other Decks in Programming
See All in Programming
受け入れテスト駆動開発(ATDD)×AI駆動開発 AI時代のATDDの取り組み方を考える
kztakasaki
2
550
ふつうの Rubyist、ちいさなデバイス、大きな一年
bash0c7
0
760
Takumiから考えるSecurity_Maturity_Model.pdf
gessy0129
1
130
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
340
The Ralph Wiggum Loop: First Principles of Autonomous Development
sembayui
0
3.7k
Agentic AI: Evolution oder Revolution
mobilelarson
PRO
0
130
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
300
Codexに役割を持たせる 他のAIエージェントと組み合わせる実務Tips
o8n
3
1.2k
守る「だけ」の優しいEMを抜けて、 事業とチームを両方見る視点を身につけた話
maroon8021
3
460
RubyとGoでゼロから作る証券システム: 高信頼性が求められるシステムのコードの外側にある設計と運用のリアル
free_world21
0
240
Railsの気持ちを考えながらコントローラとビューを整頓する/tidying-rails-controllers-and-views-as-rails-think
moro
4
380
CSC307 Lecture 12
javiergs
PRO
0
470
Featured
See All Featured
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
67
37k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Designing Experiences People Love
moore
143
24k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
76
Test your architecture with Archunit
thirion
1
2.2k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
960
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Paper Plane (Part 1)
katiecoart
PRO
0
5.3k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
70
AI Search: Where Are We & What Can We Do About It?
aleyda
0
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ݴޠָ͍͠ʂ