Upgrading gamelift to AMAZON_LINUX_2023 failed.


My fleet was running on Amazon AL1 and I want to upgrade it to AMAZON_LINUX_2023.

I tried to change building fleet with "--operating-system AMAZON_LINUX_2023" but I got:

"An error occurred (InvalidRequestException) when calling the CreateBuild operation: The Amazon Linux 2023 operating system is not supported with GameLift SDK version under 5.0."

I built the window's dll and linux's sh plugin with GameLiftServerSDK-5.1.1. What else do I need to do to upgraded this to AMAZON_LINUX_2023?

asked 2 months ago122 views
3 Answers


As conveyed by Jackson , CreateBuild API has request parameters 'OperatingSystem' and 'ServerSdkVersion' to specify the operating system that your game server binaries run on and a server SDK version you used when integrating your game server build with Amazon GameLift.

Please note that, by default Amazon GameLift sets the value of ServerSdkVersion to 4.0.2. Though, the OperatingSystem parameter has no default value. You can't change a build's operating system later.

> CreateBuild - https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateBuild.html#gamelift-CreateBuild-request-ServerSdkVersion

CreateBuild operation requires build files that are in an Amazon S3 location under an AWS account that you control.

The 'file not found error' you are later receiving can be due to inaccurate S3 object location or no access to the S3 resources for the IAM role attached to GameLift service.

The UploadBuild call creates a new build record in Amazon GameLift and uploads files from a location that you specify.

> Upload a custom server build - https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-build-cli-uploading.html

If you face any issues, please do update it here so that we can help you resolve it.

Hope this helps.

answered 2 months ago

No that's the problem. When i set linux 2023 and sdk 5.1.1 property in create build it gave me " file not found" error instead

Have to use Linux_2 instead, or I can't create builds.

answered 2 months ago
  • "File not found" is a different error and a different problem. Are you using create-build or upload-build? CreateBuild requires you to provide an accurate S3 object location in your account as well as a GameLift service IAM role to access said S3 resources. UploadBuild requires you to provide an accurate path to the directory you wish to upload.


The CreateBuild API has a property for specifying which version of the Amazon GameLift server SDK you are using: https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateBuild.html#gamelift-CreateBuild-request-ServerSdkVersion

Hope that helps!

answered 2 months 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