4

Is there a way to setup a Development env for Google Cloud Spanner?

Is this this "How to run Cloud Spanner in a Container" for dev? Or is the only solution to run a cloud spanner for dev a single node? I think this is really expensive for dev.

Dan McGrath
  • 41,220
  • 11
  • 99
  • 130
Aron
  • 1,179
  • 15
  • 29

3 Answers3

3

At the moment the only way is to run a single node for development as there is no local emulator.

GCP does have a $300 trial credit for new users, which would enable you to run the single node system at 8 hours a day for over a month with 1GB of storage.

Dan McGrath
  • 41,220
  • 11
  • 99
  • 130
2

This is a pretty similar question to this other post on SO, which mentions using CockroachDB––open source, so free to use. Both work in a similar fashion, as noted over there.

Community
  • 1
  • 1
Loiselle
  • 472
  • 2
  • 10
0

Take a look at gcloud beta emulators

s13o
  • 116
  • 1
  • 5