Site icon Learning & Doing

Create an Internal Load Balancer

internal

“Create an Internal Load Balancer”

Pengantar

Google Cloud menawarkan Load Balancing Internal untuk lalu lintas berbasis TCP/UDP Anda. Load Balancing Internal memungkinkan Anda untuk menjalankan dan menskalakan layanan Anda di belakang alamat IP penyeimbangan beban pribadi yang hanya dapat diakses oleh mesin virtual internal Anda.

Praktikum

Task 1. Configure HTTP and health check firewall rules

Explore the my-internal-app network

Create the HTTP firewall rule

Create the health check firewall rules

Task 2. Configure instance templates and create instance groups

Configure the instance templates

Configure the next instance template

Create the managed instance groups

Verify the backends

Verify that VM instances are being created in both subnets and create a utility VM to access the backends’ HTTP sites.

curl 10.10.20.2
curl 10.10.30.2

Task 3. Configure the Internal Load Balancer

Configure the Internal Load Balancer to balance traffic between the two backends (instance-group-1 in us-central1-a and instance-group-2 in us-central1-b), as illustrated in this diagram:

Start the configuration

Configure the regional backend service

Configure the frontend

Review and create the Internal Load Balancer

Task 4. Test the Internal Load Balancer

Verify that the my-ilb IP address forwards traffic to instance-group-1 in us-central1-a and instance-group-2 in us-central1-b.

Access the Internal Load Balancer

curl 10.10.30.5

Penutup

Sahabat Blog Learning & Doing demikianlah penjelasan mengenai Create an Internal Load Balancer. Semoga Bermanfaat . Sampai ketemu lagi di postingan berikut nya.

Exit mobile version