f5_rs_aws_external_lb - Creates an ELB on a given AWS vpc

New in version 2.4.

Synopsis

  • Creates an ELB on a given AWS vpc

Options

parameter required default choices comments
aws_region
no us-west-2
  • any aws region
  • any aws region
aws region in which the vpc will be created
deploymentName
yes
unique name for deployment, must be firstname-first letter of last name and a 3 digit number - example yossir100
subnets
yes none
  • aws subnet in azA
  • aws subnet in azB
aws subnets in which ELB will be available
vs_port
no 443
  • 444
  • *
the listener on the ELB, default is 443. default health check is HTTPS

Examples

Deploy:

ansible-playbook –vault-password-file ~/.vault_pass.txt playbooks/aws_external_elb_deploy.yaml -e “deploymentName=yossir100 service_name=App1 aws_region=”$(etcdctl get f5-rs-aws-net/yossir100/aws_region)” vpc=”$(etcdctl get f5-rs-aws-net/yossir100/vpc)” subnets=”$(etcdctl get f5-rs-aws-net/yossir100/subnets)”“

Destroy:

ansible-playbook –vault-password-file ~/.vault_pass.txt playbooks/aws_external_elb_deploy.yaml -e “deploymentName=yossir100 service_name=App1 aws_region=”$(etcdctl get f5-rs-aws-net/yossir100/aws_region)” vpc=”$(etcdctl get f5-rs-aws-net/yossir100/vpc)” subnets=”$(etcdctl get f5-rs-aws-net/yossir100/subnets)” state=absent”

Return Values

Return values are stored in the following etcd path:

f5_rs_aws_external_lb/<deploymentName>/

name description sample
bigipELBDnsName dns name of the ELB "username-yossir100-App1-BigipElb-1130768938.us-west-2.elb.amazonaws.com"
bigipElasticLoadBalancer Id of ELB username-yossir100-App1-BigipElb
externalLBSecurityGroup Security Group for external LB of BIG-IP sg-df867ca1

Notes

Note

Status

This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.

Support

This module is community maintained without core committer oversight.

For more information on what this means please read Get help

For help developing modules, should you be so inclined, please read Getting Involved, Writing a Module and Guidelines.