[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 as a target for ALB > Overview

# Migrating services from an external NLB to L7 ALB with an internal NLB as a target

# Migrating services from an external NLB to an L7 ALB with an internal NLB as a target


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. A network load balancer distributes traffic across your load balancer pods deployed in a [Yandex Managed Service for Kubernetes](../../../../managed-kubernetes/index.md) cluster. If the L7 load balancer does not support your load balancer configuration, you can add an [internal network load balancer](../../../../network-load-balancer/concepts/nlb-types.md) as a target for your L7. The internal network load balancer will be distributing traffic across [NGINX Ingress Controller](https://kubernetes.github.io/ingress-nginx/) pods deployed in a Managed Service for Kubernetes cluster; the internal network load balancer's IP address will be specified in the L7 load balancer's target group.

{% note warning %}

Do not modify or delete the network load balancer and its child resources created using Managed Service for Kubernetes via the Yandex Cloud interfaces (the management console, Terraform, CLI, or API). This may cause incorrect operation of the cluster.

{% endnote %}

During the migration process, the L7 load balancer will have a [Yandex Smart Web Security](../../../index.md) security profile connected to it. Here is how an L7 load balancer with a security profile works:

![image](../../../../_assets/tutorials/security/nlb-as-target-resource-alb.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).