Sole-Tenant Nodes in Google Cloud: A Whole Server That Belongs Only to You

Sole-Tenant Nodes in Google Cloud: A Whole Server That Belongs Only to You

A beginner-friendly guide to dedicated physical servers on Compute Engine: what they are, how node templates, node groups and affinity labels work, and when the extra privacy and control are worth the price.

Picture a large apartment building where most families rent a single flat and share the lobby, the lifts, and the water tank with their neighbors. It is cheap and it works well for almost everyone. Now imagine a family that needs total privacy: maybe they run a medical clinic from home, or they own special furniture that must never leave a particular floor. So they rent the entire floor and nobody else is allowed on it. They pay more, but they decide who comes in and which rooms are used for what. Sole-tenant nodes in Google Cloud are that rented floor. Instead of sharing a physical server with strangers, you reserve the whole server and place only your own virtual machines on it. This tutorial explains the idea from scratch, one small step at a time.

1What Is a Sole-Tenant Node?

A sole-tenant node is a physical Compute Engine server reserved for your projects alone.

Starting with the basics

In Google Cloud, a virtual machine, or VM, is a computer that exists as software. It borrows a slice of processing power and memory from a real physical server sitting in a data center. Normally, one physical server holds VMs that belong to many different customers at the same time. This is called multi-tenancy, and a “tenant” simply means a customer renting space. Google keeps the tenants strictly separated using software called a hypervisor, so your neighbors cannot see your data.

A sole-tenant node changes one thing: the neighbors disappear. The physical server hosts VMs from your Google Cloud projects only. Nobody else’s VM is allowed on that hardware. Google describes it as a Compute Engine server dedicated to hosting VMs from only your projects.

Simple Analogy

Regular VMs are like seats on a public bus. You have your own seat, but strangers sit beside you and the driver decides the route. A sole-tenant node is like hiring the whole bus for your school trip. Only your group rides, and you choose who sits where.

Why does it exist?

Most workloads are perfectly happy on shared servers. But some situations are different. A company may have software licenses that are tied to physical processors. A bank may have rules saying that its workloads must not share hardware with other organizations. A game studio may want steady performance with no surprise slowdowns from other customers. Sole-tenant nodes exist to give these teams dedicated hardware while still letting them enjoy the speed and flexibility of the cloud.

What stays the same

Even on a sole-tenant node, you still create ordinary Compute Engine VMs. You still use the same disks, networks, firewall rules, images, and tools. The VMs simply get placed onto a server that nobody else can use. That means most of what you already know about Compute Engine continues to apply, which makes the learning curve gentle.

1 owner
Only your projects’ VMs run on the node
Whole server
You reserve and pay for the entire machine
Same tools
Regular VMs, disks, and networks still apply
i
Good to Know

Google’s own documentation says that typical workloads should use ordinary multi-tenant VMs. Sole-tenancy is a specialist tool, not a default. Choose it only when you have a clear reason.

2Multi-Tenant vs Sole-Tenant: Seeing the Difference

The two models run the same kind of VM; what changes is who shares the hardware.

flowchart LR
  subgraph MT["Multi-tenant server"]
    A1["Your VM"]
    A2["Customer B VM"]
    A3["Customer C VM"]
    A4["Customer D VM"]
  end
  subgraph ST["Sole-tenant node"]
    B1["Your VM 1"]
    B2["Your VM 2"]
    B3["Your VM 3"]
    B4["Your VM 4"]
  end
        
FIG 1 — A shared server holds many customers; a sole-tenant node holds only yours

The diagram shows the heart of the idea. On the left, four different customers share one physical machine. On the right, all four VMs belong to the same owner. The hardware is identical; the guest list is not.

QuestionMulti-tenant VMSole-tenant node
Who shares the physical server?Many customersOnly your own projects
What do you pay for?The vCPUs and memory of each VM you runThe entire node, used or not, plus a premium
Control over VM placementGoogle choosesYou can steer VMs to specific nodes using affinity
Physical core visibility for licensesLimitedHelps with per-core or per-socket license rules
Best forMost applicationsLicensing, compliance, and isolation needs
Setup effortVery lowModerate: templates and groups to manage
Simple Analogy

Multi-tenant is a co-working space where you rent a desk and pay only for the desk. Sole-tenant is renting a private office on the whole floor. You pay for every room, even the empty ones, because the point is that nobody else can use them.

Is it less secure to share?

Not necessarily. Google designs multi-tenant servers with strong isolation, and most organizations, including highly regulated ones, run safely on them. Sole-tenancy adds a different kind of assurance: physical separation. For some rules, contracts, and company policies, that physical separation is a requirement written on paper, and then sole-tenancy becomes the straightforward answer.

