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.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Create instance.
- From the main navigation, click Cloud SQL.
- Click Create Instance.
- Choose your database engine.
- Enter an instance ID.
- Provide a password.
- Click Create.
- Create a database.
- Select the recently created Cloud SQL instance.
- Choose Create database.
- Name the database and leave the other fields at their default values.
- Click Create.
- Clone the instance.
- From the Instance details page, choose Create clone.
- Enter a new name for the clone if desired.
- Choose Clone latest state of instance.
- Click Create clone.
- Stop and start an instance.
- Select the first instance created.
- Click Stop.
- After the instance has stopped, click Start.
- Restart an instance.
- Select the cloned instance.
- Click Restart.
- Delete an instance.
- Select the cloned instance.
- Click Delete.
- Enter the name of the instance in the dialog to confirm the deletion.
- Click Delete.