Migrating services from an NLB with an instance group as a target to L7 ALB
You can migrate the load from a Yandex Network Load Balancer load balancer to a Yandex Application Load Balancer L7 load balancer. The network load balancer is integrated with a VM group. This instance group tracks the number of VMs in the group and changes the composition of the load balancer's target group as needed. An instance group can be integrated with only one of the balancers: either a network load balancer or an L7 load balancer. Therefore, to migrate you need to change the target group integration for the instance group by replacing the network load balancer's target group with the L7 load balancer's target group.
During the migration process, the L7 load balancer will have a Yandex Smart Web Security security profile connected to it. An L7 load balancer with a connected security profile operates as follows:
You can create a service migration infrastructure using the following tools:
- Management console: Use the Yandex Cloud management console to create your infrastructure step by step.
- Terraform: Streamline creating and managing your resources using the infrastructure-as-code (IaC) approach. Download a Terraform configuration example and deploy your infrastructure using the Yandex Cloud Terraform provider.