[英]What is the Best way to Expose Data from an AWS RDS Mysql DB?
I currently have a mysql database on AWS RDS. 我目前在AWS RDS上具有mysql数据库。
I am in need of accessing and looking up information on a daily basis of the data in that database via an external CRM. 我需要每天通过外部CRM访问和查询该数据库中数据的信息。
In an ideal scenario, I could create an API on Lambda that would have access to the RDS instance and have that be my front facing API that my CRM API could hit up and lookup and work with my mysql data. 在理想的情况下,我可以在Lambda上创建一个API,该API可以访问RDS实例,并且可以作为我的CRM API可以访问并查找并使用mysql数据的前端API。
My question is... is this the best way to do it? 我的问题是...这是最好的方法吗? Is there some sort of service out there that facilitates me creating an API or do I need to create an API from scratch... 是否有某种服务可以帮助我创建API,还是需要从头开始创建API?
Any suggestions? 有什么建议么? Thanks a bunch! 谢谢一群!
You will have to create your own AWS Lambda app, but there is a framework - the Serverless Framework which will make the whole endeavour much easier! 您将必须创建自己的AWS Lambda应用程序,但是这里有一个框架- 无服务器框架 ,这将使整个工作变得更加容易!
This Tutorial on Accessing RDS from AWS Lambda might help as well. 从AWS Lambda访问RDS的本教程也可能会有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.