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 configure a fleet to create instances with certain hardware specifications
(see Amazon EC2 Instance Types
for more information), and deploy a specified game build to each instance. A newly
created fleet passes through several statuses; once it reaches the
status, it can begin hosting game sessions.
To create a new fleet, you must specify the following: (1) fleet name, (2) build ID of an uploaded game build, (3) an EC2 instance type, and (4) a run-time configuration that describes which server processes to run on each instance in the fleet. (Although the run-time configuration is not a required parameter, the fleet cannot be successfully activated without it.)
You can also configure the new fleet with the following settings:
Access permissions for inbound traffic
Fleet-wide game session protection
Resource creation limit
If you use Amazon CloudWatch for metrics, you can add the new fleet to a metric group. This allows you to view aggregated metrics for a set of fleets. Once you specify a metric group, the new fleet's metrics are included in the metric group's data.
You have the option of creating a VPC peering connection with the new fleet. For more information, see VPC Peering with Amazon GameLift Fleets.
If the CreateFleet call is successful, Amazon GameLift performs the following tasks:
Creates a fleet record and sets the status to
NEW (followed by other
statuses as the fleet is activated).
Sets the fleet's target capacity to 1 (desired instances), which causes Amazon GameLift to start one new EC2 instance.
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.
Begins writing events to the fleet event log, which can be accessed in the Amazon GameLift console.
Sets the fleet's status to
ACTIVE as soon as one server process in the
fleet is ready to host a game session.
Fleet-related operations include:
Manage fleet capacity:
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 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.
Names of metric groups to add this fleet to. 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