本文介绍了使用 EC2 作为代理连接到 Aurora Serverless的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不是 AWS Aurora MySQL serverless 的副本:如何从 MySQL Workbench 连接.

Aurora Serverless 尚不支持公共连接.

Aurora Serverless doesn't support public connections yet.

我使用 Cloud9 在与数据库相同的 VPN 上创建了一个 EC2 实例.然后我从 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.

我尝试托管的(GraphQL Prisma)服务(在 Zeit Now 上)只需要一个主机和一个密码进行配置.

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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-10 07:07