!
Common Misconception

Sole-tenancy does not automatically make you compliant or secure. It removes shared hardware, but you still have to manage identity, firewalls, patching, and data protection yourself.

3The Core Building Blocks

Five simple ideas make up the whole sole-tenant model.

If you learn these five terms, you understand most of what the documentation and architecture diagrams will say. We will go through them one by one and then see how they connect.

Term 1

Node

One physical server in Google’s data center, reserved for you. It has a fixed number of vCPUs and amount of memory.

Term 2

Node Type

The size and shape of a node, such as how many vCPUs and how much memory it offers. The type is tied to a processor family.

Term 3

Node Template

A reusable recipe that says what type of node to build, in which region, and what labels to attach.

Term 4

Node Group

A collection of nodes in one zone, all built from the same template. You add or remove nodes from the group as needed.

Term 5

Node Affinity Label

A tag, written as a key and a value, used to decide which VMs go onto which nodes, or to keep certain VMs apart.

Simple Analogy

Think of a hotel chain booking rooms for a conference. The node is one hotel room block. The node type is the room category, such as standard or suite. The template is the booking form, the node group is the whole set of reserved rooms on one floor, and affinity labels are the name tags that decide which guests sleep in which rooms.

How the pieces connect

flowchart TD
  NT["Node Template: type, region, labels"] --> NG["Node Group in one zone"]
  NG --> N1["Node 1"]
  NG --> N2["Node 2"]
  NG --> N3["Node 3"]
  N1 --> V1["VM A"]
  N1 --> V2["VM B"]
  N2 --> V3["VM C"]
  N3 --> V4["VM D"]
  L["Affinity labels on VMs"] -.->|"steer placement"| NG
        
FIG 2 — A template builds a node group; the group holds nodes; nodes hold your VMs

The flow is simple. You write the template once. You use it to create a node group in a zone. The group provides nodes. Your VMs land on those nodes, guided by affinity labels. If you later need more capacity, you add nodes to the group without writing a new template.

4Node Types and Sizing

The node type decides how much room you rent, and the room is rented in one big piece.

What a node type tells you

A node type name usually spells out the processor family and the size of the server. For example, a name such as n1-node-96-624 describes a node from the N1 family with 96 vCPUs and 624 gigabytes of memory. Other families, such as N2, N2D, C2, and the high-memory M families, offer different mixes of processing power and memory, and the exact list changes as Google adds hardware. Not every node type is available in every zone, so you always check what your chosen zone offers before planning.

Node family ideaWhat it is good atThink of it as
General-purpose familyWebsites, application servers, mixed workloadsA balanced family car
Compute-optimized familyFast processors for games and simulationsA sports car
Memory-optimized familyVery large in-memory databases and analyticsA big removal truck
Newer-generation familiesBetter price for performance on recent hardwareA newer model of the same car

The jigsaw puzzle of packing VMs

A node is a fixed box. Your VMs are the pieces you fit inside. A node with 96 vCPUs could hold twelve VMs of 8 vCPUs each, or six VMs of 16 vCPUs, or one big VM plus several small ones. The art of sole-tenancy is filling the box well, because you pay for the whole box whether it is full or not. Half-empty nodes are the most common source of wasted money.

Simple Analogy

A node is a shipping container, and VMs are the boxes you pack inside. If you ship a container that is only one-third full, you still pay for the whole container. Good packing means fewer containers and a smaller bill.

!
Common Mistake

Choosing a node type without checking that your biggest VM fits on it. A VM can never be larger than one node, because a VM cannot be split across two physical servers.

Choosing a node type: a short checklist

1

List your VM sizes

Write down the vCPU and memory of every VM you plan to run, including the largest one.

2

Match the processor family

VMs on a node must be from the machine series that the node type supports. A mismatch will stop placement.

3

Do the packing math

Add up your VM sizes and see how many nodes are needed. Leave a little spare capacity for growth and for maintenance moves.

4

Check zone availability

Confirm the node type exists in the zone you want, and that your project has enough quota.

5Node Templates and Node Groups in Practice

The workflow is short: describe, create, then place.

Step by step

1

Create a node template

You choose the node type, the region, and any labels you want attached to the nodes. The template stores these decisions so you never repeat them.

2

Create a node group

You pick a zone, give the group a name, point it at the template, and choose how many nodes to start with. This is the moment you begin renting servers.

3

Create VMs with a node affinity setting

