Introduction To Network Load Balancer
Introduction To Network Load Balancer
Note
You cannot specify a private subnet for your public load balancer. See Public vs. Private Subnets
for more information.
Private Network Load Balancer
To isolate your network load balancer from the internet and simplify your security
posture, create a
private network load balancer. The network load balancer assigns
it a private IP address that serves as
the entry point for incoming traffic. The
network load balancer is accessible only from within the VCN
that contains the host
regional subnet, or as further restricted by your security rules.
Only private network load balancers support the ICMP protocol. The network load
balancer must also
have the Source/Destination Header (IP, Port) Preservation
feature enabled. If this feature is not
enabled, or if you are using a public
network load balancer, you can check your network load balancer's
reachability
through available listener-enabled protocols (TCP/UDP).
The network load balancer routes user traffic to the firewall instances hosted behind
network load
balancer in the Hub VCN using VCN route tables. This user traffic that
would otherwise flow from source
directly to destination. In this mode, network load
balancer does not modify the client packet
characteristics and preserves the client
source and destination IP header information. This method
enables the firewall
appliances to inspect the original client packet and apply security policies before
forwarding it to the application backend servers in the spoke VCNs.
Destination Target
Destination Target
172.16.0.0/16 DRG
Destination Target
0.0.0.0/0 IGW
Destination Target
The backend servers (compute instances) associated with a backend set can exist
anywhere, as long as
the associated network security groups (NSGs), security lists,
and route tables allow the intended traffic
flow.
If your VCN uses NSGs, you can associate your load balancer with an NSG. An NSG has a
set of security
rules that controls allowed types of inbound and outbound traffic.
The rules apply only to the resources
in the group. Contrast NSGs with a security
list, where the rules apply to all the resources in any subnet
that uses the list.
See Network Security Groups for more
information about NSGs.
If you prefer to use security lists for your VCN, the Load Balancing service can
suggest appropriate
security list rules. You also can configure them yourself
through the Networking service. See Security
Lists for more information. See Security Rules for detailed information
comparing NSGs and security
lists.
Oracle recommends that you distribute your backend servers across all availability
domains within the
region.
Private IP Address Consumption
A public network load balancer created in a public subnet consumes one private IP
address from the
host subnet.
A private network load balancer created in a single subnet consumes one private IP
address from the
host subnet.
BACKEND SERVER
Note
BACKEND SET
HEALTH CHECK
A health check is a test to confirm the availability of backend servers. A
health check can be a request
or a connection attempt. Based on a time
interval you specify, the load balancer applies the health
check policy to
continuously monitor backend servers. If a server fails the health check,
the load
balancer takes the server temporarily out of rotation. If the
server later passes the health check, the
load balancer returns it to the
rotation.
You configure your health check policy when you create a backend set. You can
configure TCP-level,
UDP-level, or HTTP-level health checks for your backend
servers.
HEALTH STATUS
An indicator that reports the general health of your
network load balancers and their components. For
more information, see Health Status for Network Load Balancers.
LISTENER
TCP
UDP
ICMP
Note
Private network load balancers only support the ICMP protocol if the
Source/Destination
Header (IP, Port) Preservation feature is enabled.
See Editing Network Load Balancer
Preservation for more
information.
5-Tuple Hash
3-Tuple Hash
2-Tuple Hash
For more information, see Network Load Balancer Policies.
SUBNET
A subdivision you define in a virtual cloud network
(VCN), such as 10.0.0.0/24 and 10.0.1.0/24. A
subnet consists of a contiguous
range of IP addresses that do not overlap with other subnets in the
VCN. For
each subnet, you specify the routing and security rules that apply to it. For
more information
on subnets, see VCNs and Subnets and Public IP Address Ranges.
TAGS
You can apply tags to your resources to help you organize them according to
your business needs.
You can apply tags at the time you create a resource,
or you can update the resource later with the
wanted tags. For general
information about applying tags, see Resource Tags.
VISIBILITY
PUBLIC
A public network load balancer has a public IP address that you can
access from the internet.
PRIVATE
A private network load balancer has a private IP address from a VCN
local subnet.
You can access the private network load balancer
using methods and technology that can provide
access to a
private IP, such as:
WORK REQUEST
Resource Identifiers
Most types of Oracle Cloud Infrastructure resources have a unique, Oracle-assigned identifier called an
Oracle Cloud ID (OCID). For information about the OCID format and other ways to identify your
resources, see Resource Identifiers.
To access the Console, you must use a supported browser. To go to the Console sign-in page, open the
navigation menu at the top of this page and click Infrastructure Console. You are prompted to enter
your cloud tenant, your user name, and your password.
Monitoring Resources
You can monitor the health, capacity, and performance of your Oracle Cloud Infrastructure resources by
using metrics, alarms, and
notifications. For more information, see Monitoring and Notifications.
For information about monitoring the traffic passing through your network load balancer,
see Network
Load Balancer Metrics.
If you’re a regular user (not an administrator) who needs to use the Oracle Cloud Infrastructure
resources that your company owns, contact your administrator to set up a user ID for you. The
administrator can confirm which compartment or compartments you should be using.
50 backend sets
50 listeners
For administrators: For a typical policy that gives access to load balancers and their components, see Let
network admins manage load balancers.
Also, be aware that a policy statement with inspect load-balancers gives the specified group the
ability to see all information about the load balancers. For more information, see Details for Load
Balancing.
If you are new to policies, see Getting Started with Policies
and Common Policies.
The 5-Tuple Hash policy provides session affinity within a given TCP or UDP session,
where packets in
the same session are directed to the same backend server behind the
flexible network load balancer.
Use a 3-Tuple or 2-Tuple network load balancing policy
to provide session affinity beyond the lifetime of
a given session.
When processing load or capacity varies among backend servers, you can refine each of
these policy
types with backend server weighting. Weighting affects the
proportion of requests directed to each
server. For example, a server weighted as 3
receives three times the number of connections as a server
weighted as 1. You assign
weights based on criteria of your choosing, such as each server's traffic-
handling
capacity. Weight values must be from 1 to 100.
The idle timeout duration for TCP flows is 6 minutes and for UDP flows is 2 minutes. You
cannot change
the idle timeout duration.
Logging
Network load balancing activities are logged through the virtual cloud network (VCN) flow
logs. See VCN
Flow Logs for more
information.
Encryption
The Network Load Balancer
service does not directly modify any traffic that it receives. Therefore, if you
want to
secure the traffic being sent through the network load balancer to the backends, you are
responsible for encrypting the applications on the backends receiving the traffic. If
you want to
incorporate SSL termination on a load balancer, use the Load Balancer
service instead.
Copyright © 2022, Oracle and/or its affiliates. About Oracle Contact Us Legal Notices Terms of Use & Privacy
Document Conventions Cookie Preferences