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.
| Area | Region | Location |
|---|---|---|
| North America | us-central1 | Iowa, USA |
| North America | us-east1 | South Carolina, USA |
| North America | us-east4 | Virginia, USA |
| North America | us-east5 | Ohio, USA |
| North America | us-south1 | Texas, USA |
| North America | us-west1 | Oregon, USA |
| North America | us-west2 | Los Angeles, USA |
| North America | us-west3 | Salt Lake City, USA |
| North America | us-west4 | Las Vegas, USA |
| North America | northamerica-northeast1 | Montréal, Canada |
| North America | northamerica-northeast2 | Toronto, Canada |
| Asia Pacific | asia-east1 | Taiwan |
| Asia Pacific | asia-east2 | Hong Kong |
| Asia Pacific | asia-northeast1 | Tokyo, Japan |
| Asia Pacific | asia-northeast2 | Osaka, Japan |
| Asia Pacific | asia-northeast3 | Seoul, South Korea |
| Asia Pacific | asia-south2 | Delhi, India |
| Asia Pacific | asia-southeast1 | Singapore |
| Asia Pacific | asia-southeast2 | Jakarta, Indonesia |
| Asia Pacific | australia-southeast1 | Sydney, Australia |
| Asia Pacific | australia-southeast2 | Melbourne, Australia |
| Europe | europe-west1 | Belgium |
| Europe | europe-west2 | London, UK |
| Europe | europe-west3 | Frankfurt, Germany |
| Europe | europe-west4 | Netherlands |
| Europe | europe-west6 | Zurich, Switzerland |
| Europe | europe-west8 | Milan, Italy |
| Europe | europe-west9 | Paris, France |
| Europe | europe-central2 | Warsaw, Poland |
| Europe | europe-north1 | Finland |
| Europe | europe-southwest1 | Madrid, Spain |
| Middle East & Africa | me-central1 | Doha, Qatar |
| Middle East & Africa | me-west1 | Tel Aviv, Israel |
| South America | southamerica-east1 | São Paulo, Brazil |
| South America | southamerica-west1 | Santiago, 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.