How to get the security group ids associated to the ec2-instance based on Private IP Address
So, want to automate process of modifying security group ingress.

eg: open port 22 on 10.0.0.10 from 10.0.0.11

> 
> I want to get the sg-xxxxxx associate to 10.0.0.10 and add ingress 
>  FromPort:22 ToPort:22 Cidr:10.0.0.11/32
> 
> 
>