All pricing

This page lists all the pricing for Compute Engine.

Note: This page is a comprehensive list of Compute Engine pricing in a single place for flexibility. For detailed pricing explanations, see the following pages:

Compute Engine charges for usage based on the following price sheet. A bill is sent out at the end of each billing cycle, listing previous usage and charges. Prices on this page are listed in U.S. dollars (USD).

For Compute Engine, disk size, machine type memory, and network usage are calculated in gigabytes (GB), where 1 GB is 230 bytes. This unit of measurement is also known as a gibibyte (GiB).

If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

You can also find pricing information with the following options:

General-purpose machine types

N1 machine types

N1 standard machine types

N1 high-memory machine types

N1 high-CPU machine types

N1 custom vCPUs and memory

N1 extended custom memory

N2 machine types

N2 standard machine types

N2 high-memory machine types

N2 high-CPU machine types

N2 custom vCPUs and memory

N2 extended custom memory

E2 machine types

E2 standard machine types

E2 high-memory machine types

E2 high-CPU machine types

E2 custom vCPUs and memory

Memory-optimized machine types

vCPUs and memory

M1 memory-optimized machine types

M2 memory-optimized machine types

Compute-optimized machine types

C2 vCPUs and memory

C2 machine types

Shared-core machine types

E2 shared-core machine types

Premium images

Red Hat Enterprise Linux (RHEL) and RHEL for SAP images

RHEL images:

  • $0.06 USD/hour for instances with 4 or fewer vCPUs
  • $0.13 USD/hour for instances with more than 4 vCPUs

RHEL for SAP with HA and Update Services images:

  • $0.10 USD/hour for instances with 4 or fewer vCPUs
  • $0.225 USD/hour for instances with more than 4 vCPUs

All RHEL and RHEL for SAP images are charged a 1 minute minimum. After 1 minute, RHEL images are charged in 1 second increments.

Google reports your billing entity name and total hours of Red Hat premium OS usage on Compute Engine to Red Hat, which complies with the Red Hat licensing requirements.

SLES images and SLES for SAP images

SLES images:

  • $0.02 USD/hour for f1-micro and g1- small machine types
  • $0.11 USD/hour for all other machine types

SLES for SAP images:

  • $0.17 USD/hour for instances with 1 - 2 vCPUs
  • $0.34 USD/hour for instances with 3 - 4 vCPUs
  • $0.41 USD/hour for instances with 5 or more vCPUs

All SLES images are charged a 1 minute minimum. After 1 minute, SLES images are charged in 1 second increments.

Windows Server images

Public images for several versions of Windows Server are available in either the Server Core configuration or the Server with Desktop Experience configuration. Both configurations are available at the following prices:

  • $0.02 USD/hour for f1-micro and g1-small machine types
  • $0.04 USD per core/hour for all other machine types

Standard machine types, high-CPU machine types, and high-memory machine types are charged based on the number of CPUs. For example, n1- standard-4, n1-highcpu-4, and n1-highmem-4 are machine-types with 4 vCPUs, and are charged at $0.16 USD/hour (4 x $0.04 USD/hour).

Windows Server images are charged a 1 minute minimum. After 1 minute, Windows images are charged in 1 second increments. SQL Server images are charged a 10 minute minimum. After 10 minutes, SQL Server images are charged in 1 minute increments.

SQL Server images

SQL Server images incur costs in addition to the cost for Windows Server images and the cost for the selected machine type.

  • $0.399 USD per core/hour for SQL Server Enterprise
  • $0.1645 USD per core/hour for SQL Server Standard
  • $0.011 USD per core/hour for SQL Server Web
  • No additional charge for SQL Server Express

Microsoft SQL Server licensing requires a core license to be assigned to each virtual CPU on your virtual machine instance, with a four core minimum for each instance. Instances with fewer than 4 vCPUs will be charged for SQL Server at 4 x $0.1645 USD/hour ($0.658 USD/hour) to comply with these requirements. For instances with 4 or more vCPUs, Compute Engine charges you for Microsoft SQL Server licenses in increments of 2. However, instances with a custom machine type will be charged for the number of SQL Server licenses that is equal to the number of vCPUs.

Google recommends that you do not use SQL Server images on f1- micro or g1-small machine types based on Microsoft's minimum hardware and software recommendations.

Unlike other premium images, SQL Server images are charged a 10 minute minimum. After 10 minutes, SQL Server images are charged in 1 minute increments.

Disk pricing

Persistent disk pricing

Local SSD pricing

Custom image storage

If you import or create custom images in Compute Engine, these images incur a storage cost. The cost of these custom images depends on the location where you store the image.

Network pricing

General network pricing

Traffic type Price (USD)
Ingress No charge, unless there is a resource such as a load balancer that is processing ingress traffic. Responses to requests count as egress and are charged.
Egress* to the same zone No charge
Egress to Google products (such as YouTube, Maps, Drive), whether from a VM in GCP with an external IP address or an internal IP address No charge
Egress to DoubleClick in the same region No charge
Egress to a different Google Cloud service within the same region using an external IP address or an internal IP address, except for Memorystore for Redis, Filestore, and Cloud SQL No charge
Egress between zones in the same region (per GB) $0.01
Egress to Memorystore for Redis is charged at the rate of "Egress between zones in the same region"
Egress to Filestore is charged at the rate of "Egress between zones in the same region"
Egress to Cloud SQL is charged at the rates described in Traffic through external IP addresses
Egress between regions within the U.S. and Canada (per GB) $0.01
Egress between regions within Europe (per GB) $0.02
Egress between regions within Asia (per GB) $0.05
Egress between regions within South America (per GB) $0.08
Intercontinental egress (excludes Oceania) (per GB) $0.08
Oceania to/from any region (per GB) $0.15

