- Lab
- A Cloud Guru
Managing Google Cloud SQL Instances
When working with Cloud SQL on any scale, you’ll need to manage multiple instances: creating, cloning, starting, stopping, restarting, and — eventually — deleting them. This hands-on lab gives you the experience of performing all those tasks so you’ll be familiar with the steps necessary to handle Cloud SQL instances completely.
Path Info
Table of Contents
-
Challenge
Create an Instance
- From the main navigation, navigate to Cloud SQL.
- Click CREATE INSTANCE.
- Choose your database engine.
- In the Customize your instance section, choose the shared core machine type. Select a single zone deployment and 10GB storage. GCP lab and sandbox regions now include: US-East-1, US-West-1, US-Central-1, Europe-West-1, and Australia-Southeast-1.
- Enter an instance ID.
- Provide a password.
- Click CREATE.
-
Challenge
Create a Database
- Select your recently created Cloud SQL instance.
- Choose CREATE DATABASE.
- Name the database and leave the other fields at their default values.
- Click CREATE.
-
Challenge
Clone the Instance
- From the Instance details page, choose CLONE.
- Enter a new name for the clone if desired.
- Choose Clone latest state of instance.
- Click CLONE.
-
Challenge
Stop and Start an Instance
- Select the first instance created.
- Click STOP.
- After the instance has stopped, click START.
-
Challenge
Restart an Instance
- Select the cloned instance.
- Click RESTART.
-
Challenge
Delete an Instance
- Select the cloned instance.
- Click DELETE.
- Enter the name of the instance in the dialog to confirm the deletion.
- Click DELETE.
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.