neg

Network Endpoint Groups

NetworkingGCP
General

General information about the service.

Description

Network Endpoint Groups (NEGs) define a set of backend endpoints for load balancers. They support serverless, internet, hybrid, and zonal endpoints for flexible load balancing architectures.

Service ID

compute.googleapis.com

Resource Pattern

projects/{project}/zones/{zone}/networkEndpointGroups/{neg}

Chat

Powered by AI

Talk to this service to learn more about it.

Suggested questions:

Naming

The conventions, rules, and restrictions for naming this service.

Naming Convention

neg-{workload}-{env}

Length

1-63

Valid Characters

Lowercase letters, numbers, hyphens

Scope

zonal

Code

Deploy your infrastructure as code using your preferred tooling.

Official DocumentationTerraform
terraform
1resource "google_compute_network_endpoint_group" "main" {
2 name = "neg-${var.workload}-${var.environment}"
3 network = google_compute_network.main.id
4 subnetwork = google_compute_subnetwork.main.id
5 default_port = 443
6 zone = var.zone
7}
Utilities

Utilities to support app deployment or configuration.