# GCP - Spanner Enum

{{#include ../../../banners/hacktricks-training.md}}

## [Cloud Spanner](https://cloud.google.com/sdk/gcloud/reference/spanner/)

Database relazionale completamente gestito con scalabilità illimitata, forte coerenza e fino al 99.999% di disponibilità.
```bash
# Cloud Spanner
## Instances
gcloud spanner instances list
gcloud spanner instances describe <INSTANCE>
gcloud spanner instances get-iam-policy <INSTANCE>

## Databases
gcloud spanner databases list --instance <INSTANCE>
gcloud spanner databases describe --instance <INSTANCE> <db_name>
gcloud spanner databases get-iam-policy --instance <INSTANCE> <db_name>
gcloud spanner databases execute-sql --instance <INSTANCE> --sql <sql> <db_name>

## Backups
gcloud spanner backups list --instance <INSTANCE>
gcloud spanner backups get-iam-policy --instance <INSTANCE> <backup_name>

## Instance Configs
gcloud spanner instance-configs list
gcloud spanner instance-configs describe <name>
```
{{#include ../../../banners/hacktricks-training.md}}
