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
200
0
Share
コンテナ技術とVPSでのデプロイの基本的
ペンギンハック ブートキャンプ4日目 説明資料
Simo
February 24, 2023
More Decks by Simo
See All by Simo
コロナ禍で経験したチーム開発と学びについて(excite × C3合同LT会)
simo123
0
90
SPA・SSGでSSRのようなOGP対応!
simo123
2
1.8k
Other Decks in Technology
See All in Technology
AI時代に新卒採用、はじめました/junior-engineer-never-die
dmnlk
0
110
Babylon.js を使って試した色々な内容 / Various things I tried using Babylon.js / Babylon.js 勉強会 vol.5
you
PRO
0
230
建設的な現実逃避のしかた / How to practice constructive escapism
pauli
3
140
機能・非機能の学びを一つに!Agent Skillsで月間レポート作成始めてみた / Unifying Bug & Infra Insights — Building Monthly Quality Reports with Agent Skills
bun913
5
2.8k
ZOZOTOWNリプレイスでのSkills導入までの流れとこれから
zozotech
PRO
4
2.4k
Claude Teamプランの選定と、できること/できないこと
rfdnxbro
1
510
パワポ作るマンをMCP Apps化してみた
iwamot
PRO
0
300
JAWS DAYS 2026でAIの「もやっと」感が解消された話
smt7174
1
130
今年60歳のおっさんCBになる
kentapapa
1
130
ハーネスエンジニアリング×AI適応開発
aictokamiya
3
1.5k
マルチモーダル非構造データとの闘い
shibuiwilliam
1
180
OPENLOGI Company Profile
hr01
0
83k
Featured
See All Featured
Leo the Paperboy
mayatellez
6
1.6k
Skip the Path - Find Your Career Trail
mkilby
1
94
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
500
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.3k
How GitHub (no longer) Works
holman
316
150k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
170
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Building an army of robots
kneath
306
46k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.4k
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