5G Core Network - Service-Based Architecture (SBA)
Most 5G engineers understand the RAN.
Very few can explain what happens
AFTER the signal reaches the core. 
The 5G Core is where the real
intelligence lives.
Here’s the complete breakdown 
━━━━━━━━━━━━━━━━━━━━━━
FIRST — WHY 5G CORE IS DIFFERENT:
4G Core (EPC):
→ Monolithic architecture
→ Hardware-based NFs
→ Difficult to scale
→ Vendor lock-in
5G Core (5GC):
→ Service-Based Architecture
→ Cloud-native microservices
→ Scale any NF independently
→ RESTful APIs everywhere
One architectural decision
changed everything. 
━━━━━━━━━━━━━━━━━━━━━━
THE GOLDEN PRINCIPLE:
Every Network Function (NF)
exposes its services via
ONE common bus:
SBI — Service Based Interface
(RESTful APIs / HTTP/2 / JSON)
Think of it as:
“AWS API Gateway
but for your mobile network”
Any NF can talk to any NF.
No hardcoded connections.
Pure microservices. 
━━━━━━━━━━━━━━━━━━━━━━
THE 10 NETWORK FUNCTIONS:
━━━━━━━━━━━━━━━━━━━━━━
AMF — Namf
Access & Mobility Management
The “front door” of 5GC.
Every UE connects through AMF.
Responsibilities:
→ UE registration & authentication
→ Mobility management
→ Connection management
→ NAS signaling termination
→ Slice selection coordination
Interfaces: N1 (UE), N2 (gNodeB)
━━━━━━━━━━━━━━━━━━━━━━
SMF — Nsmf
Session Management Function
The “traffic controller” of 5GC.
Responsibilities:
→ PDU session establishment
→ IP address allocation
→ UPF selection & control
→ QoS policy enforcement
→ Charging triggers
Key interface: N4 to UPF (PFCP)
━━━━━━━━━━━━━━━━━━━━━━
PCF — Npcf
Policy Control Function
The “rule maker” of 5GC.
Responsibilities:
→ QoS policy decisions
→ Charging rules
→ Network slicing policies
→ Service data flow rules
━━━━━━━━━━━━━━━━━━━━━━
UDM — Nudm
Unified Data Management
The “subscriber database” of 5GC.
Responsibilities:
→ Subscriber profile storage
→ Authentication credentials
→ Access authorization
→ Registration management
Works with: UDR (data storage)
━━━━━━━━━━━━━━━━━━━━━━
AUSF — Nausf
Authentication Server Function
The “security guard” of 5GC.
Responsibilities:
→ UE authentication (5G-AKA)
→ EAP-AKA’ procedures
→ Security key generation
→ Authentication confirmation
━━━━━━━━━━━━━━━━━━━━━━
NRF — Nnrf
Network Repository Function
The “yellow pages” of 5GC.
Responsibilities:
→ NF registration & discovery
→ NF profile management
→ Service authorization
→ NF status monitoring
Every NF registers HERE first.
━━━━━━━━━━━━━━━━━━━━━━
NSSF — Nnssf
Network Slice Selection Function
The “slice router” of 5GC.
Responsibilities:
→ Network slice selection
→ S-NSSAI management
→ AMF set selection
→ Slice availability info
LinkedIn: 