If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

*These charges are for egress through internal IP addresses. There are different charges for egress through external IP addresses, regardless of whether the instances are in the same zone. The prices are used regardless of network or subnet. The price for traffic within a zone using internal IP addresses is the same even if the traffic is to a different subnet or network. The price on traffic between zones in the same region is the same if the two instances are in the same subnet, different subnets, or different networks. Pricing is the same whether the instances are in a VPC network or a legacy network.
Oceania includes Australia, New Zealand, and surrounding Pacific Ocean islands such as Papua New Guinea and Fiji. This region excludes Hawaii.

Internet egress rates*

If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

Load balancing and forwarding rules

The following applies to all types of load balancing and forwarding rules (protocol forwarding).

Load balancing ingress and egress charges

  • The Load balancing and forwarding table above contains the charge for ingress data processed by load balancers.
  • Normal egress rates are charged for traffic outbound from a load balancer.
  • There is no additional load balancer egress cost beyond normal egress rates.

Forwarding rules charges

Compute Engine charges for forwarding rules that are created for load balancing or other uses of forwarding rules.

The following examples use US pricing:

Up to 5 forwarding rules you create are charged at $0.025/hour. For example, if you create one forwarding rule, you are charged $0.025/hour. If you have 3 forwarding rules, you are still charged $0.025/hour. However, if you have 10 rules, you are charged:

  • 5 forwarding rules = $0.025/hour
  • Each additional forwarding rule = $0.01/hour

$0.025/hour for 5 rules + (5 additional rules * $0.01/hour) = $0.075/hour

User-defined request headers and Google Cloud Armor charges

If a backend service has a Google Cloud Armor policy associated with it, you can use the user-defined request headers feature with that backend service without any additional charge for the user-defined request headers feature.

If a backend service does not have a Google Cloud Armor policy associated with it, the charges are $0.75 per million HTTP(S) requests sent to those backend services that use the user-defined request headers feature.

These charges become effective after the user-defined request headers feature becomes available in General Availability (GA).

Network Telemetry

Network logs generate charges. You are charged for the following products:

  • VPC flow logs
  • firewall rule logs
  • NAT logging (starting at NAT logging GA. No charge for logs generation during beta.)
Log generation Price (USD)
0–10 TB per month 0.50/GB
10–30 TB per month 0.25/GB
30–50 TB per month 0.10/GB
>50 TB per month 0.05/GB

Logs can be exported to Stackdriver Logging, Pub/Sub, Cloud Storage, or BigQuery. Pub/Sub, Cloud Storage, or BigQuery charges apply in addition to log generation charges.

If you send your logs to Stackdriver Logging, logs generation charges are waived, and only Stackdriver Logging charges apply.

If you send and then exclude your logs from Stackdriver Logging, log generation charges apply.

Traffic through external IP addresses

When you send traffic between virtual machines through the external IP addresses, it is charged as follows:

  • Traffic sent between the external IP address of two virtual machines in the same region will be charged as Egress between zones in the same region, even if the virtual machines are in the same zone.
  • Traffic sent between the external IP address of two virtual machines in different regions within the US will be charged as Egress between regions within the US.
  • Traffic sent between the external IP address of two virtual machines in different regions, not including traffic between U.S. regions, are charged at Internet egress rates.

It is not possible to charge traffic through the external IP address of two virtual machine instances in the same zone as Egress to the same zone because Compute Engine can't determine the zone of a virtual machine through the external IP address.

External IP address pricing

If you reserve a static external IP address but do not use it, you'll be charged for the IP address according to the table below. If you reserve a static external IP address and use it with a Compute Engine resource, such as VM instance or a forwarding rule, the address is considered in use and you won't be charged for it.

VPN

Cloud VPN pricing is based on the location of the Cloud VPN gateway and the number of tunnels per hour.

For definitions of Classic VPN and HA VPN, see the Cloud VPN overview.

Classic VPN pricing

Select the location of the VPN gateway in Google Cloud to view pricing.

HA VPN pricing at Beta

The pricing below applies during the HA VPN Beta period.

Component Billed Price (USD)
Per VPN tunnel (per hour) No charge
Public IP for VPN gateway No charge
IPsec traffic Charged as if the traffic were regular egress traffic. If the Cloud VPN tunnel connects to a gateway in Google Cloud, egress pricing to the region containing that gateway applies. See General network pricing.
If the Cloud VPN tunnel connects to a gateway outside of Google Cloud, internet egress rates apply.

Cloud Router pricing

See the Cloud Router pricing page.

Sole-tenant vCPU, memory, and premium costs

Calculating sole-tenancy pricing including discounts

GPU pricing

Was this page helpful? Let us know how we did:

Send feedback about...

Compute Engine Documentation