I want to set the security groups for the web server running in aws instance.My website should be accessible to through http/https. But file modification access to be set to particular IP address.I am currently connected to a Wifi router, and as I know IP that my PC assigned changes everytime.

Can someone please guide me on how to get a static IP address that I can allow access to my website.Thanks in advance.