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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