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 réponse
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
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions