If you have your script files stored locally, you can upload them to Amazon GameLift Servers from there.
To create the script resource, use either the Amazon GameLift Servers console or the AWS Command Line Interface (AWS CLI)
To create a script resource
-
Open the Amazon GameLift Servers console
. -
In the navigation pane, choose Hosting, Scripts.
-
On the Scripts page, choose Create script.
-
On the Create script page, under Script settings, do the following:
-
For Name, enter a script name.
-
(Optional) For Version, enter version information. Because you can update the content of a script, version data can be helpful in tracking updates.
-
For Script source, choose Upload a .zip file.
-
For Script files, choose Choose file, browse for the .zip file that contains your script, and then choose that file.
-
-
(Optional) Under Tags, add tags to the script by entering Key and Value pairs.
-
Choose Create.
Amazon GameLift Servers assigns an ID to the new script and uploads the designated .zip file. You can view the new script, including its status, on the Scripts page.