Search code examples
amazon-web-servicescidr

Setting CIDR/IP so anyone can access it from any IP?


How do you set a CIDR/IP so anyone can access it from anywhere? I'm trying to make my AWS RDS DB instance accessible from anywhere as my ISP doesn't give me a static IP. Everytime my IP changes I have to go change the security record.


Solution

  • 0.0.0.0/0 does the trick on the EC2 firewall settings

    A CIDR defines a range of IP addresses. In the CIDR notation above, /0 is saying "every possible IP".

    I like using http://cidr.xyz/ to visualize the range of addresses.