50% off 全プラン、期間限定。料金は $2.48/mo
Initial Documents

Deploy mongodb oca on cloudzy

By Parnian R. 5 min read Updated Feb 15, 2026

This guide provides a straightforward approach to deploying and
configuring MongoDB on a Cloudzy Virtual Private Server (VPS) using the
ワンクリックアプリサービス。必要な手順をカバーして、素早くセットアップできます
MongoDB サーバー。サーバーへのアクセスや設定の構成から始まり
retrieving database credentials. Follow these simple instructions to
MongoDB をプロジェクトで効率よく利用し始めましょう。

Prerequisites

Before you start deploying MongoDB on your Cloudzy VPS using the
ワンクリックアプリを使用する場合は、以下を確認してください:

Enough Credit: Ensure your Cloudzy account has
MongoDB ワンクリックアプリのセットアップと利用に必要なクレジット残高があります。

Active Account: Your Cloudzy account should be
アクティブで使用可能な状態です。

Operating System Compatibility: The MongoDB
ワンクリックアプリはUbuntuと互換性があります。Ubuntuから選択できます
Server 20.04, Ubuntu Server 22.04, and Ubuntu Server 24.04 versions.

Step 1:
Selecting the MongoDB Application

  1. Log into your Cloudzy account: Start by signing
    into your Cloudzy dashboard using your credentials.

  2. アプリケーションセクションに移動: On the
    左側のメニューで「Applications」をクリックすると、利用可能なアプリケーションが表示されます
    applications.

Applications page
  1. Choose MongoDB: Among the various applications
    一覧から MongoDB を探してください。検索バーを使うか、スクロールして
    list. 見つけたら、MongoDB アイコンの下にある 'Deploy Service' をクリックします。
Applications page
  1. Select the operating system version: Choose the
    お使いの MongoDB に適した Ubuntu のバージョン (20.04、22.04、または 24.04) を選択してください
    アプリケーション。互換性と最高のパフォーマンスを保証します。
Applications page

This will prepare your system for the MongoDB installation with the
デプロイを成功させるために必要な設定。

Step 2:
Configuring Your VPS Settings

ご注文を完了する前に、アカウントを作成する必要があります。手順は以下の通りです。
登録フォームにお名前、メールアドレス、パスワードを入力してください
強力なパスワード。または Google アカウントでサインアップすることもできます。
selecting the Continue with Google option.

  1. Select a Service Plan:

MongoDB と互換性のあるオペレーティングシステムを選択した後、次のステップに進みます。
サービス設定ページに移動します。利用可能な VPS プランを確認してください。
それぞれ vCPUs、メモリ、帯域幅、ストレージ容量が異なります。
MongoDB、より多くのメモリと CPU リソースを備えたプランを選択して確保してください
better performance.

Plans
  1. Set Up SSH Key (Optional but Recommended):

セキュリティを強化するには、セキュアなサーバー用に SSH キーを追加することをお勧めします
access.

ssh keys

SSH キーをまだお持ちでない場合は、作成することをお勧めします
パスワード不要のセキュアアクセス。設定と使用方法については
SSH keys, refer to Cloudzy’s SSH key setup guide. Cloudzy’s
SSH key setup guide

  1. Enter a Hostname:

VPSのホスト名を割り当てます。サーバーのネットワーク識別に使用されます
identifier.

サーバーの用途を反映した、意味のあるホスト名を選択してください。例:
mongodb-server-01.

  1. Deploy Your VPS:

設定がすべて確認できたら、次のボタンをクリックします
「Deploy Now」ボタンをクリックして VPS のプロビジョニングを開始します。 deploy セットアップが始まり、サーバーが
be prepared with MongoDB installed.

This process ensures that your MongoDB server is properly configured
with the necessary resources and security measures tailored to hosting a
database efficiently.

Step 3:
Monitoring the Deployment Process

  1. Track the Deployment Progress:

「Deploy Now」をクリックすると、ステータスページにリダイレクトされます
このページで VPS のデプロイ進捗を確認できます。
displays various stages such as ‘Preparing Network’, ‘Preparing Disk’,
「Initializing」を経由して最終的に「Active」に到達します。各段階で現在のサーバーセットアップの状況が表示されます。
サーバーセットアップの現在の状況が表示されます。

initializing
  1. Deployment Completion:

プログレスバーが各段階の完了を示します。すべてのステージが「Active」ステータスに到達するまで待ちます。これはサーバーが完全にデプロイされ、運用可能になったことを示します。
すべてのステージが「Active」ステータスに到達するまで待ちます。
MongoDB サーバーが完全にデプロイされ、運用可能な状態になります。

This process might take a few minutes depending on the selected
configurations and network speed.

initializing
  1. Access Server Details:

Once the deployment is successful and the server status shows
「Active」になると、サーバーの IP アドレスなどの情報が表示されます。
username, and initial password.

success

これらの詳細は大切に保管してください。VPS にアクセスする際に必要になります。
MongoDB server.

Completing these steps ensures that your MongoDB server is up and
実行中です。提供されたアドレスを使ってサーバーに接続できます。
あなたのアプリケーションで MongoDB を使い始めるための認証情報。

Step 4:
Accessing and Using Your MongoDB Server

  1. サーバーに接続:

デプロイプロセスの最後に提供される IP アドレス、ユーザー名、初期パスワードを使用してサーバーに接続します。接続に問題がある場合は
サーバーにログインしたら、MongoDB の設定を続けます。必要なヘルプについては
help connecting via SSH, refer to Cloudzy’s
SSH connection guide
クレジットが足りない場合は Low
Balance
ポップアップが表示されるので、クリックしてください Add
to Credit
.

  1. Initial Setup of MongoDB:

サーバーにログインしたら、MongoDB の設定に進みます。
instance.

Enter the Admin Username: When prompted in the
コマンドラインで選択した管理者ユーザー名を入力します。このユーザー名は MongoDB 環境を管理するために使用されます。
MongoDB 環境を管理するために使用されます。

Specify the Database Host: You will be prompted to
MongoDB データベースのホストを入力します。デフォルト IP が提案されている場合、それがセットアップに適していれば受け入れるか、必要に応じて別のものを入力します。
必要に応じて別のものを入力します。
required.

Terminal
  1. Confirm Installation and Access Server:

初期セットアップの完了後、MongoDB サーバーが運用可能であることがシステムから確認されます。通常はアクセス可能な状態を示します。
通常はアクセス可能な状態を示します。
URL like mongodb://your-server-ip:27017. Replace your-server-ip with the
actual IP address provided.

  1. Access Database Credentials:

MongoDB データベースの認証情報を確認するには、コマンドラインを使用して認証情報ファイルに移動します。次のコマンドを入力します。
次のコマンドを入力します。

cat /root/.mongo-env

This command will display the database credentials stored in the
.mongo-env ファイルには MongoDB のユーザー名とパスワードが含まれています。

Terminal

これらのステップに従うことで、MongoDB サーバーが設定されます。
管理者ユーザーが設定済みで、データベース操作の準備が整っています。このセットアップにより
サーバーが完全に稼働し、すぐに使用できるセキュアな状態であることを確認できます。

Share

Need help with something else?

Median response time under 1 hour. Real humans, not bots.