This is a simplified range creation on the default VPC network. In a production environment, you should verify what the range should be and which VPC network to allocate in.
Establish peering so that Memorystore can allocate the IP address in the reserved range in the VPC.
1
gcloud services vpc-peerings connect \
2
--service=servicenetworking.googleapis.com \
3
--ranges=reserved-range --network=default
Copied!
Create an Instance
Create an instance and attach it to the default VPC.