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
コンテナ技術とVPSでのデプロイの基本的
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Simo
February 24, 2023
Technology
220
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
コンテナ技術とVPSでのデプロイの基本的
ペンギンハック ブートキャンプ4日目 説明資料
Simo
February 24, 2023
More Decks by Simo
See All by Simo
コロナ禍で経験したチーム開発と学びについて(excite × C3合同LT会)
simo123
0
99
SPA・SSGでSSRのようなOGP対応!
simo123
2
1.9k
Other Decks in Technology
See All in Technology
Redmine 7.0で私が開発した新機能の狙いと背景
vividtone
1
120
Multica × 長期記憶:40個のミニプロジェクト管理
eiei114
1
210
ブラウザアプリの継続的パフォーマンスモニタリング (序) / Continuous Browser Application Performance Monitoring; Act 1
moznion
0
120
20260906 「AWS運用入門」著者が教える、運用業務への生成AI活用入門
masaruogura
0
250
Podは生きているのにGoだけが落ちる:GOGCとGOMEMLIMITで追うInvisible OOM Killの謎
tkc66buzz
1
210
Nav2、Nav3 ... はたまた自作?〜 作って理解する Nav3 の設計意図 〜 / Nav2, Nav3 ... or Build Your Own? — Understanding Nav3's design intent by building it from scratch
yanzm
0
260
日経電子版を支えていく Kasane Design System/fec_fukuoka
nikkei_engineer_recruiting
0
250
AI時代だからこそ、スケールしないことをやろう
yutashigemura
1
110
全員がプロダクトへ向き合う組織を持続成長させるために——組織づくりのフライホイールと4象限 / The Flywheel Model and Four Quadrants for Organizational Design
hiro_torii
4
920
GoにおけるFFIのこれまでとこれから
goccy
4
1.2k
Deploying a Full-Stack Bun-Native Framework on Cloudflare Workers
7nohe
0
110
#jawssonic2026 あの時代が悪かった ~動かなかったSageMakerと共に迎えたイベント当日~
ktkn1129
0
140
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.6k
From π to Pie charts
rasagy
0
360
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
400
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
Writing Fast Ruby
sferik
630
63k
Visualization
eitanlees
152
17k
Raft: Consensus for Rubyists
vanstee
141
7.7k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.4k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
260
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.9k
Transcript
D o c k e r V P S D
e p l o y コ ン テ ナ 技 術 と V P S で の デ プ ロ イ の 基 本 的
V P S
VPSとは • Virtual Private Serverの略 • 物理サーバーを複数のユーザーで共有(マルチテナント型) • ユーザーごとの独⽴した仮想環境 •
OSから⾃由に選択可能 • コスト、カスタマイズ性、独⽴性
VPSとは • Virtual Private Serverの略 • マルチテナント型 • ユーザーごとの独⽴した仮想環境 •
OSから⾃由に選択可能 • コスト、カスタマイズ性、独⽴性 出典︓https://baremetal.jp/blog/2022/01/07/1119/# レンタルサーバー・専⽤サーバー・クラウドサーバーとの 違い
⽐較 レンタルサーバー (シェアハウス) 専⽤サーバー (⼀軒家) VPS (マンション) 出典︓https://baremetal.jp/blog/2022/01/07/1119/#レンタルサーバー・専⽤サーバー・クラウドサーバーとの違い
⽐較 レンタルサーバー 専⽤サーバー VPS コスト ◎ × ◯ カスタマイズ性 △
◎ ◯ 独⽴性 × ◎ ◯
クラウド IaaS PaaS SaaS アプリケーション ✅ ミドルウェア ✅ ✅ OS
✅ ✅ ✅ ハードウェア ✅ ✅ ✅ ネットワーク ✅ ✅ ✅
クラウド IaaS︓Azure, AWS, GCP PaaS︓Google App Engine, Heroku SaaS︓Office 365,
Gmail
VPSサービス
D o c k e r
Dockerとは • Docker社が開発 • Linuxのコンテナ技術 • 単⼀OS上の独⽴した仮想環境をコンテナという • ゲストOSなし •
Docker Engineがコンテナを管理
Dockerとは 出典︓https://tech-blog.rakus.co.jp/entry/20221007/docker
Dockerの特徴 • ポータビリティ、再現性 • マイクロサービス化 • イメージバージョン管理とロールバック
Dockerの概要 • コンテナ︓イメージを基にした仮想サーバー • イメージ︓必要な設定がまとめられたテンプレート • ボリューム︓コンテナで利⽤する記憶領域 • Docker Engine︓コンテナ実⾏プラットフォーム
• Dockerfile︓イメージの設計書
Docker Composeについて → YAMLファイルで複数コンテナを扱うツール 出典︓https://o2mamiblog.com/docker-beginner-2/
Dockerを⽤いたアプリケーション構成の例
実践編 https://qiita.com/Shimo52 96/private/eebeeec7eacd9 8daf8f9