Easy-to-understand overview of VPS
VPS
= Virtual Private Server
Let’s say that VPS
is like renting apartment. By paying fee, we can get individual space in a building based on the shared infrastructure like water supply and gas.
Advantages
Using the analogy of an apartment to illastrate the advanteges.
- We can set up living system in lower cost compare to buying a house.
- We don’t affected so much by other neighbors because each rooms are separated.
- We can custamize the interior.
- We can apply things like air-conditioner, wifi which requires the contract.
Translating those in terms of technology,
- We can set up private server-like environment in a lower cost.
- Our
VPS
don’t affected by other users because eachVPS
is establised on separated OS. - We can install applications.
- Also we can install the application which requries authentication.
The other advantage of using VPS
is cheaper cost compares to Cloud Server (like Amazon EC2
).
Disadvanteges
- Since
VPS
is hosted on physical servers, there is a possible lisk which might be affected by big accident (natural disaster, wild fire etc …). - User have to maintain application.
Summary
I’ve been using third party platforms like Heroku
, Fly.io
and Firebase
to host my project.
These are excellent services with user-friendly interface.
However, this time, I could learn under the veil of these services by building hosting system from scratch. I’m convinced this is essential for developers.
I hope this article helps you to have a happy VPS
life!
1, VPSとは
VPSはアパートのようなもの。 家賃を払うことで敷地内に、水道やガスなどの共有インフラを基盤としつつ、個人のスペースを持つことが出来る。
特徴として、 一軒家を買うのは高いが、賃貸だと低価格で生活インフラを整えられる(専用サーバーのような環境を低価格で構築できる) 部屋が仕切られているので他の住居人から受ける影響は少ない。(ユーザーごとにOSが用意されているため、他のユーザーからの影響を受けにくい) 用途やインテリアなどカスタマイズ自由。(ユーザーごとに仮想サーバー領域が割り当てられているため、カスタマイズ性が高い) エアコンやwifiなど、契約が必要なものを導入できる。(管理者権限が必要なアプリケーションソフトウエアも自由に導入できる)
クラウドサーバー(Amazon EC2など)よりもVPSは安く、運用計画を立てやすい。
ただし、 VPSは物理サーバー上に構築されているので、自然災害などのトラブルでVPSユーザーに影響が出る可能性がある。 VPSユーザー自身でメンテナンスしないといけない。