When you create a VM, you tell it to go onto a particular node group, or onto nodes that carry certain labels. Compute Engine then finds a node with free room.

4

Operate and adjust

You watch usage, add nodes if the group fills up, remove empty nodes to save money, and update VMs as your needs change.

Why a template at all?

A template is a promise of consistency. Every node in a group is built from the same recipe, so you know exactly what you are getting. If you later want a different size of server, you create a new template and a new group rather than quietly changing the old one. This keeps your environment predictable and easy to audit.

Simple Analogy

The template is a house blueprint, and the node group is a housing colony built from it. Every house in the colony is the same, so a plumber who knows one house knows them all. Adding a new house means copying the blueprint, not inventing a new design.

Groups live in a single zone

A node group belongs to one zone. That matches how Compute Engine treats zones everywhere: they are isolated failure areas. If you want your application to survive the loss of a zone, you create node groups in more than one zone and run copies of your VMs in each. A single group in a single zone is a single point of failure for everything on it.

i
Pro Tip

Use a clear naming habit such as team, purpose, and zone in node group names. When you have many groups, good names save a lot of confusion on the bill and in the monitoring dashboards.

6Node Affinity: Deciding Who Lives Where

Affinity labels are the steering wheel of sole-tenant placement.

Labels on both sides

Every node carries labels. Some are added automatically, such as the name of its node group and the name of the node itself. You can also add your own labels through the node template, for example a label saying which department owns it or which license type it is used for. Every VM can then say, “I want to run only on nodes that have this label,” or “I never want to run on nodes with that label.”

Rule 1

Affinity (IN)

The VM must be placed on a node that has one of the listed label values. Use it to pull VMs onto particular hardware.

Rule 2

Anti-affinity (NOT IN)

The VM must stay away from nodes with the listed label values. Use it to keep certain VMs apart.

Rule 3

Group-level targeting

Target an entire node group by its automatic name label, so a VM can land on any node in that group.

Rule 4

Node-level targeting

Target one specific node by name when a VM must live on exactly that server, for example for a physical license.

Simple Analogy

Affinity labels are like seating charts at a wedding. Some guests must sit at the family table, which is affinity. Two relatives who argue must be kept at different tables, which is anti-affinity. Each table has a number, and each guest card says which numbers are allowed.

Real uses of affinity

Keep licensed software together

Run every database VM that uses a per-core license on one dedicated node group, so you can count and prove the physical cores in use.

Separate environments

Put production VMs on one group and development VMs on another, so test work can never slow down or touch production hardware.

Separate departments or customers

A company that hosts software for several clients can give each client its own node group, producing clear physical separation and clear cost tracking.

sequenceDiagram
  participant You
  participant CE as Compute Engine
  participant NG as Node Group
  You->>CE: Create VM with affinity label
  CE->>NG: Look for nodes matching the label
  NG-->>CE: Node with free vCPU and memory
  CE->>NG: Place the VM on that node
  CE-->>You: VM is running on your dedicated node
        
FIG 3 — How a VM finds its home on a sole-tenant node
!
Common Mistake

Forgetting to set affinity on a VM. Without it, the VM is created as an ordinary multi-tenant VM on shared hardware, and you will not notice until you read the details or the audit. Make affinity part of your standard VM template.

7Maintenance Events and Host Policies

Physical servers need care, and you decide how your VMs behave when it happens.

Why maintenance matters

Every physical server eventually needs software updates, hardware checks, or repairs. On ordinary VMs, Google usually moves your VM to another server with a technique called live migration, so the VM keeps running with only a tiny pause. With sole-tenant nodes, you get to choose how that works, because the hardware is yours and the rules about where your VMs may run can matter a great deal.

Three maintenance policies

PolicyWhat happens during maintenanceGood for
DefaultVMs are live-migrated to another server chosen by Google, so they keep runningWorkloads that need high availability and have no license tied to specific hardware
Restart in placeVMs are stopped, maintenance happens on the same node, and VMs are started again on that same nodeLicenses tied to a specific physical server, accepting a short outage
Migrate within node groupVMs are live-migrated to other nodes inside the same node groupLicenses tied to a fixed set of servers, while keeping VMs running
Simple Analogy

Imagine your office floor needs repainting. Option one: move everyone to any spare floor in the city and bring them back later. Option two: send everyone home for a day, paint, and let them return to their own desks. Option three: move everyone to the other rooms on the same floor while one room is painted. Each option is right for a different kind of company.

Spare capacity is part of the plan

