Connecting to Memorystore running in the private subnet of GCP VPC from your DevBox.
Follow Connecting to GCP guide.
Go to Memorystore > Clusters.
Select your Instance and copy your Domain Endpoint.
Go to your DevBox and connect to Service:
Go to Memorystore > Clusters and click on Create Instance.
Enter the Cluster ID and choose the region.
Choose the Node type, Cluster Size and Replicas.
Choose the VPC Network under the Set up connection section.
Setup the service connection policy if prompted.
Fill in the network name and the private subnet in the policy section.
After setting up the connection policy, click on Create Cluster.
Go to Memorystore > Clusters.
Select your Instance and copy your Domain Endpoint.
Go to your DevBox and connect to Service: