To use this guide, you need a SpinUp account and access to the Control Panel.
In the main Navigation panel, select Load Balancers, then click Create a new Load Balancer at the top of the Load Balancer list.
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.
Pick a Load Balancer name and region
Start by providing 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.
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. In most cases, you should use the default port for the application or service you plan to use.
In the Nodes section, pick from one of the following actions to put a node behind 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. 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 a SpinUp Cloud Server in any other region, or a server hosted elsewhere on the public internet. This option 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.