The “migrate within node group” policy only works if there is room for the VMs to move into. That means you must keep some spare capacity in the group, often at least one node’s worth, so that a node under maintenance can empty its VMs onto the others. Planning for this is part of good sole-tenant design, and it is a hidden cost many beginners forget to include in their budget.

i
Check Before You Choose

Your license agreement may define exactly what counts as moving a workload to a different server. Read it with your legal or procurement team before picking a maintenance policy, and confirm the latest policy behavior in Google’s current documentation.

8Autoscaling Node Groups

Let the group grow when it is full and shrink when it is empty.

The problem it solves

Since you pay for whole nodes, running too many is wasteful and running too few leaves new VMs with nowhere to go. Doing the counting by hand every day is tiring. The node group autoscaler watches the group and adjusts its size for you.

How it behaves

The autoscaler scales out when a VM needs to be placed and no node in the group has room. It adds a node, and the VM is then scheduled without anyone lifting a finger. It scales in when the group has empty nodes, reducing the group so that you stop paying for servers that are sitting idle. You can turn this on when you create the group or add it later, and you set limits for the smallest and largest size the group may reach so that a mistake cannot create a runaway bill.

flowchart TD
  S["New VM needs a node"] --> Q{"Room on an existing node?"}
  Q -->|Yes| P["Place VM on that node"]
  Q -->|No| M{"Group below its maximum size?"}
  M -->|Yes| A["Autoscaler adds a node"]
  A --> P
  M -->|No| F["Placement fails: raise the limit or free capacity"]
  E["Node becomes empty"] --> R{"Group above its minimum size?"}
  R -->|Yes| D["Autoscaler removes the empty node"]
  R -->|No| K["Keep the node"]
        
FIG 4 — Scaling out and in for a sole-tenant node group
Simple Analogy

The autoscaler is a hotel manager who opens a new floor when every room is taken and closes a floor when it has no guests. The manager is told never to open more than a certain number of floors and never to close the lobby floor.

!
Things to Watch

Scaling takes some time, and each new node is a real server with a real cost. Set a sensible maximum, and watch your quota. Also remember that scaling in only removes empty nodes; it does not shuffle VMs around to free up a node unless you arrange it yourself.

When to skip autoscaling

If your licenses are tied to specific servers, or your fleet is small and steady, a fixed group size is simpler and more predictable. Autoscaling shines when demand changes often, such as test labs, seasonal sales systems, or batch processing farms.

9Bring Your Own License (BYOL)

The most famous reason to choose sole-tenancy is software licensing.

What is a BYOL?

BYOL stands for Bring Your Own License. A company that already owns expensive software licenses, for example for an operating system or a database, wants to keep using them in the cloud rather than buying new ones. Many such licenses are priced by physical processor sockets or physical cores. On a shared server, it is hard to say which physical cores your VM is using, so the vendor may refuse to count it. On a sole-tenant node, the physical server is yours and its core count is known, which helps you show the vendor exactly what you are running.

Simple Analogy

A fitness club sells a membership per treadmill. If you share a treadmill with strangers, no one can say how many members you should pay for. If you rent a private gym with exactly four treadmills, the count is obvious and the club can bill you fairly.

How sole-tenancy supports licensing

1

Known physical hardware

The node has a fixed number of cores and sockets, so a per-core or per-socket count is clear.

2

Pinned placement

Affinity labels and the maintenance policy can keep VMs on the same node or inside the same set of nodes.

3

Evidence for audits

Records of which VMs ran on which nodes, and when, help during a vendor’s license review.

!
Always Verify

Each software vendor writes its own rules, and those rules change. Sole-tenancy helps you meet physical-hardware license terms, but it never replaces reading the agreement. Confirm with the vendor before you move a licensed workload.

10Performance Isolation and CPU Overcommit

When nobody else is on your server, your speed becomes much more predictable.

The noisy neighbor problem

On a shared server, one customer who suddenly uses a lot of processing power or memory bandwidth can, in theory, slow down others on the same machine. People call this the noisy neighbor problem. Google works hard to keep it small, but some workloads are so sensitive, such as high-frequency trading, real-time game servers, or latency-critical databases, that even a small unpredictable slowdown is unwelcome. On a sole-tenant node, the only noise comes from your own VMs, and you can control that.

Simple Analogy

Studying in a shared library, you may hear someone’s phone ring. Studying in your own locked study room, any noise is made by you. You trade a lower price for a quieter, more predictable place to work.

Making fuller use of the box

Since you pay for the entire server, you want to use all of it. Some node types support CPU overcommit, a feature that lets you run VMs whose combined vCPU count is higher than the number of physical cores, sharing them among your own VMs. It works because workloads rarely use all of their processors at the same time. It is a good idea for development and test environments and for lightly used VMs, and a bad idea for VMs that are busy all day. Availability and limits vary by node type, so check Google’s current documentation before relying on it.

