Better Code AWS AutoScalingGroup
This role creates a AWS AutoScalingGroup and a ElasticLoadBalancer. The ASG will start a Docker image of your choice.
This role does not use CloudFormation.
See betrcode.aws_cloudformation_asg
for another role
where CloudFormation is used.
AWS credentials.
Packages:
- boto3
TODO:
Not dependent on any other role.
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: localhost
connection: local
gather_facts: yes # needed for ansible_date_time
roles:
- role: betrcode.aws_asg
docker_image: "nginx:latest"
MIT
Max Wenzin, partner at Crisp