views:

60

answers:

1

hello..

i need to run an instance and access with my ip address..but the problem is that myISP changes my IP adress every day.plz help me how do i create a security group so that my instance remains accessible even if my ip changes....

thanks in advance..

+1  A: 

You can use a Source CIDR of 0.0.0.0/0 to allow universal access.

You could restrict it to your ISP's address space by looking up their allocations or just monitoring what IP addresses you end up with.

To do it properly and restrict access to a single IP dynamic address you could write an application that monitors your public IP address and when it changes call the EC2 API AuthorizeSecurityGroupIngress method and delete the old address with RevokeSecurityGroupIngress.

sipwiz