Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AWS::GameLift::Fleet IpPermission

Focus mode
AWS::GameLift::Fleet IpPermission - AWS CloudFormation
Filter View

A range of IP addresses and port settings that allow inbound traffic to connect to server processes on an instance in a fleet. New game sessions are assigned an IP address/port number combination, which must fall into the fleet's allowed ranges. Fleets with custom game builds must have permissions explicitly set. For Realtime Servers fleets, GameLift automatically opens two port ranges, one for TCP messaging and one for UDP.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "FromPort" : Integer, "IpRange" : String, "Protocol" : String, "ToPort" : Integer }

YAML

FromPort: Integer IpRange: String Protocol: String ToPort: Integer

Properties

FromPort

A starting value for a range of allowed port numbers.

For fleets using Linux builds, only ports 22 and 1026-60000 are valid.

For fleets using Windows builds, only ports 1026-60000 are valid.

Required: Yes

Type: Integer

Minimum: 1

Maximum: 60000

Update requires: No interruption

IpRange

A range of allowed IP addresses. This value must be expressed in CIDR notation. Example: "000.000.000.000/[subnet mask]" or optionally the shortened version "0.0.0.0/[subnet mask]".

Required: Yes

Type: String

Pattern: (^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(/([0-9]|[1-2][0-9]|3[0-2]))$)

Update requires: No interruption

Protocol

The network communication protocol used by the fleet.

Required: Yes

Type: String

Allowed values: TCP | UDP

Update requires: No interruption

ToPort

An ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be equal to or greater than FromPort.

For fleets using Linux builds, only ports 22 and 1026-60000 are valid.

For fleets using Windows builds, only ports 1026-60000 are valid.

Required: Yes

Type: Integer

Minimum: 1

Maximum: 60000

Update requires: No interruption

See also

On this page

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.