Update an Amazon GameLift Servers Realtime script - Amazon GameLift Servers
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Update an Amazon GameLift Servers Realtime script

You can update the metadata for a script resource using either the Amazon GameLift Servers console or the update-script Amazon CLI command.

You can also update the script content for a script resource. Amazon GameLift Servers deploys script content to all fleet instances that use the updated script resource. When the updated script is deployed, instances use it when starting new game sessions. Game sessions that are already running at the time of the update don't use the updated script.

To update script files

  • For script files stored locally, to upload the updated script .zip file, use either the Amazon GameLift Servers console or the update-script command.

  • For script files stored in an Amazon S3 bucket, upload the updated script files to the S3 bucket. Amazon GameLift Servers periodically checks for updated script files and retrieves them directly from the S3 bucket.