- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
- Data

Connecting to Cloud Bigtable with HBase Shell
Cloud Bigtable is a fully managed NoSQL database service designed to handle massive amounts of information. One of Cloud Bigtable’s true strengths is its adherence to support for the open-source industry standard HBase API. In this hands-on lab, you’ll configure database instances and clusters for Cloud Bigtable in the console. Then you'll use HBase shell commands to create a schema and populate the table with data.

Lab Info
Table of Contents
-
Challenge
Enable API
- From the main navigation menu, choose APIs & Services. Then select Library.
- In the search field, enter "Bigtable".
- Select the Cloud Bigtable Table Admin API card.
- Click Enable.
-
Challenge
Create Bigtable Instance
- From the main navigation, choose Bigtable in the Storage section.
- Choose Create instance.
- Set the following fields:
- Name: "la-data-hbase"
- Instance type: Development
- Storage type: HDD
- Cluster Region: us-east1
- Cluster Zone: us-east-1d
- Click Done and then Create.
-
Challenge
Install and Start HBase Shell
-
Activate the Cloud Shell by clicking its icon in the top row.
-
In the Cloud Shell, clone an existing repository from GitHub for Google Cloud Platform from https://github.com/GoogleCloudPlatform/cloud-bigtable-examples.git and checkout the "ee436eb" branch.
-
Install and set your Cloud Shell instance to use Java version 8 for compatibility with this version of HBase.
-
Start the HBase shell.
-
-
Challenge
Create Data Table and Column Family
- Create a Bigtable table "la-table" with a column family "offerings".
- Review the results.
-
Challenge
Define Table Structure and Add Data
- Create the table qualifier and first cell of the Bigtable table.
- View the data in the table.
- Add a second cell to the same column family.
- Review results.
-
Challenge
Delete Bigtable Instance
- From the console, select the Bigtable instance.
- Choose Delete instance.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.