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
Simo
February 24, 2023
Technology
0
200
コンテナ技術とVPSでのデプロイの基本的
ペンギンハック ブートキャンプ4日目 説明資料
Simo
February 24, 2023
Tweet
Share
More Decks by Simo
See All by Simo
コロナ禍で経験したチーム開発と学びについて(excite × C3合同LT会)
simo123
0
89
SPA・SSGでSSRのようなOGP対応!
simo123
2
1.7k
Other Decks in Technology
See All in Technology
男(監査)はつらいよ - Policy as CodeからAIエージェントへ
ken5scal
4
630
サンタコンペ2025完全攻略 ~お前らの焼きなましは遅すぎる~
terryu16
1
540
AWS Bedrock Guardrails / 機密情報の入力・出力をブロックする — Blocking Sensitive Information Input/Output
kazuhitonakayama
2
180
「使いにくい」も「運用疲れ」も卒業する UIデザイナーとエンジニアが創る持続可能な内製開発
nrinetcom
PRO
1
510
Introduction to Sansan Meishi Maker Development Engineer
sansan33
PRO
0
360
インシデント対応入門
grimoh
7
5.4k
Devinを導入したら予想外の人たちに好評だった
tomuro
0
440
Microsoft Fabric のワークスペースと容量の設計原則
ryomaru0825
2
210
20260222ねこIoTLT ねこIoTLTをふりかえる
poropinai1966
0
300
もう怖くないバックグラウンド処理 Background Tasks のすべて - Hakodate.swift #1
kantacky
0
210
Claude Codeと駆け抜ける 情報収集と実践録
sontixyou
2
1.2k
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.4k
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
Designing for Timeless Needs
cassininazir
0
150
Fireside Chat
paigeccino
41
3.8k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
970
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
96
Documentation Writing (for coders)
carmenintech
77
5.3k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
380
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
290
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
470
The browser strikes back
jonoalderson
0
740
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