feat(infra): Use gVNIC for relay network interface driver (#8537)

This is supposed to offer much better performance and networking
features in GCP. I would bet it supports XDP as well, unlike the default
VIRTIO_NET driver.

See: https://cloud.google.com/compute/docs/networking/using-gvnic

Related:
https://github.com/firezone/firezone/issues/7518#issuecomment-2762357354
This commit is contained in:
Jamil
2025-03-28 13:39:08 -07:00
committed by GitHub
parent cf13e41e01
commit 6edfa7ba7f

View File

@@ -197,6 +197,8 @@ resource "google_compute_instance_template" "application" {
network_interface {
subnetwork = var.instances[each.key].subnet
nic_type = "GVNIC"
stack_type = "IPV4_IPV6"
ipv6_access_config {