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.
Container for the parameters to the CreateFleet operation. 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:
public class CreateFleetRequest : AmazonGameLiftRequest IAmazonWebServiceRequest
The CreateFleetRequest type exposes the following members
Gets and sets the property BuildId.
Unique identifier for a build to be deployed on the new fleet. The build must have
been successfully uploaded to Amazon GameLift and be in a
Gets and sets the property Description.
Human-readable description of a fleet.
Gets and sets the property EC2InboundPermissions.
Range of IP addresses and port settings that permit inbound traffic to access server processes running on the fleet. If no inbound permissions are set, including both IP address range and port range, the server processes in the fleet cannot accept connections. You can specify one or more sets of permissions for a fleet.
Gets and sets the property EC2InstanceType.
Name of an EC2 instance type that is supported in Amazon GameLift. A fleet instance type determines the computing resources of each instance in the fleet, including CPU, memory, storage, and networking capacity. Amazon GameLift supports the following EC2 instance types. See Amazon EC2 Instance Types for detailed descriptions.
Gets and sets the property FleetType.
Indicates whether to use on-demand instances or spot instances for this fleet. If empty, the default is ON_DEMAND. Both categories of instances use identical hardware and configurations, based on the instance type selected for this fleet. You can acquire on-demand instances at any time for a fixed price and keep them as long as you need them. Spot instances have lower prices, but spot pricing is variable, and while in use they can be interrupted (with a two-minute notification). Learn more about Amazon GameLift spot instances with at Choose Computing Resources.
Gets and sets the property LogPaths.
This parameter is no longer used. Instead, to specify where Amazon GameLift should
store log files once a server process shuts down, use the Amazon GameLift server API
Gets and sets the property MetricGroups.
Name of a metric group to add this fleet to. A metric group tracks metrics across all fleets in the group. Use an existing metric group name to add this fleet to the group, or use a new name to create a new metric group. A fleet can only be included in one metric group at a time.
Gets and sets the property Name.
Descriptive label that is associated with a fleet. Fleet names do not need to be unique.
Gets and sets the property NewGameSessionProtectionPolicy.
Game session protection policy to apply to all instances in this fleet. If this parameter is not set, instances in this fleet default to no protection. You can change a fleet's protection policy using UpdateFleetAttributes, but this change will only affect sessions created after the policy change. You can also set protection for individual instances using UpdateGameSession.
Gets and sets the property PeerVpcAwsAccountId.
Unique identifier for the AWS account with the VPC that you want to peer your Amazon GameLift fleet with. You can find your Account ID in the AWS Management Console under account settings.
Gets and sets the property PeerVpcId.
Unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet. The VPC must be in the same region where your fleet is deployed. To get VPC information, including IDs, use the Virtual Private Cloud service tools, including the VPC Dashboard in the AWS Management Console.
Gets and sets the property ResourceCreationLimitPolicy.
Policy that limits the number of game sessions an individual player can create over a span of time for this fleet.
Gets and sets the property RuntimeConfiguration.
Instructions for launching server processes on each instance in the fleet. The run-time
configuration for a fleet has a collection of server process configurations, one for
each type of server process to run on an instance. A server process configuration
specifies the location of the server executable, launch parameters, and the number
of concurrent processes with that configuration to maintain on each instance. A CreateFleet
request must include a run-time configuration with at least one server process configuration;
otherwise the request fails with an invalid request exception. (This parameter replaces
Gets and sets the property ServerLaunchParameters.
This parameter is no longer used. Instead, specify server launch parameters in the
Gets and sets the property ServerLaunchPath.
This parameter is no longer used. Instead, specify a server launch path using the
Supported in: 1.3
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