Fits well

Dev and test fleets

Many small VMs that sit idle most of the day can share cores safely.

Fits well

Bursty internal tools

Apps that spike for minutes and then rest suit overcommit.

Fits poorly

Always-busy databases

If every VM wants all its cores at once, sharing causes slowdowns.

Fits poorly

Strict-latency systems

Predictability is the goal here, so avoid sharing cores.

i
Measure First

Study the real CPU graphs of your workloads before overcommitting. Averages can hide short, sharp peaks that all line up at the same moment.

11Security and Compliance

Physical separation is one layer of protection, never the only one.

Shared responsibility still applies

Google protects the data center, the hardware, and the hypervisor. You protect your operating systems, applications, identities, and network rules. Moving to a sole-tenant node changes who shares the hardware, but it does not change this split. A VM with a weak password is just as exposed on a dedicated node as on a shared one.

Where sole-tenancy helps

Internal policies that demand dedicated hardware

Some organizations write into their security policy that sensitive workloads must not share physical servers with outsiders. Sole-tenant nodes let them meet that rule in the cloud.

Regulated industries

Finance, healthcare, and government teams sometimes face guidance or customer contracts that favor or require physical isolation. Sole-tenancy can be one of the controls in a wider compliance plan.

Reducing shared-hardware risk

Rare attacks that exploit shared processors depend on an attacker sharing hardware with the victim. Without outside tenants on the node, that particular path is closed.

The controls you still need

Control 1

IAM roles

Decide who may create node groups, change templates, or place VMs. Use least privilege.

Control 2

Firewall rules

Allow only the traffic your VMs truly need, from known sources.

Control 3

Encryption and keys

Disks are encrypted by default, and you can use your own keys if your rules require it.

Control 4

Audit logging

Keep records of who changed what, so you can answer an auditor’s questions.

Control 5

Patching

Keep operating systems and software up to date on every VM.

Simple Analogy

Renting the whole floor of a building keeps strangers from walking past your desk. But you still need locks on your cabinets, ID cards for your staff, and a record of who entered the server room. The private floor is one lock among many.

!
Common Mistake

Telling an auditor “we use dedicated servers, so we are compliant.” Compliance is built from many controls and documents, and the exact requirements depend on your regulator and region. Ask your compliance team what is truly required.

12Sharing Node Groups Across Projects

One rented server fleet can serve many teams, which is a very good way to avoid waste.

The idea

Large companies usually have many Google Cloud projects, one for each team or application. If every project rented its own node group, many nodes would sit half empty. Google lets you share a node group so that other projects in your organization can place their VMs on it. The group lives in one parent project, and the other projects use the spare room. According to Google’s documentation, shared node groups cost the same as local ones and use the same quota, and they remain under the parent project.

flowchart TD
  ORG["Organization"] --> PP["Parent project owns the node group"]
  ORG --> P1["Project: Billing app"]
  ORG --> P2["Project: Reporting app"]
  ORG --> P3["Project: Analytics app"]
  PP --> NG["Shared node group"]
  P1 -.->|"places VMs"| NG
  P2 -.->|"places VMs"| NG
  P3 -.->|"places VMs"| NG
        
FIG 5 — Several projects placing VMs on one shared node group
Simple Analogy

A shared node group is like a company-owned minibus used by several departments. One department owns the bus and pays for it, and others book seats. The bus is always well filled, and nobody runs a half-empty bus of their own.

Benefits and cautions

Advantages

  • Fuller nodes, so less money is wasted on idle capacity
  • One central team can manage templates, sizing, and licenses
  • Simple for licensing: all licensed VMs sit on a known set of servers
  • Teams keep their own projects, billing views, and permissions

Disadvantages / Trade-offs

  • One team’s heavy use can crowd out another’s VMs
  • Cost sharing between teams needs a clear internal agreement
  • Sharing is limited to your own organization, never outsiders
  • Mistakes in the parent project affect every team using the group
i
Governance Tip

Agree on who may use how much of a shared group, and use labels so the finance team can split the bill fairly. Clear rules prevent quarrels later.

13Pricing and Cost Optimization

You pay for the whole box, so using the box well is the main way to save.

How you are billed

For sole-tenant nodes, you pay for all of the vCPUs and memory on the node, whether or not your VMs use them. On top of that, Google adds a sole-tenancy premium of ten percent of the cost of those vCPU and memory resources. Running VMs on the node adds no extra charge of their own. Other resources, such as persistent disks and premium operating system images, are billed at their normal rates. Billing has a one-minute minimum and is then charged per second.

