Managing your networks and subnets
Creating a new Load Balancer
- CLI
- UI
Use the networking load-balancers create command to create a new load balancer. The --protocol flag accepts tcp or udp.
crusoe networking load-balancers create \
--name my-new-lb \
--location us-east1-a \
--vpc-network-id <uuid-of-vpc-network> \
--protocol tcp \
--listener 80,172.1.1.1:80,172.1.1.2:80
To create a load balancer via the console:
- From the console, select Networking > Load Balancers in the left nav.
- Click Create Load Balancer.
- Input a name, location, VPC network, listen port(s), and other required fields for the load balancer.
- Click Create Load Balancer.