To use this guide, you need a SpinUp account and access to the Control Panel.
In the main Navigation panel, select Load Balancers and click Create a new Load Balancer at the top of the Load Balancer list as shown in the image:
Alternately, you can go directly to the Load Balancer creation page at any time by clicking Create at the top right of the Control Panel and selecting Load Balancer.
Creating a Load Balancer
Perform the following steps to create a new Load Balancer in your current project.
Step 1: Pick a Load Balancer name and region
The Create Load Balancer page presents several options as shown in the following image:
Provide a name for your new Load Balancer instance, or accept the default value. Next, pick a data center region. Remember that to optimize performance and to make use of the Data Center Network, the Load Balancer and the nodes behind it should be in the same region.
Step 2: Configure basic settings
Choose one of the following two options for how the virtual IP address is assigned:
- Internet: Makes the Load Balancer IP address accessible from the public internet. Note: Nodes might still connect to the Load Balancer over public or Data Center Network IP addresses depending on your setup.
- Internal: Makes the Load Balancer IP address accessible only on the Data Center Network, which means that nodes must connect over the Data Center Network.
Your Load Balancer serves traffic for one protocol, which you can select from the dropdown of supported options. For the full explanation of supported Load Balancer protocols, see the SpinUp list of supported protocols
Based on the protocol that you want to use, set the port value to the desired port number where the node receives traffic, or accept the default port number for your selected protocol.
Step 3: Add nodes (optional)
In the Nodes section, pick from the dropdown to add either SpinUp Cloud Servers or external nodes to your Load Balancer:
- ADD CLOUD SERVER: Use this option to select one of your servers in the same region as the load balancer. After the list of available Cloud Servers displays, select one or multiple nodes and click ADD when finished. If the node and load balancer are in the same region, this automatically configures the load balancer to send traffic to the node over the Data Center Network for optimal performance.
- ADD EXTERNAL NODE: Select this option to add any other server or device hosted elsewhere on the public internet. This option automatically configures the load balancer to send traffic to the node over the public internet. Note that associated bandwidth charges might apply.
Build your load balancer instance
If the summary section looks good, you’re ready to click SPINUP LOAD BALANCER and complete the build for your instance. After the status changes from building to active, then your nodes can receive traffic.
On the Details page for your Load Balancer, you can change any of these basic settings or configure more advanced features to fine-tune the behavior of your instance and the nodes behind it.