hands-on lab

Using Cloud Firestore in Datastore Mode as a NoSQL Database

Beginner
35m
216
5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Lab description

When you need to build a web application, or you need to work with data as documents or entities, you should consider using the NoSQL model to store and work with your data. Google Cloud offers different solutions to work with NoSQL data. One of these is Cloud Firestore in Datastore mode.

Cloud Firestore in Datastore mode is a NoSQL document-based database mainly focussed on scalability, high availability, and ease of use. It allows customers to use it by using both the Google Cloud Console and a wide range of APIs for the most common programming languages.

Cloud Firestore allows you to organize and handle data as they are entities into collections. An item into Firestore is an entity, and this is put into a kind (it acts as the collection). For each entity you generate, you need to specify a key that needs to be unique inside that kind, and a set of properties that define the entity.

In this lab, you will start working with Cloud Firestore in Datastore mode by understanding the core components, and by creating entities under a kind with properties.

Learning Objectives

Upon completion of this lab, you will be able to:

  • Understand the core components of Firestore in Datastore mode
  • Work with main Firestore in Datastore mode components

Intended Audience

  • Google Cloud Professional Data Engineer (PDE) candidates
  • Data engineers that want to move to an efficient document-based data solution
  • Developers that are curious about the NoSQL data model

Prerequisites

No prerequisites are required to complete this lab.

Environment before
Environment after
About the author
Students
40,007
Labs
106
Courses
2
Learning paths
10

Stefano studies Computer Science and is passionate about technology. He loves working with Cloud services and learning all the best practices for them. Google Cloud Platform and Amazon Web Services are the cloud providers he prefers. He is a Google Cloud Certified Associate Cloud Engineer. Node.js is the programming language he always uses to code. When he's not involved in studying or working, Stefano loves riding his motorbike and exploring new places.

Covered topics
Lab steps
Signing In to the Google Cloud Console
Understanding Core Components of Firestore in Datastore Mode
Creating a New Firestore Database
Creating a Firestore Entity