2 ms·
How do you ensure you have say 2 web servers created and connected to a load balancer? Is that part of your custom module?
by apple4ever 6y ago
How do you ensure you have say 2 web servers created and connected to a load balancer? Is that part of your custom module?
- mr_C 6y agoUsing ec2_instance_info to check if the instance exists filtering by name (eg: selectattr('tags.Name', 'defined') | selectattr('tags.Name', 'equalto', server_name) ) and then standard ec2_instance module, same for lb.