[Yandex Cloud documentation](../../../../index.md) > [Yandex Smart Web Security](../../../index.md) > [Tutorials](../../index.md) > [Migrating services from an NLB to an L7 ALB to enable Smart Web Security protection](../index.md) > NLB with VMs as targets > Overview

# Migrating services from an NLB with VMs as targets to an L7 ALB

# Migrating services from an NLB with VMs as targets to an L7 ALB


You can migrate the load from a [Yandex Network Load Balancer](../../../../network-load-balancer/index.md) load balancer to a [Yandex Application Load Balancer](../../../../application-load-balancer/index.md) L7 load balancer. In a network load balancer, incoming traffic is distributed among the VMs specified in this load balancer's target groups.

During the migration process, the L7 load balancer will have a [Yandex Smart Web Security](../../../index.md) security profile connected to it. An L7 load balancer with a connected security profile operates as follows:

![image](../../../../_assets/tutorials/security/nlb-with-target-resource-vm.svg)

You can create a service migration infrastructure using the following tools:

* [Management console](console.md): Use the Yandex Cloud management console to create your infrastructure step by step.
* [Terraform](terraform.md): Streamline creating and managing your resources with the _infrastructure as code_ (IaC) approach. Download a Terraform configuration example and deploy your infrastructure using the [Yandex Cloud Terraform provider](../../../../terraform/index.md).