Complete the code to create a Cloud Spanner instance with multi-region configuration.
gcloud spanner instances create my-instance --config=[1] --description="Global instance" --nodes=3
The nam6 configuration is a multi-region configuration suitable for global distribution in Cloud Spanner.
Complete the code to create a Cloud Spanner database in the instance.
gcloud spanner databases create my-database --instance=[1]The database must be created in the instance named my-instance which was created earlier.
Fix the error in the command to add a read-write region to the instance.
gcloud spanner instances update my-instance --add-[1]=europe-west1The correct flag to add a read-write region is --add-read-write-region.
Fill both blanks to configure the instance with 5 nodes and a multi-region config.
gcloud spanner instances create my-global-instance --config=[1] --nodes=[2]
Use nam6 for multi-region config and 5 nodes for capacity.
Fill all three blanks to create a database with a DDL statement for a table.
gcloud spanner databases ddl update my-database --instance=[1] --ddl='CREATE TABLE [2] (Id INT64 NOT NULL, Name STRING(100)) PRIMARY KEY([3])'
The database update must target the correct instance my-instance, create a table named Users, and use Id as the primary key.