Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion NOTICE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
© Copyright 2022, Intel Corporation
© Copyright 2025, Intel Corporation

Credit:
"This project incorporates code from terraform-aws-modules https://github.com/terraform-google-modules/terraform-google-vm under the Apache-2.0 license.”
Expand Down
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,30 @@

## Intel® Optimized Cloud Modules for Terraform

© Copyright 2024, Intel Corporation
© Copyright 2025, Intel Corporation

## GCP VM module
This module provides the functionality to ensure that you are utilizing Intel's latest generation processor in the creation of a virtual machine in GCP.


## Performance Data
#### Intel Xeon 6 (Granite Rapids) now available on C4 VMs. Other variants are using the Intel Xeon 5th generation (Emerald Rapids)These C4 instances can power even more demanding workloads, delivering the highest frequency of any Google Compute Engine VM — up to 4.2 GHz, the most vCPU and RAM of any Intel-based comparable product, larger L3 cache size, and 1.35x higher maximum memory bandwidth.

#### As of August 2025, the expanded C4 machine series with Intel Xeon 6 is available in 19 zones, with more expansion to come. Check the latest regional availability on our regions and zones page (https://cloud.google.com/compute/docs/regions-zones). Experience the leading performance, predictability, and control that C4 VMs deliver today! To learn more about C4 and its new capabilities, visit the C4 documentation.

#### Intel Xeon 6 Instance are available using the C4-standard-X-lssd or C4-highmem-X-lssd instance types. C4-standard-X and C4-highmem-X are going to be using 5th Gen Intel Xeon (Emerald Rapids)

#### Find all the information below plus even more by navigating our full library
#### [INTEL CLOUD PERFROMANCE DATA LIBRARY for GCP](https://www.intel.com/content/www/us/en/developer/topic-technology/cloud/library.html?f:@stm_10381_en=%5BGoogle%20Alphabet%5D)

![alt text](image.png)

#
<center>

#### [Maximize performance and optimize spend with Compute Engine’s latest VMs, N4 and C4](https://cloud.google.com/blog/products/compute/a-closer-look-at-compute-engine-c4-and-n4-machine-series)


