Google Cloud: Create a single-node instance

A KiviDB instance on Google Cloud runs on one dedicated Compute Engine instance in the region you choose, with a Persistent Disk holding your data.

A KiviDB instance on Google Cloud runs on one dedicated Compute Engine instance in the region you choose, with a Persistent Disk holding your data.

What Google Cloud offers today

Essentials and Pro. Essentials is a single node. Pro adds one to three managed read replicas and automatic promotion if the primary fails — see Create a high-availability instance.

Scale is AWS-only for now and is refused at order time rather than failing an hour into provisioning.

35 regions.

AreaRegionLocation
North Americaus-central1Iowa, USA
North Americaus-east1South Carolina, USA
North Americaus-east4Virginia, USA
North Americaus-east5Ohio, USA
North Americaus-south1Texas, USA
North Americaus-west1Oregon, USA
North Americaus-west2Los Angeles, USA
North Americaus-west3Salt Lake City, USA
North Americaus-west4Las Vegas, USA
North Americanorthamerica-northeast1Montréal, Canada
North Americanorthamerica-northeast2Toronto, Canada
Asia Pacificasia-east1Taiwan
Asia Pacificasia-east2Hong Kong
Asia Pacificasia-northeast1Tokyo, Japan
Asia Pacificasia-northeast2Osaka, Japan
Asia Pacificasia-northeast3Seoul, South Korea
Asia Pacificasia-south2Delhi, India
Asia Pacificasia-southeast1Singapore
Asia Pacificasia-southeast2Jakarta, Indonesia
Asia Pacificaustralia-southeast1Sydney, Australia
Asia Pacificaustralia-southeast2Melbourne, Australia
Europeeurope-west1Belgium
Europeeurope-west2London, UK
Europeeurope-west3Frankfurt, Germany
Europeeurope-west4Netherlands
Europeeurope-west6Zurich, Switzerland
Europeeurope-west8Milan, Italy
Europeeurope-west9Paris, France
Europeeurope-central2Warsaw, Poland
Europeeurope-north1Finland
Europeeurope-southwest1Madrid, Spain
Middle East & Africame-central1Doha, Qatar
Middle East & Africame-west1Tel Aviv, Israel
South Americasouthamerica-east1São Paulo, Brazil
South Americasouthamerica-west1Santiago, Chile

A region is only offered once a subnet and snapshot storage exist there and the machine types have been verified against the live project — a machine type can be documented, present in one zone of a region and absent from the next, and offering a region before that is checked produces an instance that fails to provision after you have paid. Ask if you need another; adding one is a quota request and a Terraform variable, not a rewrite.

No free tier on Google Cloud. The free tier's spend guard is AWS-shaped, and offering free capacity on a cloud whose spend nothing caps is how a project gets drained. Free-tier instances are AWS.

Choose your configuration

Open the pricing configurator, pick GCP, and work down the steps.

Region. Pick the one closest to your application. Cross-region latency dominates everything else you can tune, and an instance cannot be moved between regions later — you would create a new one and restore a snapshot into it.

Memory. This is your usable dataset size. The disk is provisioned above it automatically, so you do not size storage separately. Google bills disk by the GiB with no capacity tiers, so you pay for exactly what is provisioned rather than rounding up to the next tier as you would on Azure.

Throughput. Standard maps to N2 high-memory machines sized with headroom around your data, which is ample for most workloads. Below 7 GB it is a 2-vCPU n2-standard, because N2 has no smaller high-memory machine, and below 4 GB Essentials uses the shared-core e2-medium. High maps to n2-standard with twice the CPU cores at the same memory, and the higher network bandwidth that comes with a larger machine, for heavy multi-threaded or high-connection workloads. It costs more because you are paying for that extra compute and network.

Engine version. The latest stable release is selected by default.

Add-ons. Lua scripting and TLS both change which build of the engine is installed. Both can be changed after creation, and doing so restarts the instance.

Persistence is on by default: every write goes to a log on disk, synced once a second. After creating the database you can choose snapshots or no persistence instead, and an eviction policy, under Configuration → Eviction and persistence (Backups and persistence).

Name and network

At checkout you will set:

Instance name. This becomes your hostname — your-name.cloud.kividb.io. The DNS is the same on every cloud: your hostname does not tell anyone which cloud you are on, and it does not change if you move. Choose something stable; renaming later changes the hostname your clients use. A name is required if you enable TLS, because the certificate is issued against it.

Allowed IPs. Only these addresses will be able to connect. On Google Cloud the allow-list becomes firewall rules that target your instance specifically — the same job an AWS security group does, and managed the same way from the dashboard.

Leaving the list empty creates an instance nothing can reach — valid if you intend to use private connectivity, but otherwise not what you want.

Deploy

Deployment takes about two minutes.

If a zone has no capacity for the size you asked for, KiviDB tries the next zone in the region rather than failing the order — the disk is created per zone attempt and released if the instance cannot be placed, so a capacity shortage costs you time and nothing else. You only see a failure when every usable zone in the region refuses, and the notification says so.

Your instance holds no Google credentials

Worth knowing if you are reviewing this for security. Google Cloud attaches a project-wide service account to every instance by default, and on most projects that account can create and delete resources across the whole project. KiviDB creates your instance with no service account at all.

The only credential on the machine is the one its management agent uses to talk to the KiviDB control plane. It is scoped to that one node and can be revoked for that one node. There is also no SSH access: project-wide keys are blocked and OS Login is turned off, so there is no interactive way in, by design.

After it is running

Your instance overview shows the endpoint, the port, connection snippets, and your credentials. See Connect to your instance.

Costs

You are billed hourly against prepaid credits, so an instance you delete after two hours costs two hours. The configurator's monthly figure is what a full month would cost, not a minimum.

Stopping an instance stops its compute charge. Storage continues, because your data is still there — the Persistent Disk and its snapshots outlive the instance by design, which is also what makes recovery possible.

A new database needs a month of everything you run, not just itself, and you can reserve credit for one database so others cannot spend it: see Credits and reservations.