python-boto3 playground for bot3 examples Run the resource.py to get the ec2 details such as publidns,id,state.