working ec2_selectregion_sg2.py