Google Cloud SQL is an easy-to-use fully managed service that allows you to configure and maintain SQL, MySQL, and PostgreSQL databases. You simply create the database cluster you want before moving on to creating tables and making queries. Updates, patches, backups, and replication are all taken care of automatically. Furthermore, you won’t need to worry about data encryption; Google Cloud SQL does it for you. For more information about what Cloud SQL provides, follow this link.
In this lab, you will create two tables in a provided Cloud SQL PostgreSQL database. You will also perform operations on it, monitor the resources usage and test that the atomicity property is respected by the database.
Upon completion of this lab, you will be able to:
This lab is intended for:
Basic knowledge of SQL is required. If you don't have too much experience with SQL, you can follow this lab first: Run your first SQL Queries
March 10th, 2023 - Updated the instructions and screenshots to reflect the latest UI
April 5th, 2022 - Updated the instructions and screenshots to reflect the latest UI
March 21st, 2022 - Updated instructions and screenshots
Feb 28th, 2022 - Increase allotted time to account for database provisioning and provide additional documentation references
Nov 4th, 2021 - Updated instructions to address formatting issue with the SQL code
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.