Added a method to retrieve Security Group for an EC2 instance.