Skip to content

Run Google Cloud Platform

hafidz edited this page Jun 11, 2023 · 4 revisions

Author: Jesse Palarus
Author: Hafidz Arifin
Date: 11.06.23

This documentation provides instructions for setting up and configuring the Google Cloud environment to run a ChatBot using the provided commands. Please follow the steps below to ensure a successful setup.

Prerequisites

Before you begin, make sure you have the following:

  1. A Google Cloud account. If you don't have one, you can sign up at
    https://cloud.google.com/.

  2. Google Cloud Platform Setup. If not please follor our documentation at
    https://github.com/amosproj/amos2023ss03-qachat/wiki/Google-Cloud-Platform-Setup.

  3. tokens.env with this line

    GOOGLE_CLOUD_QA_BOT=http://<STATIC-IP>:80
    

    Replace the <STATIC-IP> with the one that is marked in orange in step 3. Or you can download the token.env file from our secure channel.

Steps to Run/Stop

  1. Open the Google Cloud Console.

  2. Search for "Compute Engine"

    image

  3. Click on the (3 dots) of qa-bot VM-instance

    image

  4. Click on Start/Resume or Stop

Hints

  • It needs some time to run and stop the QABot-Server (1-2min).
  • It costs money when it runs, so dont forget to stop.
Clone this wiki locally