Skip to main content
2 of 2
I changed the title to reflect that you seem interested in limiting access to your EC2 instances, regardless of how it may be done
Alexandre
  • 2k
  • 14
  • 24

How to only allow API Gateway requests to reach our EC2 instances

We have multiple EC2 instances hosting our micro-services. The autoscaling group of servers has an ELB. All traffic is routed via the AWS API Gateway. The problem is that the ELB has its HTTPS port open to the world.

How to protect our servers, so that traffic is only allowed to pass through API Gateway?

Evgeny Zislis
  • 9k
  • 5
  • 38
  • 72