Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Application Load Balancer
  • Getting started
    • All guides
    • Creating Application Load Balancer infrastructure through a wizard
    • Viewing service resource operations
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • L7 load balancer logs
  • Release notes

In this article:

  • Getting started
  • Create a VM and set up a test web server on it
  • Create the Application Load Balancer infrastructure
  • Target group settings
  • Backend group settings
  • HTTP router settings
  • L7 load balancer settings
  • Test the load balancer
  • How to delete the resources you created
  1. Step-by-step guides
  2. Creating Application Load Balancer infrastructure through a wizard

Creating Application Load Balancer infrastructure through a wizard

Written by
Yandex Cloud
Updated at September 18, 2025
  • Getting started
  • Create a VM and set up a test web server on it
  • Create the Application Load Balancer infrastructure
    • Target group settings
    • Backend group settings
    • HTTP router settings
    • L7 load balancer settings
  • Test the load balancer
  • How to delete the resources you created

Yandex Application Load Balancer is a cloud service terminating TLS connections and routing requests to backend applications. Application Load Balancer operates at Layer 7 of the OSI model, supporting HTTP and HTTPS protocols.

This guide will help you deploy the Application Load Balancer infrastructure and configure traffic routing to your test application backend.

Below, you can see how to create an infrastructure using a wizard. Alternatively, you can create its components one by one.

Getting startedGetting started

  1. Log in to the management console or sign up. If not signed up yet, navigate to the management console and follow the on-screen instructions.
  2. On the Yandex Cloud Billing page, make sure you have a linked billing account with the ACTIVE or TRIAL_ACTIVE status. If you do not have a billing account yet, create one.
  3. If you do not have a folder yet, create one. While creating a folder, you can also create a default virtual network with subnets in all availability zones.

Create a VM and set up a test web server on itCreate a VM and set up a test web server on it

  1. Create the test-vm1 VM from the Ubuntu 24.04 public image in the ru-central1-a availability zone.

  2. Connect to your VM over SSH.

    If you have the Yandex Cloud CLI installed, you can connect to your VM via OS Login:

    yc compute ssh --name test-vm1
    
  3. Start a test web server listening on port 8080:

    mkdir test-server; echo 'HELLO' > test-server/hello.txt; python3 -m http.server -d test-server 8080
    
  4. Make sure your web server returns a list of subdirectories in the test-server directory. Open the terminal on your computer and run this command:

    curl --verbose <VM_public_IP_address>:8080
    

Create the Application Load Balancer infrastructureCreate the Application Load Balancer infrastructure

Management console
  1. In the management console, select the folder where you want to create a load balancer.
  2. In the list of services, select Application Load Balancer.
  3. Click Create L7 load balancer and select Wizard.

Target group settingsTarget group settings

The system will deploy your application backends on the target group VM. The load balancer will distribute requests to your application backend endpoints via the target group.

In our example, the target group will consist of a single VM.

Management console
  1. Specify the target group name: test-target-group.
  2. Select test-vm1.
  3. Do not change other settings. Click Create and continue.

Backend group settingsBackend group settings

Backend groups contain traffic distribution rules and health check configurations for targets. The wizard will automatically create one backend and one health check group. It will also use the group you created earlier as the target group.

Management console
  1. Specify the backend group name: test-backend-group.

  2. To open backend and health check group settings, toggle Advanced settings on.

  3. Specify the backend name: backend-1.

  4. Specify the port: 8080.

  5. Configure health check settings:

    1. Interval: 3.
    2. Healthy threshold: 2.
    3. Port: 8080.
  6. Do not change the other settings. Click Create and continue.

HTTP router settingsHTTP router settings

HTTP routers implement rules for client-to-backend traffic and allow you to modify requests at the load balancer layer. The wizard will automatically create a virtual host and a routing rule. It will also use the group you created earlier as the backend group.

Management console
  1. Specify the router name: test-http-router.
  2. Toggle Advanced settings on.
  3. Under Virtual hosts, specify the following:
    1. Host name: test-virtual-host.
    2. Route name: test-route.
  4. Do not change the other settings. Click Create and continue.

L7 load balancer settingsL7 load balancer settings

A load balancer distributes incoming requests across target group VMs according to the rules specified in the HTTP router. Load balancers use listeners to receive traffic. The wizard will create a listener automatically. It will also use your previously created router as the HTTP router in this configuration.

In the following example, we will deploy a load balancer and its backend node in the same subnet and availability zone.

Management console
  1. Specify the load balancer name: test-load-balancer.

  2. Under Network settings, select the network containing the subnet where you want to place your load balancer node.

  3. Toggle Advanced settings on.

  4. Under Allocation, select a subnet in your preferred availability zone and configure it to enable incoming traffic.

    Remove other availability zones by clicking in each zone’s row.

  5. Under Listeners, specify the listener name: test-listener.

  6. Do not change the other settings. Click Create.

Test the load balancerTest the load balancer

In the terminal, run this command:

curl --verbose <load_balancer_public_IP_address>:80

The response must return HTTP 200 with an HTML list of test VM web root subdirectories.

Next, you can expand your target group by adding more VMs, create additional application backends, and set up routes to their endpoints.

How to delete the resources you createdHow to delete the resources you created

To stop paying for the resources you created, delete them in the following order:

Management console
  1. Delete the test-load-balancer L7 load balancer.
  2. Delete the test-http-router HTTP router.
  3. Delete the test-backend-group backend group.
  4. Delete the test-target-group target group.

Was the article helpful?

Previous
All guides
Next
Creating a target group
© 2025 Direct Cursus Technology L.L.C.