sql

Cloud SQL

DatabasesGCP
General

General information about the service.

Description

Google Cloud SQL is a fully managed relational database service for MySQL, PostgreSQL, and SQL Server.

Service ID

sqladmin.googleapis.com

Resource Pattern

projects/{project}/instances/{instance}

Chat

Powered by AI

Talk to this service to learn more about it.

Suggested questions:

Naming

The conventions, rules, and restrictions for naming this service.

Naming Convention

sql-{workload}-{environment}

Length

1-63

Valid Characters

Lowercase letters, numbers, hyphens

Scope

project

Code

Deploy your infrastructure as code using your preferred tooling.

Official DocumentationTerraform
terraform
1resource "google_sql_database_instance" "main" {
2 name = "sql-${var.environment}"
3 database_version = "POSTGRES_15"
4 region = var.region
5
6 settings {
7 tier = "db-f1-micro"
8 }
9
10 deletion_protection = false
11}
Utilities

Utilities to support app deployment or configuration.