问题描述
不是。
Aurora Serverless还不支持公共连接。
Aurora Serverless doesn't support public connections yet.
我使用Cloud9在服务器上创建EC2实例。与数据库相同的VPN。然后,我从Cloud9终端连接到数据库。
I used Cloud9 to create an EC2 instance on the same VPN as the database. I then connected to the database from the Cloud9 terminal.
我试图托管(在Zeit Now上)的我的(GraphQL Prisma)服务只需要一个HOST和一个配置密码。
My (GraphQL Prisma) service that I'm attempting to host (on Zeit Now) only takes a HOST and a PASSWORD for configuration.
如何使EC2实例充当代理,我可以将其完全视为数据库端点。隧道可以完全做到这一点,我对此很不好吗?
How can I make the EC2 instance act as a proxy that I can treat exactly as a database endpoint. Can tunneling fully do that and I'm just bad at it?
推荐答案
我认为这可能会对您有所帮助。想法是将转发端口从ec2-dns:3306转换为aurora-serverless-cluster-dns:3306
I think this blog may help you. The idea, is make a forwarding port from ec2-dns:3306 to aurora-serverless-cluster-dns:3306
这篇关于使用EC2作为代理连接到Aurora Serverless的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!