404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.136.11.217: ~ $
**Example1: To create a game build from files in an S3 bucket**

The following ``create-build`` example creates a custom game build resource. It uses zipped files that are stored in an S3 location in an AWS account that you control. This example assumes that you've already created an IAM role that gives Amazon GameLift permission to access the S3 location. Since the request does not specify an operating system, the new build resource defaults to WINDOWS_2012. ::

    aws gamelift create-build \
        --storage-location file://storage-loc.json \ 
        --name MegaFrogRaceServer.NA \
        --build-version 12345.678

Contents of ``storage-loc.json``::

    {
        "Bucket":"MegaFrogRaceServer_NA_build_files"
        "Key":"MegaFrogRaceServer_build_123.zip"
        "RoleArn":"arn:aws:iam::123456789012:role/gamelift"
    }

Output:: 

    {
        "Build": {
            "BuildArn": "arn:aws:gamelift:us-west-2::build/build-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
            "BuildId": "build-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
            "CreationTime": 1496708916.18, 
            "Name": "MegaFrogRaceServer.NA", 
            "OperatingSystem": "WINDOWS_2012", 
            "SizeOnDisk": 479303, 
            "Status": "INITIALIZED", 
            "Version": "12345.678"
        },
        "StorageLocation": {
            "Bucket": "MegaFrogRaceServer_NA_build_files", 
            "Key": "MegaFrogRaceServer_build_123.zip"
        }
    }

**Example2: To create a game build resource for manually uploading files to GameLift**

The following ``create-build`` example creates a new build resource. It also gets a storage location and temporary credentials that allow you to manually upload your game build to the GameLift location in Amazon S3. Once you've successfully uploaded your build, the GameLift service validates the build and updates the new build's status. ::

    aws gamelift create-build \
        --name MegaFrogRaceServer.NA \
        --build-version 12345.678 \
        --operating-system AMAZON_LINUX

Output::

    {
        "Build": {
            "BuildArn": "arn:aws:gamelift:us-west-2::build/build-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
            "BuildId": "build-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", 
            "CreationTime": 1496708916.18, 
            "Name": "MegaFrogRaceServer.NA", 
            "OperatingSystem": "AMAZON_LINUX", 
            "SizeOnDisk": 0, 
            "Status": "INITIALIZED", 
            "Version": "12345.678"
        }, 
        "StorageLocation": {
            "Bucket": "gamelift-builds-us-west-2", 
            "Key": "123456789012/build-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
        }, 
        "UploadCredentials": {
            "AccessKeyId": "AKIAIOSFODNN7EXAMPLE", 
            "SecretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY", 
            "SessionToken": "AgoGb3JpZ2luENz...EXAMPLETOKEN=="
        }
    }

For more information, see `Upload a Custom Server Build to GameLift <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-build-cli-uploading.html>`__ in the *Amazon GameLift Developer Guide*.

Filemanager

Name Type Size Permission Actions
create-build.rst File 3.05 KB 0755
create-fleet.rst File 7.22 KB 0755
create-game-session-queue.rst File 3.74 KB 0755
delete-build.rst File 365 B 0755
delete-fleet.rst File 552 B 0755
delete-game-session-queue.rst File 251 B 0755
describe-build.rst File 981 B 0755
describe-ec2-instance-limits.rst File 817 B 0755
describe-fleet-attributes.rst File 5.1 KB 0755
describe-fleet-capacity.rst File 1.5 KB 0755
describe-fleet-events.rst File 4.15 KB 0755
describe-fleet-port-settings.rst File 922 B 0755
describe-fleet-utilization.rst File 2.44 KB 0755
describe-game-session-queues.rst File 2.07 KB 0755
describe-runtime-configuration.rst File 1.18 KB 0755
list-builds.rst File 2.89 KB 0755
list-fleets.rst File 1.77 KB 0755
request-upload-credentials.rst File 1.04 KB 0755
start-fleet-actions.rst File 490 B 0755
stop-fleet-actions.rst File 472 B 0755
update-build.rst File 1.13 KB 0755
update-game-session-queue.rst File 2.31 KB 0755
upload-build.rst File 2.16 KB 0755