Google Cloud Platform + Mongo Atlas

1. Set up Mongo Atlas

To set up MongoDB Atlas, you can follow these steps:

  1. Go to the MongoDB Atlas website and sign in or create an account. Click here
  2. Click on the "Get started for free" button or choose the "Build a cluster" option from the dashboard.
  3. Select a cloud provider (e.g., AWS, Google Cloud, Azure) and choose the region where you want your database to be hosted. You can also select a specific version of MongoDB if needed.
  4. Choose the cluster tier based on your requirements. MongoDB Atlas provides various options with different performance levels and features. You can start with the free tier or choose a paid tier depending on your needs.
  5. Configure additional cluster settings:
  6. Set up additional features:
  7. Click on the "Create Cluster" or "Build Cluster" button to initiate the provisioning process. MongoDB Atlas will create and configure the cluster based on your selections. This process may take a few minutes.
  8. Once the cluster is ready, you will be redirected to the Cluster Details page. Here, you can monitor the status, manage cluster settings, and access other features.
  9. Set up network access and security:
  10. Connect to your MongoDB Atlas cluster:
  11. Follow the instructions provided for your chosen connection method. MongoDB Atlas provides step-by-step instructions specific to your selected method, including connection string examples, authentication details, and necessary configurations.

Once you have completed these steps, your MongoDB Atlas cluster will be set up and ready for use. You can start connecting your applications or tools to the cluster using the provided connection string and access your MongoDB database in the cloud.

Untitled

Remember to check the connection string of your database such as mongodb+srv://hogehoge.

2. Set up a Cloud Storage bucket

To set up a Cloud Storage bucket on Google Cloud Platform (GCP), you can follow these steps:

  1. Go to the GCP Console and sign in or create an account. Click here