<p align="center">
<a href="https://cloud.google.com/blog/products/compute/a-closer-look-at-compute-engine-c4-and-n4-machine-series">
<img src="https://github.com/intel/terraform-intel-gcp-vm/blob/main/images/c4-perf1.png?raw=true" alt="Link" width="600"/>
Expand Down Expand Up @@ -212,7 +221,7 @@ No modules.
| <a name="input_enable_vtpm"></a> [enable\_vtpm](#input\_enable\_vtpm) | Use a virtualized trusted platform module, which is a specialized computer chip you can use to encrypt objects like keys and certificates. | `bool` | `true` | no |
| <a name="input_hostname"></a> [hostname](#input\_hostname) | A custom hostname for the instance. Must be a fully qualified DNS name and RFC-1035-valid | `string` | `null` | no |
| <a name="input_ipv6_access_config"></a> [ipv6\_access\_config](#input\_ipv6\_access\_config) | Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Omit to ensure that the instance is not accessible from the Internet. If omitted, ssh provisioners will not work unless Terraform can send traffic to the instance's network. This can be represented as multiple maps | <pre>list(object({<br/> public_ptr_domain_name = optional(string, null)<br/> network_tier = optional(string, null)<br/> }))</pre> | `[]` | no |
| <a name="input_machine_type"></a> [machine\_type](#input\_machine\_type) | The machine type to create | `string` | `"c4-standard-4"` | no |
| <a name="input_machine_type"></a> [machine\_type](#input\_machine\_type) | The machine type to create | `string` | `"c4-standard-4-lssd"` | no |
| <a name="input_name"></a> [name](#input\_name) | A unique name for the resource, required by GCE. Changing this forces a new resource to be created. | `string` | n/a | yes |
| <a name="input_network"></a> [network](#input\_network) | The name or self\_link of the network to attach this interface to. | `string` | `"default"` | no |
| <a name="input_network_ip"></a> [network\_ip](#input\_network\_ip) | The private IP address to assign to the instance. If empty, the address will be automatically assigned. | `string` | `""` | no |
Expand Down
6 changes: 3 additions & 3 deletions examples/gcp-linux-fastchat-simple/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

# Intel Optimized Cloud Modules for Terraform

© Copyright 2024, Intel Corporation
© Copyright 2025, Intel Corporation

## GCP C4 5th Gen Xeon(code named Emerald Rapids) & Intel® Optimized Cloud Recipe for FastChat
## GCP C4 6th Gen Xeon(code named Granite Rapids) & Intel® Optimized Cloud Recipe for FastChat

This demo will showcase Large Language Model(LLM) CPU inference using 5th Gen Xeon Scalable Processors on GCP.
This demo will showcase Large Language Model(LLM) CPU inference using 6th Gen Xeon Scalable Processors on GCP.

## Usage

Expand Down
3 changes: 1 addition & 2 deletions examples/gcp-linux-fastchat-simple/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ variable "project" {
description = "GCP Project ID"
}


#GCP Linux VM with Intel Cloud Optimized Recipe for FastChat
module "linux_vm" {
source = "intel/gcp-vm/intel"
Expand All @@ -16,7 +15,7 @@ module "linux_vm" {
boot_image_family = "ubuntu-2204-lts"
name = "intel-fastchat-${random_id.rid.dec}"
zone = "us-central1-a"
machine_type = "c4-standard-32"
machine_type = "c4-standard-32-lssd"
allow_stopping_for_update = true
tags = ["fschat-${random_id.rid.dec}"]
user_data = templatefile("./cloud_init.yml", {})
Expand Down
6 changes: 3 additions & 3 deletions examples/gcp-linux-stable-diffusion/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

# Intel Optimized Cloud Modules for Terraform

© Copyright 2024, Intel Corporation
© Copyright 2025, Intel Corporation

## GCP C3 4th Gen Xeon(code named Sapphire Rapids) & Intel® Optimized Cloud Recipe for Stable Diffusion
## GCP C4 6th Gen Xeon(code named Granite Rapids) & Intel® Optimized Cloud Recipe for Stable Diffusion

This demo will showcase Stable Diffusion CPU inferencing using 5th Gen Xeon Scalable Processors on GCP.
This demo will showcase Stable Diffusion CPU inferencing using 6th Gen Xeon Scalable Processors on GCP.

## Usage

Expand Down
3 changes: 1 addition & 2 deletions examples/gcp-linux-stable-diffusion/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ variable "project" {
description = "GCP Project ID"
}


#GCP Linux VM with Intel Cloud Optimized Recipe for FastChat
module "linux_vm" {
source = "intel/gcp-vm/intel"
Expand All @@ -16,7 +15,7 @@ module "linux_vm" {
boot_image_family = "ubuntu-2204-lts"
name = "intel-diffusion-${random_id.rid.dec}"
zone = "us-central1-a"
machine_type = "c4-standard-32"
machine_type = "c4-standard-32-lssd"
allow_stopping_for_update = true
tags = ["diffusion-${random_id.rid.dec}"]
user_data = templatefile("./cloud_init.yml", {})
Expand Down
4 changes: 2 additions & 2 deletions examples/gcp-linux-tdx-vm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

# Intel Cloud Optimization Modules for Terraform

© Copyright 2023, Intel Corporation
© Copyright 2025, Intel Corporation

## Intel GCP VM on default network

This module creates a Intel Confiddential Compute Linux VM on the default network with Intel Xeon 5th Generation Scalable processors (code-named Emerald Rapids) VM with Confidential Computing and Intel Trust Domain Extension (Intel TDX) technology.
This module creates a Intel Confidential Compute Linux VM on the default network with Intel Xeon 4th Generation Scalable processors (code-named Sapphire Rapids) VM with Confidential Computing and Intel Trust Domain Extension (Intel TDX) technology.

Update the project with a your project id in GCP. It is located on the variables.tf file under this example folder for "GCP-Linux-VM"

Expand Down
3 changes: 2 additions & 1 deletion examples/gcp-linux-tdx-vm/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
# --------------------------------------------------------
# Provision GCP virtual machine on Intel Xeon 4th Generation Scalable processors (code-named Sapphire Rapids) VM which supports Confidential Computing with Intel Trust Domain Extension (Intel TDX) technology
# You will need to provide value of the variable project, which is your GCP project id when you do terraform apply
# As of August 2025 only C3 instances will support Intel TDX
module "linux_vm" {
source = "intel/gcp-vm/intel"
project = var.project
Expand All @@ -17,7 +18,7 @@ module "linux_vm" {
enable_confidential_compute = var.enable_confidential_compute
confidential_instance_type = var.confidential_instance_type
on_host_maintenance = "TERMINATE"
machine_type = "c4-standard-4"
machine_type = "c3-standard-4"


access_config = [{
Expand Down
2 changes: 1 addition & 1 deletion examples/gcp-linux-vm-ico-by-densify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Intel Optimized Cloud Modules for Terraform

© Copyright 2024, Intel Corporation
© Copyright 2025, Intel Corporation

## Intel GCP Linux VM on default network using Intel Cloud Optimzier(ICO) by Densify recommendations

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
densify_recommendations = {
"ico-test" = {
currentType = "n1-standard-2"
recommendedType = "c4-standard-4"
recommendedType = "c4-standard-32-lssd"
approvalType = "all"
predictedUptime = "95.0"
recommendationType = "Modernize"
Expand Down
2 changes: 1 addition & 1 deletion examples/gcp-linux-vm-ico-by-densify/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module "densify" {
}

# Intel module
# Provision GCP Xeon 4th Generation Scalable processors (code-named Sapphire Rapids) VM
# Provision GCP Xeon 6th Generation Scalable processors (code-named Granite Rapids) VM
# You will need to provide value of the variable project, which is your GCP project id when you do terraform apply
module "linux_vm" {
source = "intel/gcp-vm/intel"
Expand Down
2 changes: 1 addition & 1 deletion examples/gcp-linux-vm-ico-by-densify/providers.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
provider "google" {
zone = "us-central1-a"
}
}
4 changes: 2 additions & 2 deletions examples/gcp-linux-vm-ico-by-densify/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ variable "densify_recommendations" {
default = {
ico-test = {
currentType = "n1-standard-2"
recommendedType = "c4-standard-4"
recommendedType = "c4-standard-32-lssd"
approvalType = "all"
savingsEstimate = "26.6"
predictedUptime = "94.32"
Expand All @@ -30,7 +30,7 @@ variable "densify_fallback"{
type = map(string)
default = {
currentType = "n1-standard-2"
recommendedType = "c4-standard-4"
recommendedType = "c4-standard-32-lssd"
approvalType = "all"
savingsEstimate = "0"
predictedUptime = "0"
Expand Down
2 changes: 1 addition & 1 deletion examples/gcp-linux-vm-spot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Intel Optimized Cloud Modules for Terraform

© Copyright 2024, Intel Corporation
© Copyright 2025, Intel Corporation

## Intel GCP Spot VM creation on the default network

Expand Down
2 changes: 1 addition & 1 deletion examples/gcp-linux-vm-spot/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# | | | | | || __/ |
# |_|_| |_|\__\___|_|
# --------------------------------------------------------
# Provision GCP Xeon 5th Generation Scalable processors (code-named Emerald Rapids) VM
# Provision GCP Xeon 6th Generation Scalable processors (code-named Granite Rapids) VM
# You will need to provide value of the variable project, which is your GCP project id when you do terraform apply
module "spot_vm" {
source = "intel/gcp-vm/intel"
Expand Down
2 changes: 1 addition & 1 deletion examples/gcp-linux-vm-spot/providers.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
provider "google" {
zone = "us-central1-a"
}
}
2 changes: 1 addition & 1 deletion examples/gcp-linux-vm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Intel Optimized Cloud Modules for Terraform

© Copyright 2024, Intel Corporation
© Copyright 2025, Intel Corporation

## Intel GCP VM on default network

Expand Down
Loading
Loading