f5_rs_aws_bigip - deploys bigip in AWS using CFT

New in version 2.4.

Synopsis

  • deploys bigip in AWS using CFT, currently supports only the WAF-autoscale CFT

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
expecting two subnets in the format of {subnet1, subnet2}
service_name
yes app1
  • app1
  • up to 6 letters
service name for identification
vpc
yes none
  • vpc-isdfr
vpc in which bigip's will be deployed
bigipElasticLoadBalancer
yes none
  • elb-name-dsfsd
ELB for scaling out the bigip's

Examples

Deploy:

ansible-playbook –vault-password-file ~/.vault_pass.txt playbooks/aws_bigip_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)” bigipElasticLoadBalancer=”$(etcdctl get f5-rs-aws-external-lb/yossir100/bigipElasticLoadBalancer)” applicationPoolTagValue=”$(etcdctl get f5-rs-aws-app/yossir100/appAutoscaleGroupName)”“

Destroy:

ansible-playbook –vault-password-file ~/.vault_pass.txt playbooks/aws_bigip_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)” bigipElasticLoadBalancer=”$(etcdctl get f5-rs-aws-external-lb/yossir100/bigipElasticLoadBalancer)” applicationPoolTagValue=”$(etcdctl get f5-rs-aws-app/yossir100/appAutoscaleGroupName)” state=absent”

Return Values

Return values are stored in the following etcd path:

f5_rs_aws_app/<deploymentName>/

name description sample
appAutoscaleGroupName auto scale group name of the app in EC2 "yossir-demo1-App1-application-appAutoscaleGroup-SXQKA5PH9TI"
appInternalDnsName internal DNS name of the ELB fronting the app internal-demo1-App1-AppElb-1123840165.us-west-2.elb.amazonaws.comb
appInternalElasticLoadBalancer Id of ELB for App Pool demo1-App1-AppElb

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.