Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Labs

Working with Data in Google Cloud SQL

SQL databases are a foundation of computing in general, and cloud computing is no exception. Cloud SQL is a particularly robust implementation of a relational database service with rapid scalability, high availability, and secure replication. In this hands-on lab, you’ll see how to set up a Cloud SQL instance, add a MySQL database, and import the schema and data of a large dataset. Once it’s set up, you’ll run through several sample queries.

Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 1h 0m
Published
Clock icon Mar 12, 2019

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Enable APIs

    Enable the Cloud SQL APIs.

  2. Challenge

    Create Cloud Storage Bucket

    Create a Cloud Storage bucket.

    Note: The following locations are allowed in the lab: US-East-1, US-West-1, US-Central-1, Europe-West-1, and Australia-Southeast-1).

  3. Challenge

    Clone a GitHub Repository and Copy to Bucket

    Open the Cloud Shell, clone the GitHub repository, and copy the necessary files to the Cloud Storage bucket.

  4. Challenge

    Create a Cloud SQL Instance

    Create a Cloud SQL instance.

  5. Challenge

    Create Database, Table, and Import Schema

    Create the database, then create a table, and finally, import the schema.

  6. Challenge

    Import Data

    Import the MetObjects_subset.csv data.

  7. Challenge

    Query Database

    Connect to the database in Cloud Shell, declare the met_museum database, and query Met objects.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

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.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans