0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

基本的なリモートサーバーとローカルサーバー

Posted at

アジェンダ

基本的なリモートサーバーとローカルサーバーの違いを簡単にまとめます。

1. リモートサーバー (Remote Server)

リモートサーバーは、物理的に自分がアクセスできる場所にない、遠隔地にあるサーバーです。通常はインターネットを通じてアクセスします。たとえば、AWSやGoogle Cloud、Herokuなどのクラウドサービスでホスティングされているサーバーがリモートサーバーに該当します。リモートサーバーは、次のような場合によく利用されます:

  • ウェブサイトやアプリケーションを公開する。
  • データベースやファイルを管理する。
  • クラウドベースのアプリケーションを提供する。

2. ローカルサーバー (Local Server)

ローカルサーバーは、自分のコンピュータ上で直接稼働しているサーバーのことです。自分のPCやローカルネットワーク内にあるサーバーは「ローカルサーバー」と呼ばれます。開発者がコードをテストする際に、アプリケーションをローカル環境で動かすためにローカルサーバーを使うことが一般的です。次のようなシーンで使用されます:

  • 開発やテストのために使う。
  • 小規模な内部ネットワークでファイルやデータベースを共有する。

具体例

  • リモートサーバー: 本番環境のウェブアプリをAWS EC2にデプロイして運用する。
  • ローカルサーバー: 自分のPCでローカルにlocalhost:3000でアプリケーションを実行してテストする。

ローカルで動作を確認した後、リモートサーバーにデプロイして公開する、という流れが一般的です。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?