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
180
コンテナ技術とVPSでのデプロイの基本的
ペンギンハック ブートキャンプ4日目 説明資料
Simo
February 24, 2023
Tweet
Share
More Decks by Simo
See All by Simo
コロナ禍で経験したチーム開発と学びについて(excite × C3合同LT会)
simo123
0
78
SPA・SSGでSSRのようなOGP対応!
simo123
2
1.5k
Other Decks in Technology
See All in Technology
金融サービスにおける高速な価値提供とAIの役割 #BetAIDay
layerx
PRO
1
790
九州の人に知ってもらいたいGISスポット / gis spot in kyushu 2025
sakaik
0
110
【CEDEC2025】大規模言語モデルを活用したゲーム内会話パートのスクリプト作成支援への取り組み
cygames
PRO
2
800
SRE新規立ち上げ! Hubbleインフラのこれまでと展望
katsuya0515
0
180
【OptimizationNight】数理最適化のラストワンマイルとしてのUIUX
brainpadpr
1
430
Rubyの国のPerlMonger
anatofuz
3
730
AIに目を奪われすぎて、周りの困っている人間が見えなくなっていませんか?
cap120
1
520
Lambda management with ecspresso and Terraform
ijin
2
150
相互運用可能な学修歴クレデンシャルに向けた標準技術と国際動向
fujie
0
230
Findy Freelance 利用シーン別AI活用例
ness
0
390
LLMでAI-OCR、実際どうなの? / llm_ai_ocr_layerx_bet_ai_day_lt
sbrf248
0
450
o11yツールを乗り換えた話
tak0x00
2
550
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.3k
How to train your dragon (web standard)
notwaldorf
96
6.2k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Practical Orchestrator
shlominoach
190
11k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
Being A Developer After 40
akosma
90
590k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.4k
[RailsConf 2023] Rails as a piece of cake
palkan
56
5.7k
Docker and Python
trallard
45
3.5k
Why You Should Never Use an ORM
jnunemaker
PRO
58
9.5k
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