10%
Sole-tenancy premium on vCPU and memory cost
100%
Of the node’s vCPU and memory is billed, used or not
Per second
Billing after a one-minute minimum

Discounts that can help

Sustained use discounts

Nodes that run for a large part of the month can earn automatic discounts, and these also reduce the premium.

Flexible committed use discounts

If you promise to spend a steady amount for one or three years, you get a lower price, and this type of commitment applies to both the vCPU and memory cost and the premium.

Resource-based committed use discounts

These cover the vCPU and memory costs only, while a sustained use discount can still reduce the premium.

Simple Analogy

Renting the whole floor means paying rent for every room, plus a service charge for the privacy. A long lease, which is a committed use discount, gives you a better rate than renting month to month. Filling every room with useful work is what makes the rent worthwhile.

Practical ways to keep the bill sensible

1

Pack nodes tightly

Aim for high usage of each node while keeping modest spare room for maintenance moves.

2

Share groups across projects

Combine small needs into one well-filled group instead of many half-empty ones.

3

Use autoscaling for changing demand

Let empty nodes disappear automatically in quiet periods.

4

Commit for the steady part

Cover the always-on base with committed use discounts and leave the variable part on regular pricing.

5

Review monthly

Check node usage and remove nodes you no longer need.

!
Common Mistake

Forgetting that an empty node still costs money. Deleting every VM does not stop the bill; you must shrink or delete the node group too. Prices vary by region and node type, so always check Google’s current pricing page and calculator.

14Monitoring, Logging, and Metrics

With a fixed number of rented servers, knowing how full they are is the key number.

What to watch

Cloud Monitoring and Cloud Logging work with sole-tenant VMs just as they do with ordinary ones. In addition, you want a view at the node level: how much of each node’s CPU and memory is actually allocated to VMs, and how much is still free. This tells you whether you can place another VM, whether you are wasting money, and whether you have room for maintenance moves.

Signal 1

Allocated vs free capacity

How many vCPUs and how much memory are reserved by VMs compared with what the node offers.

Signal 2

Actual CPU use

Real processor busyness inside the VMs. High allocation with low use suggests oversizing.

Signal 3

VM count per node

How many VMs sit on each node. Very uneven counts may reveal poor placement.

Signal 4

Node group size

Whether autoscaling is hitting its minimum or maximum limit.

Signal 5

Maintenance events

When hosts are being repaired or updated, and how your VMs reacted.

Logs and audit trails

Audit logs record who created or changed node templates, node groups, and VMs. This is valuable for security reviews and for software license audits, where you may need to prove which VM ran on which server on which day. Keep these logs for as long as your rules require.

Simple Analogy

Monitoring a sole-tenant fleet is like watching the occupancy board of a hotel you have fully booked. You want to see which rooms are filled, which are empty, and whether a floor is about to be closed for cleaning.

i
Alerting Idea

Set an alert when a node group’s free capacity drops below your planned spare room, and another when a node has been mostly empty for several days. The first protects availability; the second protects your budget.

15Design Patterns and Anti-Patterns

Teams that succeed with sole-tenancy tend to repeat a few simple habits.

Patterns that work

One group per license family

Give each licensed product its own node group, with labels that make its purpose obvious. License counting becomes simple and clean.

Production and non-production split

Place production workloads on one group and everything else on another, optionally with CPU overcommit for the non-production side to save money.

Spare node for maintenance

Always keep roughly one node’s worth of free capacity in groups that use migrate-within-group, so maintenance never leaves VMs homeless.

Multi-zone pairs

Create matching node groups in two zones and run copies of the application in each, so a zone failure does not stop the service.

Central platform team

A small team owns the shared node groups and templates, and other teams simply request placement. This avoids waste and confusion.

Anti-patterns to avoid

ANTI-PATTERN-01 Avoid
Problem

A team buys sole-tenant nodes “just in case” for ordinary web applications that have no license or compliance need.

Why It’s Harmful

They pay the full price of whole servers plus a premium for a benefit nobody asked for, and they take on extra planning work.

Correct Approach

Start with regular VMs. Move to sole-tenancy only when a written requirement, such as a license term or a policy, demands it.

ANTI-PATTERN-02 Avoid
Problem

Everything is placed on a single node group in a single zone with no spare capacity.

Why It’s Harmful

A zone problem takes everything offline, and a node needing maintenance has nowhere to send its VMs.

Correct Approach

