NSX-T LB ToI-v3.1-v1.0 - Public
NSX-T LB ToI-v3.1-v1.0 - Public
1
Agenda
4 Demo
5 Key Takeaways
6 Q&A
2
NSX-T Insert Cookie Security
Cookie “httponly” and “secure” options
Feature
Server Pool
S Cookie Protection:
3
Load Balancing NTLM Applications
Updated UI/API configuration: “Server Keep-Alive”
Feature
Updated UI/API
Benefit
More generic option
Enable Server Keep-Alive
(previously called “NTLM Authentication”)
4
LB Diagnosis
New CLI command
5
Agenda
4 Demo
5 Key Takeaways
6 Q&A
6
Main LB benefits
Server Pool
- Scale out
- High Availability
Server Pool
7
Layer4 and Layer7 Load Balancing
Virtual Server
20.20.20.20:80 Server
Pool
Pool
Virtual Server
30.30.30.30:80 www
8
Load Balancer Edge Node
VM or BM
Tier-1 Tier-1
Monitor1 Monitor2
9
Load Balancing Supported Topologies (1/2)
LB InLine Deployment
Overlay
Overlay Overlay VLAN or VLAN
1 1 1 1 2 2
S S C C C S S C C
Note: VIP can be placed in any subnet:
C
• Linked-segment (Downlink) or Service
Server Pool Server Pool Interface (CSP)
• A new dedicated network as a loopback
interface
• T0 uplink subnet 10
Deployment Modes (2/2)
LB OneArm Deployments
Tier-0 Tier-0
LB-SNAT always required
Physical T1+LB
Tier-1 Tier-1
Router Note: VIP can be placed in any subnet:
Overlay
or VLAN VLAN • Service Interface (CSP)
• A new dedicated network as a loopback
S
interface (require manual routing
S S S S S
advertisement)
Server Pool Server Pool Server Pool
T1+LB T1+LB
11
Basic Load Balancer Workflow
Add Load Balancing into an existing NSX-T
0. Network Topology and App
http://vip1/finance/page.html C
Tier-0
Pool 3
Pool-Finance
S S
Finance-Web
12
Features (1/3) Load Balancer Service (LBS)
Fast-TCP
Protocols IPv4 and IPv6 Application Client-SSL
What applications type can be TCP, UDP with multiple port range support Fast-UDP Profile Profile
load balanced.
HTTP, HTTPS
Note: WebSocket also supported. HTTP
Virtual Server
LB Method Round-Robin, Weighted_RR, Server-SSL
How end-users connections are Least-Connection, Weighted_LC, Profile
split across back-end servers. Source-IP
IP-Hash Persistence
Profile
Cookie
Pools Static
How backend servers are Dynamic (NSGroup) Generic
configured. LB Rules
SNAT
Persistence Source-IP
How LB guaranties a specific user Cookie (Insert, Prefix, Rewrite)
sticks to the same pool member. Pool Members Pool
Generic
13
Features (2/3) Load Balancer Service (LBS)
Fast-TCP
L7 LB Rules Rules with Regex support Application Client-SSL
Option to allow LB to manipulate (For instance: Host load balancing, URL block, url rewrite, Fast-UDP Profile Profile
client requests and/or server response header rewrite, etc)
responses.
HTTP
Virtual Server
L7 Acceleration TCP multiplexing
How LB off loads pool members. (LB gather all different clients web requests in the same Server-SSL
persistence pool members TCP connections. Works for Profile
HTTP and HTTPS) Source-IP Persistence
Profile
SSL SSL Offload Cookie
How HTTPS traffic is load (LB terminates HTTPS and talk HTTP to server)
balanced. Generic LB Rules
SSL End-to-End
(LB terminates HTTPS and talk HTTPS to server) SNAT
SSL Passthrough
(LB does not terminate HTTPS and talk HTTPS to server) Pool Members Pool
SNI support
(LB presents different certificates to client based on host
name presented by client)
Active Passive
Client Certificate authentication Monitor Monitor
(LB asks and validates client cert)
HTTP ICMP
FIPS compliance, pre-defined cipher lists,
SSLv3 support HTTPS TCP UDP
14
Features (3/3) Load Balancer Service (LBS)
Fast-TCP
Connection Client side: Application Client-SSL
Throttling . Max conc. connections Fast-UDP Profile Profile
How LB protects VIPs + pool . Max new conn / sec
members against excessive load. HTTP
Server side: Virtual Server
. Max conc. Connections
Server-SSL
Profile
High Availability L4 Flow State
Source-IP Persistence
What active LB synchronizes to Source-IP Persistence State
standby LB. Profile
Healthcheck State Cookie
HTTP ICMP
HTTPS TCP UDP
15
Agenda
4 Demo
5 Key Takeaways
6 Q&A
16
HTTPS Load Balancing (1/5)
3 modes (1/2)
S • Security:
VIP L7 Traffic is fully encrypted from the Client up to
HTTPS:443 the LB.
• Performance:
Traffic is decrypted / encrypted only once.
HTTPS End-to-End SSL LB decrypts
and re-encrypts before
forwarding Server Pool
S • HTTPS End-to-End SSL
Best security, and LB flexibility.
HTTPS HTTPS
S
• Security:
Traffic end to end encrypted.
S • Performance:
VIP L7
This mode has lower performance with traffic
HTTPS:443
decrypted/encrypted twice.
17
HTTPS Load Balancing (2/5)
3 modes (2/2)
18
HTTPS Load Balancing (3/5)
HTTPS Client Authentication
3 Request to Server
19
HTTPS Load Balancing (4/5)
Auto Certificate Selection based on SNI
https://blog.xyz.com
https://www.xyz.com
20
HTTPS Load Balancing (5/5)
Built-in SSL Profile
21
LB Rules Packet Flow
Modifying or acting upon HTTP request or response
VIP S
L4 or L7
Sorry Server
S Pool Pool2
23
Flexibility in Deployments (2/4)
Backup Members
VIP S
L4 or L7
S
backup
S
backup
Server
Pool
24
Flexibility in Deployments (3/4)
Connection Throttling / Connection Rating
VIP S
L4 or L7
25
Flexibility in Deployments (4/4)
Connection Throttling / Connection Rating
VIP S
L4 or L7
26
High-Availability (1/2)
High-Availability of Applications
LB periodically sends a health monitor message to LB passively observes server responses to detect
pool members failures
Supported health monitor types Failure detection methods
• ICMP, TCP/UDP, HTTP, HTTPS • TCP connection errors
• ICMP unreachable messages
Server Pool • SSL connection errors Server
1 LB Monitor
Probe S S Pool
SYN
SYN
S S
2 Pool Member
Response S RST S
VIP
VIP
L4 or L7
L4 or L7
27
High-Availability (2/2)
High-Availability of Load Balancers
Edge Cluster
28
Agenda
4 Demo
5 Key Takeaways
6 Q&A
29
Demo1
Full creation of LB + Services via UI
2. Attach to a Tier-1 LR
3
5. Attach to the Load Balancer
Pool
Web1 Web2
30
Demo1
Full creation of LB + Services via UI
31
Demo2
Full creation of LB + Services via API
2. Attach to a Tier-1 LR
3
5. Attach to the Load Balancer
Pool
Web1 Web2
32
Demo2
Full creation of LB + Services via API
33
Agenda
4 Demo
5 Key Takeaways
6 Q&A
34
NSX Load Balancer
Software-defined Load Balancer Comprehensive Load Balancing Integral part of NSX platform
feature set
Centralized management Cloud management platform
• API / GUI / CLI Layer4 and Layer7 LB • vRealize Automation (vRA)
• TCP/UDP/HTTP/HTTPS • OpenStack (VIO)
Full life cycle management
• L7 LB Rules
Cloud-native integration
Deploy LB instances on demand Persistence • Pivotal Container Service (PKS)
• Source IP and cookie • OpenShift
SSL termination
• Offload and proxy
• TLS mutual authentication
Health monitoring
35
Key Takeaways
36
Agenda
4 Demo
5 Key Takeaways
6 Q&A
37
Q&A
38