My Config is a single EC2 instance. I'm new to aws and inherited this architecture. We want to create an endpoint that will be accessible only from the office (specific IP).
What is the best way to achieve that?
is there a vpc / security group rule that will block a certain endpoint regex?
for example
allow traffic to */sensative_endpoint/* only from 84.100.*.*
for all rest of the endpoints - allow from all ips
thanks.