June 2012
1 post
3 tags
Getting the EC2 DNS names registered to an ELB
I wanted to get all the addresses registered to the ELB so I could work with fabric on the servers based on them being in the LoadBalancer. It’s a bit cumbersome. I ended up with this: import boto from boto import regioninfo from boto import ec2 ACCESS_KEY_ID = '*****************' SECRET_ACCESS_KEY = '*************' elb_region = boto.regioninfo.RegionInfo( ...
Jun 9th
2 notes