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
RancherにDocker初心者がチャレンジしてみた!.pdf
Search
NakanishiTetsuhiro
November 10, 2018
Programming
450
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
RancherにDocker初心者がチャレンジしてみた!.pdf
Rancher meetup01 okinawaで発表したLTの資料です
NakanishiTetsuhiro
November 10, 2018
More Decks by NakanishiTetsuhiro
See All by NakanishiTetsuhiro
コメントの書き方から見る 良いコードについての考察
nakanishitetsuhiro
0
700
SelfIntroduction
nakanishitetsuhiro
0
69
Laravelで設計する際の ベストプラクティスを探る
nakanishitetsuhiro
0
2.4k
MackerelでECS on Fargate 監視してみた
nakanishitetsuhiro
0
960
WebエンジニアによるWebエンジニアのための今だからこそおすすめしたいLinux環境
nakanishitetsuhiro
1
110
本番環境をECSで構築した話
nakanishitetsuhiro
0
940
Laravel5でjobque実装した話
nakanishitetsuhiro
0
120
Laravel5でJob_Queue実装した話_v1.0.1
nakanishitetsuhiro
1
69
社会人による社会人のための友達づくりのすゝめ
nakanishitetsuhiro
0
62
Other Decks in Programming
See All in Programming
Secure Your Coding Agent Like It’s Malware (v1.5) 🇬🇧 @Code.talks 2026
richargh
0
110
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
4
3.6k
Enforcing Your Architecture with Unit Tests in the AI Era (Swift Connection X)
steliosf
PRO
1
150
SFCで実現する病院・医療システムの動的組み立て式UI
koukimiura
1
170
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
4
1.5k
protojson における文字化けの扱い
kazuki1023
0
220
プロジェクトコードをキレイキレイしよう!暗黙的な参照を読み解く静的解析
ostk0069
0
210
Seven New Principles of Software Engineering
yegor256
0
470
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
5
810
SODA - FACT BOOK(JP)
sodainc
1
40k
私なりのハーネスエンジニアリング ~独自の言語処理系の開発を通して~
seosoft
0
200
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
370
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
42
3.2k
Building Applications with DynamoDB
mza
96
7.3k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
530
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
740
Balancing Empowerment & Direction
lara
6
1.4k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
Why Our Code Smells
bkeepers
PRO
340
58k
Six Lessons from altMBA
skipperchong
29
4.6k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Unsuck your backbone
ammeep
672
58k
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) •