Agent skill

gcp-cloud-sql

Provision Cloud SQL and Spanner databases. Configure high availability, backups, and security. Use when deploying managed databases on GCP.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/gcp-cloud-sql

Metadata

Additional technical details for this skill

author
devops-skills
version
1.0

SKILL.md

GCP Cloud SQL

Deploy managed databases on Google Cloud.

Create Instance

bash
gcloud sql instances create mydb \
  --database-version=POSTGRES_15 \
  --tier=db-f1-micro \
  --region=us-central1 \
  --root-password=secretpassword \
  --storage-auto-increase \
  --backup-start-time=02:00

# Create database
gcloud sql databases create myapp --instance=mydb

# Create user
gcloud sql users create appuser \
  --instance=mydb \
  --password=userpassword

High Availability

bash
gcloud sql instances create mydb \
  --database-version=POSTGRES_15 \
  --tier=db-custom-2-8192 \
  --region=us-central1 \
  --availability-type=REGIONAL

Best Practices

  • Enable automated backups
  • Use Cloud SQL Proxy for connections
  • Implement private IP
  • Use read replicas for scaling

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results