Not sure if this is the right forum to ask this. Please redirect me if possible.
I have a specific endpoint in my node/express application that I want to lock down to certain IPs. All the other endpoints should be open to the public.
Is this possible using EC2 security groups? Or do I need to create a separate service to just host this endpoint on a different port and restrict that port to certain IPs?