aws / aws-appsync-community

The AWS AppSync community
https://aws.amazon.com/appsync
Apache License 2.0
506 stars 32 forks source link

Accessing resources in a VPC from public API #302

Open jbschooley opened 1 year ago

jbschooley commented 1 year ago

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.

glc-omid commented 8 months ago

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

jbschooley commented 8 months ago

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.