How to Restrict API Endpoints for Game Servers in Gamelift only?


Hi, I am developing a game and is curious to know how I can restrict the CRUD api requests to be originating from my Gamelift servers only. In other words, how can I restrict the IP addresses that can use the api endpoints that trigger lambda be from a particular IP range that AWS has? Any idea would be highly appreciated.

1 Answer


You can create a private API Gateway connection with the VPC of Gamelift or even if you are not using APi Gateway, you can try a more direct integration with Lambda VPC endpoints.

Hope it helps,

profile picture
answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions