NF Set ID and NF Region ID Explained: 5G Core Identifiers and Failover
The four identifiers every 5G network function carries, how NF Sets, binding indications and the SCP make failover work, and where AMF Region and Set IDs appear.
Browse all articles
A 5G network function carries more identifiers than most engineers expect. There is the NF Instance ID, the NF Set ID, sometimes an NF Region, and an FQDN on top of all of it. It looks redundant until you try to make a core survive an instance failure. This Solex Network Solutions article explains what each identifier is for, how NF Sets work with the NRF and the SCP, and what changed in recent 3GPP releases.
NF Instance ID
The NF Instance ID is a UUID. It identifies exactly one running instance of a network function, globally and unambiguously, for as long as that instance exists. When an AMF registers with the NRF (an HTTP PUT to /nnrf-nfm/v1/nf-instances/{nfInstanceId}), this is the primary key of its profile. Nothing else identifies the instance itself.
If the instance restarts with a fresh identity, it is a new instance as far as the NRF and every peer is concerned. That is the point - it is deliberately narrow.
NF Set ID
Here is the problem the Instance ID cannot solve. A UE is registered on AMF-1. AMF-1 dies. The UE's context - its security keys, its registration state, its active PDU sessions - was held by AMF-1. If nothing else knows about that context, the UE has to register again from scratch, and so does every other UE on that AMF.
An NF Set is a group of NF instances that are interchangeable for exactly this reason. Members of a set share access to the same context, usually through a shared storage layer such as the UDSF (or the vendor's own data layer), so any member can take over a UE from any other. The NF Set ID names that group.
So when an SMF wants to reach the AMF serving a UE, it does not have to hold the specific instance. It can address the set, and any healthy member answers.
The format is structured rather than a UUID:
set<Set ID>.<nftype>set.5gc.mnc<MNC>.mcc<MCC>
for example: set1.amfset.5gc.mnc010.mcc404
Binding: telling the peer where the context lives
Since Release 16, a consumer and producer can exchange binding indications in the 3gpp-Sbi-Binding HTTP header. A binding says "for this context, you may use this instance, or any instance of this set". When the preferred instance fails, the consumer re-selects another instance of the same set - by asking the NRF with target-nf-set-id, or by letting the SCP do it - instead of starting over.
NF Region ID and AMF identifiers
Region groups sets geographically. A large operator does not run one flat pool of AMFs across a country; it runs regional pools, and traffic should stay inside its region unless something has gone wrong. The Region ID lets discovery and selection prefer local instances, and lets you reason about failover domains that match your actual data-centre topology.
For the AMF this is visible in the GUAMI and 5G-GUTI the UE carries: AMF Region ID, AMF Set ID and AMF Pointer. When a UE comes back with its 5G-GUTI, the gNB can route it to any AMF in the right set even if the original AMF is gone.
You will not see a region in every deployment. Small cores and private networks often skip it, because with two data centres there is nothing to region.
NF FQDN
The FQDN is the addressable name. Instance, Set and Region are identity; the FQDN is how you actually open a connection. In a well-built core the FQDN resolves through DNS to whichever instances are currently healthy, which is why the FQDN and the Set ID are usually aligned.
Where the SCP fits
With indirect communication (Release 16 onward), consumers send requests to a Service Communication Proxy (SCP) instead of directly to producers. The SCP performs discovery with the NRF, load-balances across a set, applies the binding, and re-selects on failure. NF Sets are what make this work: the SCP needs to know which instances are interchangeable.
Putting it together
Think of it as five questions:
- Which running process is this? NF Instance ID
- Who else can do this job for the same UE? NF Set ID
- Where in the network is this pool? NF Region ID (AMF Region ID for AMFs)
- How do I connect to it? NF FQDN
- Which instance or set should I come back to for this context? Binding indication
Miss the Set ID and your core is a collection of single points of failure with a service-based interface bolted on. That is the whole reason it exists.
NRF registration, discovery and NF Set failover are demonstrated on our live core in the Solex Network Solutions 5G Core (SA) course.
Learn this hands-on
5G Core (SA) - Architecture, SBI and Call Flows
The service-based 5G core end to end: AMF, SMF, UPF, NRF, AUSF, UDM and PCF, the HTTP/2 interfaces that join them, and every procedure from registration to session release.



Discussion
No comments yet. Start the discussion - questions are welcome.
Leave a comment