Spread groups across zones, keep spare capacity, and choose a maintenance policy that matches your availability and license needs.

ANTI-PATTERN-03 Avoid
Problem

VMs are created without node affinity, so some silently land on shared hardware.

Why It’s Harmful

The workload loses the isolation the team believed it had, which may break a license or compliance promise without anyone noticing.

Correct Approach

Make affinity a required part of your VM templates and review placement regularly with reports or audits.

ANTI-PATTERN-04 Avoid
Problem

Nodes are left running at ten or twenty percent usage for months.

Why It’s Harmful

You pay for the full node regardless, so the real cost per useful VM becomes very high.

Correct Approach

Consolidate VMs onto fewer nodes, use autoscaling where possible, and share groups across projects.

16Advantages, Trade-offs, and Best Practices

Every strong tool comes with a price, and sole-tenancy is no exception.

Advantages

  • Physical isolation: no outside customer shares your hardware
  • Helps meet per-core and per-socket license terms
  • More predictable performance without outside noisy neighbors
  • Fine control over where VMs run through affinity labels
  • Choice of maintenance behavior to suit licenses and availability
  • Can be shared among projects inside your organization

Disadvantages / Trade-offs

  • You pay for entire nodes plus a ten percent premium, used or not
  • More planning: node types, packing, spare capacity, and quota
  • Not every node type is offered in every zone
  • A VM can never be bigger than one node
  • Poor packing and idle nodes quickly waste money

Best practices checklist

1

Write down the reason

Record the exact license clause, policy, or performance need that justifies sole-tenancy. If you cannot write it, you may not need it.

2

Plan capacity with spare room

Calculate nodes needed, add room for growth and maintenance, and review the plan every quarter.

3

Standardize labels and templates

Use clear, consistent labels so placement rules and billing reports are easy to read.

4

Design for failure

Spread across zones and keep data on persistent storage or managed databases, not on a single VM.

5

Automate and audit

Define node templates, groups, and VM settings in code so they can be reviewed, repeated, and proven to auditors.

6

Watch quotas and costs

Check quotas before large launches and set budget alerts so a new node group never surprises the finance team.

“Rent the whole floor only when you can name the reason. Then fill every room.”

17Comparing Sole-Tenant Nodes with Other Choices

Sole-tenant nodes are one of several ways to get isolation or control on Google Cloud.

OptionIsolation levelBest when
Regular multi-tenant VMsSoftware isolation on shared hardwareAlmost all everyday workloads
Sole-tenant nodesDedicated physical server for your projectsHardware-based licenses, physical isolation rules, predictable performance
Shielded or Confidential VMsStronger protection of the VM itself, still on shared hardwareYou need boot integrity or memory encryption, not dedicated hardware
Managed services such as Cloud SQLHandled by the providerYou want less operational work and have no licensing need for dedicated servers
flowchart TD
  S["Need to run a workload"] --> Q1{"License or policy requires dedicated hardware?"}
  Q1 -->|No| Q2{"Need extra VM protection only?"}
  Q2 -->|Yes| SC["Shielded or Confidential VMs"]
  Q2 -->|No| R["Regular multi-tenant VMs"]
  Q1 -->|Yes| Q3{"Can you keep nodes well filled?"}
  Q3 -->|Yes| ST["Sole-tenant nodes"]
  Q3 -->|No| P["Share node groups across projects or reconsider"]
        
FIG 6 — A simple way to decide whether sole-tenancy is right

If you know another cloud

People who have used other clouds will find familiar ideas under different names.

IdeaGoogle CloudAmazon Web ServicesMicrosoft Azure
Dedicated physical serverSole-tenant nodeDedicated HostDedicated Host
Group of dedicated serversNode groupHost resource group or host collectionHost group
Recipe for the serverNode templateDedicated Host allocation settingsHost SKU choice
Steering VMs to hostsNode affinity labelsHost affinity and placement settingsHost group and host selection
i
GKE Note

Teams that run containers on Google Kubernetes Engine can also place their node pools on sole-tenant nodes when they need dedicated hardware for containerized workloads. The same cost and capacity ideas apply.

18Real-World and Industry Examples

Here is how different kinds of organizations typically use dedicated nodes.

Enterprise moving licensed databases

A large company runs database software that is licensed per physical core. By placing those VMs on a small dedicated node group, it can count cores clearly, keep using licenses it already owns, and move off its own aging data center.

Bank with strict internal policy

A bank’s security team requires that customer-facing payment systems never share hardware with other organizations. The bank puts those workloads on dedicated nodes, keeping other, less sensitive systems on regular VMs to control costs.

