[Yandex Cloud documentation](../../../../index.md) > [Yandex Application Load Balancer](../../../index.md) > [Tutorials](../../index.md) > [Migrating services from NLB to L7 ALB for enabling Smart Web Security protection](../index.md) > NLB with a Managed Service for Kubernetes cluster as a target > Overview

# Migrating services from an NLB with a Yandex Managed Service for Kubernetes cluster as a target to an L7 ALB

# Migrating services from an NLB with a Yandex Managed Service for Kubernetes cluster as a target to an L7 ALB


You can migrate load from a [Yandex Network Load Balancer](../../../../network-load-balancer/index.md) to a [Yandex Application Load Balancer](../../../index.md). The network load balancer is [used](../../../../network-load-balancer/concepts/scenarios.md#nlb-mk8s) as part of the [NGINX Ingress controller](https://kubernetes.github.io/ingress-nginx/) within a [Yandex Managed Service for Kubernetes](../../../../managed-kubernetes/index.md) cluster. The cluster itself creates network load balancer objects as per the provided manifests and monitors the load balancer's target group consisting of the VMs from that cluster's node groups.

During the migration, an L7 load balancer with an active [Yandex Smart Web Security](../../../../smartwebsecurity/index.md) security profile will be created using the [Application Load Balancer ingress controller](../../../tools/k8s-ingress-controller/index.md). 

{% 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 %}

Here is how an L7 load balancer with a security profile works:

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