Setting up Google Cloud Platform (GCP)

Before connecting to Niagara some configurations are done in GCP Console. This section provides information about the GCP Configuration.

  1. Navigate to GCP Console. Click the drop-down list displayed in below image:


    Select A Project window opens.

  2. Select New Project.
    A New Project window opens.

  3. Enter the Project name of your choice and browse the location. Click Create.
    A new project is created.

  4. Navigate toTopics using the navigation menu on the top left or using the search bar at top of the screen. (Search: Topics).
    1. Select Topics from the list.
    2. Create Topics (tempData, device, data).
  5. Navigate toIoT Core using the navigation menu on the top left or using the search bar at top of the screen. (Search: IoT Core).
  6. Create a new Registry in IoT Core.
    1. Enter Registry ID.
    2. Select region as europe-west1 or us-central1.
      Note: At the time of testing choosing Asia-east1 did not connect and produced an output error as: “Invalid Protocol Version”.
    3. Select a topic from the list created in step 4.
  7. Select Add under additional topics and select tempData. Enter degree as a subfolder.
  8. Under the device state topic, select device from the list. Projects/PROJECT_NAME/topics/device. Click Create.