I have a couple of microservices running on EC2.
My intention is to use the AWS API gateway to allow internet access to the EC2 APIs.
Incoming Traffic is:
internet -> API Gateway -> EC2-server
I am planning to use a geedy HTTP Proxy on AWS Gateway. But I have 2 problems:
A) How can I address the EC2 in the "URL Endpoint" in the method integration? Can I somehow use the AWS private IP?
B) How do I configure the EC2 security group to allow an API gateway request into the EC2?