Manage load balancers using libcloud
codeauthor: Anthony Shaw <[email protected]>
Apache Libcloud load balancer management for a full list of supported clouds, see http://libcloud.readthedocs.io/en/latest/loadbalancer/supported_providers.html
Clouds include Amazon ELB, ALB, Google, Aliyun, CloudStack, Softlayer
New in version 2018.3.0.
| configuration: |
This module uses a configuration profile for one or multiple Cloud providers libcloud_loadbalancer:
profile_test1:
driver: gce
key: GOOG0123456789ABCXYZ
secret: mysecret
profile_test2:
driver: alb
key: 12345
secret: mysecret
|
|---|
Example:
Using States to deploy a load balancer with extended arguments to specify region
lb_test:
libcloud_loadbalancer.balancer_present:
- name: example
- port: 80
- protocol: http
- profile: google
- ex_region: us-east1 | depends: | apache-libcloud |
|---|
Ensures a load balancer is absent.
| Parameters: |
|
|---|
Ensures a load balancer is present.
| Parameters: |
|
|---|
Ensure a load balancer member is absent, based on IP and Port
| Parameters: |
|
|---|
Ensure a load balancer member is present
| Parameters: |
|
|---|
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/states/all/salt.states.libcloud_loadbalancer.html