允许Lambda访问当地的帆DB环境
我有一个在AWS中运行的lambda函数,我想接管该功能的输出并将其写入数据库。我还没有准备好部署,它将在其中写入RDS实例,大概是很难完成的。在当地,我正在使用Laravel Sail,我希望能够将结果写入那里的数据库。
那是可能的,我该怎么做?我会更好地抓住结果,手动从AWS手动出现并在开发过程中将它们放在当地的DB中吗?这不是理想的,但是如果暴露我的本地数据库将是某种巨大的努力,那将有效。
I have a lambda function running in AWS and I want to take the output of that function and write it to a database. I'm not quite ready to deploy yet, where it would be writing to an RDS instance and presumably would be trivial to accomplish. Locally I'm using Laravel Sail and I'd like to be able to write the results to the database there.
Is that possible, and how would I do it? Would I be better off just grabbing the results and manually out of AWS and putting them in my local DB while developing? It's not ideal, but it would work if exposing my local db would be some kind of massive endeavor.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
仅当您想以某种方式将本地数据库公开您的本地数据库。它可能需要在您家的互联网路由器中转发一些端口。
是的。
Only if you want to expose your local database on the public Internet somehow. It might require some port forwarding in your home's internet router.
Yes absoutely.