How to Create Network Endpoint Groups in Google Cloud Platform

A network endpoint group (NEG) is a collection of endpoints or services that you can apply networking functions to, like load balancing, firewalls, and logging.

Zonal and Internet NEGs contain endpoints such as IP addresses and ports, or FQDNs. Serverless NEGs point to an App Engine, Cloud Functions, or Cloud Run service.

 

  • Login to Google cloud platform portal.
  • Click on Compute Engine.
  • Select Network endpoint groups.

 

Fig 1

 

  • Click on Create Network Endpoint groups.

 

Fig 2

 

 

  • Provide the network endpoint group name.
  • Select Zonal or Internet Network endpoint group type. If select Zonal NEG type.
  • Then select VPC network, Subnet & Zone.
  • Provide Default port number.
  • Click on Create.

 

Fig. 3

 

  • If Select Internet NEG type,VPC network location is disabled for custom origin network endpoint groups. Besides, you can only add 1 endpoint to this type of network endpoint group.
  • Provide IP address & default port number.
  • Click on Create.

 

Fig. 4

 

  • After sometime NEGs is ready.
  • Go to network endpoint group page.

 

Fig. 8

Create NEGs using Shell

 

 

Fig. 6

 

 

Leave a Reply