Creating Google Cloud SQL instances

A Google Cloud SQL instance is a set of memory structures that manage database files. The instance manages its associated data and serves the users of the database. Every running Google Cloud SQL database is associated with at least one database instance.

Cloud SQL instances are fully managed, relational MySQL and PostgreSQL databases. Google handles replication, patch management, and database management to ensure availability and performance. When you create an instance, choose a size and billing plan to fit your application.

To create a Google Cloud SQL instance:

  1. Go to the Google Cloud SQL instances page at the following URL: https://console.cloud.google.com/sql/instances.
  2. Click on the create instance button at the middle of the page. A guided sequence will lead us to create the instance.
  3. Choose the database type; two options are available: MySQL and PostgreSQL (MySQL is the default choice). After making your choice, click on the next button.
  4. Choose a MySQL instance type; two options are available: MySQL Second Generation (recommended) and MySQL First Generation. MySQL Second Generation offers high performance, high storage capacity, and low cost. MySQL First Generation is the older version of Cloud SQL, providing basic performance and storage capacity. To make your choice, click on the Choose Second/First Generation button. 
  1. new page is opened. In this page, a set of choices must be made, as shown in the following screenshot:

 The first choice concerns the name of the instance. This is a name visible from the outside so it is advisable not to include sensitive or personally identifiable information in that name. Furthermore, it is not necessary to include the project ID in the instance name; if necessary, it is added automatically.

  1. Set the password for the 'root'@'%' user.
  2. Set the region.
  3. Set configuration options.
  4. Finally, click on the Create button.

In this way, a new instance will have been created.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.59.177.14