How to do it...

The steps involved are as follows:

  1. In the Console, navigate to the Bigtable page and click on Create instance.
  2. Create an instance with the input data as shown in the following screenshot:
  1. Clone the bigtable folder from the GitHub repository. The following Python script inserts sample sensor data to the Bigtable. Do update the <Project ID> at the last line of the bigtableIns.py.
Care should be taken in the schema design and how data is inserted into the Bigtable, as this will impact the performance of the Bigtable: https://cloud.google.com/bigtable/docs/schema-design.

The following script can be found in the Chapter17/bigtable/bigtableIns.py ...

Get Building Google Cloud Platform Solutions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.