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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