Upgrading gamelift to AMAZON_LINUX_2023 failed.

0

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?

질문됨 8달 전231회 조회
3개 답변
1

Hello,

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.

AWS
답변함 7달 전
0

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.

답변함 7달 전
  • "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.

0

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!

AWS
답변함 7달 전

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

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

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

관련 콘텐츠