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
RancherにDocker初心者がチャレンジしてみた!.pdf
Search
NakanishiTetsuhiro
November 10, 2018
Programming
0
430
RancherにDocker初心者がチャレンジしてみた!.pdf
Rancher meetup01 okinawaで発表したLTの資料です
NakanishiTetsuhiro
November 10, 2018
Tweet
Share
More Decks by NakanishiTetsuhiro
See All by NakanishiTetsuhiro
コメントの書き方から見る 良いコードについての考察
nakanishitetsuhiro
0
630
SelfIntroduction
nakanishitetsuhiro
0
49
Laravelで設計する際の ベストプラクティスを探る
nakanishitetsuhiro
0
2.2k
MackerelでECS on Fargate 監視してみた
nakanishitetsuhiro
0
880
WebエンジニアによるWebエンジニアのための今だからこそおすすめしたいLinux環境
nakanishitetsuhiro
1
96
本番環境をECSで構築した話
nakanishitetsuhiro
0
900
Laravel5でjobque実装した話
nakanishitetsuhiro
0
100
Laravel5でJob_Queue実装した話_v1.0.1
nakanishitetsuhiro
1
55
社会人による社会人のための友達づくりのすゝめ
nakanishitetsuhiro
0
50
Other Decks in Programming
See All in Programming
レベル1の開発生産性向上に取り組む − 日々の作業の効率化・自動化を通じた改善活動
kesoji
1
340
知って得する@cloudflare_vite-pluginのあれこれ
chimame
1
110
AIと”コードの評価関数”を共有する / Share the "code evaluation function" with AI
euglena1215
1
190
可変変数との向き合い方 $$変数名が踊り出す$$ / php conference Variable variables
gunji
0
220
Advanced Micro Frontends: Multi Version/ Framework Scenarios @WAD 2025, Berlin
manfredsteyer
PRO
0
420
AI コーディングエージェントの時代へ:JetBrains が描く開発の未来
masaruhr
1
210
生成AI時代のコンポーネントライブラリの作り方
touyou
1
300
The Niche of CDK Grant オブジェクトって何者?/the-niche-of-cdk-what-isgrant-object
hassaku63
1
660
“いい感じ“な定量評価を求めて - Four Keysとアウトカムの間の探求 -
nealle
2
12k
SQLアンチパターン第2版 データベースプログラミングで陥りがちな失敗とその対策 / Intro to SQL Antipatterns 2nd
twada
PRO
26
7.8k
Startups on Rails in Past, Present and Future–Irina Nazarova, RailsConf 2025
irinanazarova
0
280
ペアプロ × 生成AI 現場での実践と課題について / generative-ai-in-pair-programming
codmoninc
2
22k
Featured
See All Featured
Faster Mobile Websites
deanohume
308
31k
Why Our Code Smells
bkeepers
PRO
337
57k
The Invisible Side of Design
smashingmag
301
51k
Become a Pro
speakerdeck
PRO
29
5.4k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
Documentation Writing (for coders)
carmenintech
72
4.9k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
We Have a Design System, Now What?
morganepeng
53
7.7k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.3k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1k
GraphQLとの向き合い方2022年版
quramy
49
14k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.4k
Transcript
Rancherʹ Dockerॳ৺ऀ͕ νϟϨϯδͯ͠Έͨʂ גࣜձࣾRe:Build ͯͭ (@kaoru6strings) 201811݄10ʢʣ Rancher Meetup #01
in Okinawa https://rancherjp.connpass.com/event/105968/
ࣗݾհ • த େʢͯͭ͞Μ or ͯͭ͑Μ ← New!!ʣ • גࣜձࣾRe:BuildɿWebΤϯδχΞ
• Laravel + Vue.js, Ruby on rails • ϦϞʔτϫʔΫͯ͠·͢ • @kaoru6strings
Πϯϑϥؔ࿈ͷεΩϧηοτ • Vagrant + VirtualBoxɿ2ؒ͘Β͍৮ͬͯͨ • AWSɿઌഐʹڭ͑ͯΒ͍ͭͭECS + Fargateͷ ڥͭ͘ΕΔఔ
• Dockerɿ͖ • Rancherɿࠓճ͕͡Ίͯ
ࠓճͷϞνϕʔγϣϯ ʮLaravelΤϯδχΞͷϫΠ Rancher + EC2Ͱڥߏங͠ ͍ͨΜʯ
RancherͰ Kubernetes on AWS https://qiita.com/taishin/items/ 9fe614ec177ead919f97
લ్ଟ
Step1: AMI͔ΒRancher on RancerOSΛ બͯ͠ɺEC2ΠϯελϯεΛͨͪ͋͛Δ ←͜͜
Step1: Rancher on RancerOSΛબ ͯ͠ɺEC2ΠϯελϯεΛͨͪ͋͛Δ ͳ͍
None
ͱΓ͋͑ͣRancherOSΛબ ͯ͠ىಈ ΫϦοΫˠ
Step2: try.rancher.com
Step2: try.rancher.com ͠ɺ͠ΜͰΔɻɻɻ
ͻͱ·্ཱ͖ͣͬͪ͛ͨ͞ EC2ʹRancherͷ͚ͬΔ
Step3: ssh
Step3: ssh ec2-userͰϩάΠϯͰ ͖ͳ͍
None
↑ ͜͜
ssh͢Δͱ͖Ϣʔβ໊rancherͳ
Step3: ec2ʹsshͨ͋͠ͱɺ docker run -d --restart=always -p 8080:8080 rancher/server
Step4: ϗετΛొ ←ΫϦοΫ
Step4: ϗετΛొ CustomΛબΜͰը໘ͷखॱʹ ԊͬͯΧελϚΠζ
Step5: Χλϩάػೳͬͯ WordpressσϓϩΠ
Step5: Χλϩάػೳͬͯ WordpressσϓϩΠ
Step4: Rancher্Ͱ࡞ۀ
Step4: Rancher্Ͱ࡞ۀ
Step5: ʂ
ࠓޙͷ՝ • ຊ൪ڥͱผڥͰRancherΛىಈ͍ͨ͠ • ίϯςφΛεέʔϧΞτͯ͠Έ͍ͨ • Kubernetesͷษڧ • Rancher2.0Λ৮ͬͯΈΔ
ڭ͍͑ͯͩ͘͞ • ECSͱRancherͷॅΈ͚͕·ͩΑ͘Θ͔ͬͯ ͍ͳ͍ɻɻɻʢڝ߹ʁʣ
͓ੈʹͳͬͨهࣄ • AWSʹWEBΞϓϦͷ࠷খߏڥΛ࡞Δ (https://qiita.com/okoppe8/items/ dc1de147a36797442e4c) •