Hospital and health software providers

Providers handling patient records may use dedicated nodes as one part of a broader privacy plan, together with encryption, strict access control, and audit logging.

Game studio with latency-sensitive servers

A studio running real-time multiplayer servers wants stable, predictable frame times. Dedicated nodes remove outside noise and let the team tune CPU use across its own VMs.

Software vendor hosting many customers

A company that runs software on behalf of several clients gives each client its own node group, giving clear separation and clear billing for each one.

Shared platform team inside a big company

A central cloud team owns a handful of large shared node groups and lets dozens of internal projects place VMs on them, keeping usage high and licenses easy to track.

Licenses
The most common reason teams adopt it
Isolation
Physical separation for strict policies
Predictable
Steady speed with no outside neighbors

19Frequently Asked Questions

Questions beginners ask most often, answered in plain words.

Q1What exactly is a sole-tenant node?

It is a physical Compute Engine server that hosts VMs from only your Google Cloud projects. No other customer’s VMs run on it.

Q2Do I still use normal Compute Engine VMs?

Yes. You create regular VMs with the usual disks, images, and networks. The only difference is that you tell them to run on your node group, using node affinity.

Q3How am I charged?

You pay for all the vCPUs and memory of the node, whether used or not, plus a ten percent sole-tenancy premium on those costs. VMs on the node add no extra charge, but disks and premium images are billed at normal rates. Discounts such as sustained use and committed use can reduce the price.

Q4What is the difference between a node template and a node group?

A template is the recipe: it states the node type, region, and labels. A node group is the real set of nodes in one zone built from that recipe.

Q5Can one VM be larger than a node?

No. A VM must fit inside a single node, because it cannot be split across two physical servers. Pick a node type large enough for your biggest VM.

Q6What happens to my VMs during maintenance?

That depends on the maintenance policy you choose. VMs can be live-migrated to a server chosen by Google, restarted in place on the same node, or moved to other nodes inside the same node group.

Q7Is there autoscaling for node groups?

Yes. The autoscaler adds a node when a VM needs room and none is available, and removes empty nodes to save money. You can set limits for the group’s smallest and largest size.

Q8Can other projects use my node group?

Yes, within your organization. You can share a node group so that other projects place VMs on it. It remains under its parent project and uses the same quota and price as an unshared group.

Q9Does a sole-tenant node make me compliant with regulations?

Not by itself. It gives physical isolation, which may be one requirement among many. You still need identity controls, encryption, logging, patching, and documentation.

Q10Is it available everywhere?

No. Node types differ by zone, and not every zone offers every type. Check availability and quota for your chosen zone before you plan.

Q11Do I pay when no VM is running on the node?

Yes. The node itself is what you rent. To stop paying, you must reduce or delete the node group, not merely stop the VMs.

Q12When should I avoid sole-tenant nodes?

Avoid them when you have no license, policy, or performance reason for dedicated hardware, or when you cannot keep the nodes reasonably full. Regular VMs and managed services are cheaper and simpler in those cases.

20Summary and Key Takeaways

Sole-tenant nodes give you a physical Compute Engine server that only your projects can use. You describe the server in a node template, build a node group from it in one zone, and place your regular VMs onto it using node affinity labels. You pick a maintenance policy that fits your licenses and availability needs, let autoscaling add or remove nodes, and optionally share the group with other projects in your organization. Because you pay for the entire node plus a premium, the winning habit is simple: use sole-tenancy only when you can name a clear reason, then keep every node well filled. Done this way, it is a powerful tool for licensing, isolation, and predictable performance without leaving the cloud.

Key Takeaways

  • Dedicated hardware — A sole-tenant node is a physical server reserved for your projects alone, running ordinary Compute Engine VMs.
  • Template, group, node — A node template is the recipe, a node group is the set of nodes in one zone, and each node is one physical server.
  • Affinity steers placement — Use node affinity labels to put VMs where you want them, and make them part of every VM template so nothing lands on shared hardware by accident.
  • Choose maintenance on purpose — Default migration, restart in place, and migrate within node group each suit different licenses and uptime needs; keep spare capacity when VMs must move inside the group.
  • You pay for the whole box — Billing covers all vCPUs and memory plus a ten percent premium, so tight packing, autoscaling, sharing, and committed use discounts matter.
  • Great for licenses and isolation — The strongest reasons to use it are hardware-based licensing, strict physical-isolation policies, and predictable performance.
  • Isolation is not compliance — Dedicated hardware is one control among many; you still need identity, firewall, encryption, logging, and patching.