February 2018
Intermediate to advanced
200 pages
5h 51m
English
- name: create a load balancer shell: doctl compute load-balancer create --name lb1 --region blr1 --droplet-ids {{ app_droplet.droplet.id }} --forwarding-rules {{ forwarding_rules }} --health-check {{ health_check }} -t {{ DO_OAUTH_TOKEN }}
A load balancer can support a lot of options, but we have used the bare minimum to make it easier to understand. The name and region parameters specify the name and region of the load balancer. The name has to be unique and the region must be the same as the droplets. The droplet-ids parameter can take a comma-separated list of droplet IDs. We can ...
Read now
Unlock full access