AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Creates a new fleet to run your game servers. A fleet is a set of Amazon Elastic Compute Cloud (Amazon EC2) instances, each of which can run multiple server processes to host game sessions. You set up a fleet to use instances with certain hardware specifications (see Amazon EC2 Instance Types for more information), and deploy your game build to run on each instance.
To create a new fleet, you must specify the following: (1) a fleet name, (2) the build ID of a successfully uploaded game build, (3) an EC2 instance type, and (4) a run-time configuration, which describes the server processes to run on each instance in the fleet. If you don't specify a fleet type (on-demand or spot), the new fleet uses on-demand instances by default.
You can also configure the new fleet with the following settings:
Access permissions for inbound traffic
Fleet-wide game session protection
Resource usage limits
VPC peering connection (see VPC Peering with Amazon GameLift Fleets)
If you use Amazon CloudWatch for metrics, you can add the new fleet to a metric group. By adding multiple fleets to a metric group, you can view aggregated metrics for all the fleets in the group.
CreateFleet call is successful, Amazon GameLift performs the following
tasks. You can track the process of a fleet by checking the fleet status or by monitoring
fleet creation events:
Creates a fleet record. Status:
Begins writing events to the fleet event log, which can be accessed in the Amazon GameLift console.
Sets the fleet's target capacity to 1 (desired instances), which triggers Amazon GameLift to start one new EC2 instance.
Downloads the game build to the new instance and installs it. Statuses:
Starts launching server processes on the instance. If the fleet is configured to run
multiple server processes per instance, Amazon GameLift staggers each launch by a
few seconds. Status:
Sets the fleet's status to
ACTIVE as soon as one server process is ready
to host a game session.
Fleet-related operations include:
Manage fleet actions:
For .NET Core and PCL this operation is only available in asynchronous form. Please refer to CreateFleetAsync.
public virtual CreateFleetResponse CreateFleet( CreateFleetRequest request )
Container for the necessary parameters to execute the CreateFleet service method.
|ConflictException||The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.|
|InternalServiceException||The service encountered an unrecoverable internal failure while processing the request. Clients can retry such requests immediately or after a waiting period.|
|InvalidRequestException||One or more parameter values in the request are invalid. Correct the invalid parameter values before retrying.|
|LimitExceededException||The requested operation would cause the resource to exceed the allowed service limit. Resolve the issue before retrying.|
|NotFoundException||A service resource associated with the request could not be found. Clients should not retry such requests.|
|UnauthorizedException||The client failed authentication. Clients should not retry such requests.|
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms