aws-appsync-community icon indicating copy to clipboard operation
aws-appsync-community copied to clipboard

Accessing resources in a VPC from public API

Open jbschooley opened this issue 1 year ago • 2 comments

I have RDS and OpenSearch clusters inside my VPC and want to be able to use those as data sources from my public AppSync API. I can't use a private API for this, as the API needs to be publicly accessible, and allowing public access to those resources would be a bad idea. I tried creating an interface endpoint and that did not work so I assume there isn't support for this yet. Is there a possibility that this will be added?

The current supported solution is a Lambda proxy, and long cold start times make it the wrong tool for the job.

jbschooley avatar Jun 28 '23 03:06 jbschooley

Hello

Any Updates , Having same case here , The AsyncApi behave as a Backend Proxy layer for Public S3 static website , and we need to accès some private internal apis

The lambda is not a solution as mentioned earlier by @jbschooley

Any response out of this 6 months silence will be appreciated

glc-omid avatar Jan 05 '24 14:01 glc-omid

It looks like this is being worked on, see https://github.com/aws/aws-appsync-community/issues/81#issuecomment-1684125155

As a stopgap I have been using API Gateway with IAM auth as a proxy and it has been working well enough.

jbschooley avatar Jan 05 '24 14:01 jbschooley