Description
In the 5G Service-Based Architecture (SBA), a Network Function (NF) is a functional building block of the core network. An NF Instance is a specific, identifiable deployment of an NF. It represents a running software instance that provides one or more services to other NFs. The concept of an NF Instance is central to the flexibility and scalability of the 5G core, as it allows multiple instances of the same NF type to be deployed, each potentially serving different network slices, geographic regions, or capacity requirements.
An NF Instance is identified by an NF Instance ID, which is a globally unique identifier. This ID is used in service discovery and communication between NFs. When an NF wants to consume a service from another NF, it first discovers the available NF Instances that provide the desired service. The discovery is typically performed via the Network Repository Function (NRF), which maintains a registry of NF Instances and their supported services. The NRF provides the NF Instance ID and other details, such as the services offered and the endpoints for communication.
Each NF Instance may provide one or more NF Service instances. An NF Service is a self-contained functionality that is exposed to other NFs via a service-based interface (SBI). For example, the Access and Mobility Management Function (AMF) provides services such as Namf_Communication and Namf_EventExposure. An NF Instance of the AMF may host multiple NF Service instances, each corresponding to a specific service. This modularity allows for independent scaling and lifecycle management of services.
The NF Instance concept is defined in 3GPP TS 23.501 (System Architecture for the 5G System) and TS 29.500 (Technical Realization of Service Based Architecture). These specifications describe how NF Instances register with the NRF, how they are discovered, and how they communicate. The architecture supports both stateless and stateful NF Instances, and allows for load balancing and failover across multiple instances.
In Rel-15, the initial definition of NF Instance was simply 'an identifiable instance of the NF.' In Rel-16, the definition was expanded to clarify that an NF Instance may provide services offered by one or more NF Service instances. This change reflects the evolving understanding of the relationship between NF Instances and NF Services, and emphasizes the modularity of the SBA. The definition has remained stable since then, with minor editorial changes in Rel-19 and Rel-20.
The NF Instance is a key enabler of network slicing, as different slices can use different NF Instances, each tailored to the slice's requirements. It also supports the deployment of NFs in virtualized and cloud-native environments, where instances can be dynamically created, scaled, and terminated. Understanding NF Instances is essential for anyone working with 5G core networks, as they form the foundation of the service-based architecture.
Purpose & Motivation
The NF Instance concept was introduced in 5G to support the service-based architecture, which represents a fundamental shift from the point-to-point interfaces of previous generations. In 4G, network elements like the MME, SGW, and PGW were monolithic and had fixed roles. The 5G SBA decomposes the core network into smaller, self-contained services that can be independently deployed, scaled, and updated. The NF Instance provides a way to identify and manage these individual deployments.
The primary problem that NF Instances solve is the need for flexibility and scalability in the core network. With NF Instances, operators can deploy multiple instances of the same NF type, each serving a different purpose or geographic area. For example, an operator might deploy separate AMF instances for different network slices, or for different regions to reduce latency. This would not be possible with monolithic network elements. The NF Instance ID allows these deployments to be uniquely identified and discovered.
Another motivation is the need for dynamic service discovery and communication. In a service-based architecture, NFs need to find each other and communicate without hard-coded configurations. The NRF, along with the NF Instance concept, enables this dynamic discovery. When an NF needs a service, it queries the NRF, which returns the available NF Instances that provide that service. This allows for loose coupling and enables features like load balancing and failover.
Historically, the NF Instance concept emerged from the 3GPP work on 5G in Rel-15. It was designed to be compatible with cloud-native principles, such as microservices and containerization. The definition was refined in Rel-16 to explicitly mention NF Service instances, reflecting the understanding that an NF Instance can host multiple services. This evolution shows the maturation of the SBA concept and its alignment with modern software architecture practices.
What changed in its specifications
The latest release-to-release comparison of specifications that define NF instance. Each summary describes the whole specification, not only this term.
Rel-19 added MPQUIC steering to multi-access PDU sessions, XR and media handling, and an Energy Information Function. It also added Local Offloading Management for edge computing, Vertical Federated Learning for AI/ML, and Ambient IoT text.
Full comparison in TS 23.501 →Rel-19 adds indirect communication between PLMNs, including NF discovery and selection at the target PLMN, plus authorization for indirect communication with and without delegated discovery. It also adds an Extend-Registration-Timer parameter for IMS disaster restoration and a header restricting Binding Indication updates in notifications.
Full comparison in TS 29.500 →Release Timeline
Detected Changes Across Releases
from 3GPP Change RequestsSpecific changes extracted from the „Change history“ tables of 3GPP specifications (4 CRs across 2 releases). Complements the general historical overview above with the evidence-based evolution of this function.
Defining Specifications
3GPP specifications that define or reference NF instance, with the latest known release. Sourced from the 3GPP document catalog — see methodology.
| Specification | Title | Release |
|---|---|---|
| TS 23.501 vk30 | 5G System Architecture | Rel-20 read |
| TS 29.500 vk00 | 5G Service Based Architecture | Rel-20 read |