{"id":2357,"date":"2021-01-14T13:38:42","date_gmt":"2021-01-14T10:38:42","guid":{"rendered":"https:\/\/telcocloudbridge.com\/?p=2357"},"modified":"2026-09-21T19:38:12","modified_gmt":"2026-09-21T19:38:12","slug":"from-legacy-vnf-to-cloud-native-vnf","status":"publish","type":"post","link":"https:\/\/telecomlighthouse.com\/?p=2357","title":{"rendered":"From &#8220;Legacy VNF&#8221; to &#8220;Cloud Native VNF&#8221;"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Let&#8217;s face it, we all love to have everything cloud native based including cloud Native VNFs. In practice, however, we need to live with the legacy VNFs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The legacy VNFs are monolithic with bulky code and operated in some cases as all in one virtual machine. They can be called virtual, but not cloud-based or &#8220;cloud-native&#8221; to be more specific.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you want a quick overview on what is cloud native, you can see my other <a href=\"https:\/\/telecomlighthouse.com\/blog\/what-is-cloud-native-understand-the-easy-way\/\">blog.<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is important for you to <a href=\"https:\/\/telecomlighthouse.com\/blog\/ultimate-guide-to-role-of-sdn-in-nfv\/\">understand a cloud native VNF<\/a> as the5G Core is cloud native based.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To understand and appreciate a  <a href=\"https:\/\/www.etsi.org\/deliver\/etsi_gs\/NFV-EVE\/001_099\/011\/03.01.01_60\/gs_nfv-eve011v030101p.pdf\" class=\"rank-math-link\">cloud native VNF<\/a>, I take you through a journey starting with the bare metal, then a legacy VNF, and finally a cloud native VNF. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Before I take you through that journey, I would like to point out one simple thing that can help you understand how VNFs normally work. While a VNF can be one  VNF to one VM. That is VNF is one component that completely occupies the virtual machine. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In practice, however, VNF consists of multiple components also called microservices or VNFCs (VNF Component) as ETSI called them. As VNFs can be quite complex such as an EPC in the mobile network, no vendor will make an &#8220;All in one&#8221; VNF that occupies a single Virtual machine. It will be many small VNFCs that are connected and together give a VNF functionality. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So lets say our VNF here consists of two VNFCs like following which we will be using in our example.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/telecomlighthouse.com\/wp-content\/uploads\/2021\/01\/image-4.png\" alt=\"\" class=\"wp-image-2358\" width=\"339\" height=\"145\"\/><figcaption>VNF and its Components<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Having understood this components of one VNF,  let&#8217;s now begin our journey.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Bare Metal<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In bare metal, we run the application\/VNF directly on the server. This is the legacy way to run applications. Take a server and install the application. There is no way to slice\/partition the server to run more applications\/VNFs. However the advantage is that the single application get access to the complete compute, storage and memory resource of the machine.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So in our case, it is not possible to run our example VNF that has two components as above. What is possible is to run any single component VNF directly on the operating system ( such as Linux)  of the bare metal as shown below.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/telecomlighthouse.com\/wp-content\/uploads\/2021\/01\/image-5.png\" alt=\"\" class=\"wp-image-2361\" width=\"111\" height=\"215\"\/><figcaption>Bare Metal VNF<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Legacy VNF<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">As a legacy VNF runs on the virtual machine, you would need two virtual machines to run this VNF. Additionally, the virtual machine would need a hypervisor to slice the server into multiple logical servers. With two virtual machines available, it is possible to keep each VNFC in a different virtual machine. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Do take a note, however, that a Virtual machine would need to have a separate Operating system ( OS) called guest OS on top of the host OS. This is an extra burden on a server as you would understand shortly by comparing it with containers<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/telecomlighthouse.com\/wp-content\/uploads\/2021\/01\/image-6.png\" alt=\"\" class=\"wp-image-2362\" width=\"297\" height=\"409\"\/><figcaption>Legacy VNF<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Cloud Native VNF<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Cloud Native VNFs make use of containers. Thanks to the lightweight size of the containers that do not need a separate guest OS, it is possible to run each VNFC as a different container directly on the host OS. You do not need a hypervisor, but you will need a container engine to enable spinning up the containers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As you probably already have guessed that a Cloud Native is a preferred approach to building up VNF applications today as they are lightweight because they host on the same Linux kernal of the host machine without the burden of the need for additional guest operating system.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/telecomlighthouse.com\/wp-content\/uploads\/2021\/01\/image-7.png\" alt=\"\" class=\"wp-image-2363\" width=\"514\" height=\"439\"\/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">But here is a challenge. How do keep different cloud Native VNFs separate from each other? Would you really run containers of one vendor in the same containerized environment as another vendor?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thats take us to the more practical approach to running cloud Native VNFs today.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Cloud Native VNFs &#8220;On&#8221; VM<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The most practical way followed today is to keep different cloud native VNFs on different  VMs.  That way you can enjoy the flexibility of running a lot of these containers within one VNF and at the same time isolation between different VNFs ( perhaps of different vendors).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So a setup like the following will allow you to add a second VNF easily in a second VM on the same server.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/telecomlighthouse.com\/wp-content\/uploads\/2021\/01\/image-8.png\" alt=\"\" class=\"wp-image-2364\" width=\"650\" height=\"424\"\/><figcaption>Cloud Native VM on VM<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Cloud Native VNFs Plus VMs<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">We run in a practical world.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There will be legacy VNFs along with cloud Native VNFs for quite some time as we have already deployed a  lot of legacy VNFs in the network and before they phase out to a more modern VNF based on cloud native application. A variation of this is to have Cloud Native VNFs run directly on the server in parallel to legacy VNFs in VMs. In this diagram you say a legacy VNF2 running with a cloud native VNF1 on the same server.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/telecomlighthouse.com\/wp-content\/uploads\/2021\/01\/image-1024x435-1.png\" alt=\"\" class=\"wp-image-2492\"\/><figcaption>Cloud Native + VM<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">What is the future ?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Future is all about cloud Native VNFs. There will be a time when legacy VNFs will be phased out.  Then there will be a stage with containers are developed and mature enough to provide enough isolation to start running Cloud native VNFs of different vendors on the same Linux OS. That will be the time when perhaps there will be no need to have a virtual machine and a world that can live without virtual machines forever. When this happens. We are not sure at the moment.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Do you agree ?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let&#8217;s face it, we all love to have everything cloud native based including cloud Native VNFs. In practice, however, we need to live with the legacy VNFs. The legacy VNFs are monolithic with bulky code and operated in some cases as all in one virtual machine. They can be called virtual, but not cloud-based or [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":2375,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-2357","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nfv"],"_links":{"self":[{"href":"https:\/\/telecomlighthouse.com\/index.php?rest_route=\/wp\/v2\/posts\/2357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/telecomlighthouse.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/telecomlighthouse.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/telecomlighthouse.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/telecomlighthouse.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2357"}],"version-history":[{"count":2,"href":"https:\/\/telecomlighthouse.com\/index.php?rest_route=\/wp\/v2\/posts\/2357\/revisions"}],"predecessor-version":[{"id":3555,"href":"https:\/\/telecomlighthouse.com\/index.php?rest_route=\/wp\/v2\/posts\/2357\/revisions\/3555"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/telecomlighthouse.com\/index.php?rest_route=\/wp\/v2\/media\/2375"}],"wp:attachment":[{"href":"https:\/\/telecomlighthouse.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/telecomlighthouse.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/telecomlighthouse.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}