How to connect AWS RDS by using AWS Gamelift?

0

I try to do real-time game by AWS Gamelift. I don't know how to connect to AWS RDS with lambda when the game initialize to get the data of AWS RDS and save the client's data when one player sends data to other players.

1 回答
0

To read data from RDS from Lambda, you could use AWS provided libraries and methods. For instance if you are using Python boto3 would be the library that you could use. Here is some reference instructions and code that would help you read from RDS using a Lambda - https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.Connecting.Python.html

profile pictureAWS
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则