O'Reilly logo

Google Cloud Platform Cookbook by Legorie Rajan PS

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 Chapter02/bigtable/bigtableIns.py ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required