- Newest
- Most votes
- Most comments
It appears that you're encountering an issue because you're providing the full ARN (Amazon Resource Name) of the fleet instead of just the fleet ID when creating an alias in AWS GameLift. This is causing a validation error because the system expects only the fleet ID.
To resolve this issue, you need to use only the fleet ID, not the entire ARN. The fleet ID should start with "fleet-" followed by a combination of letters, numbers, and hyphens.
For example, if your full ARN looks like this: arn:aws:gamelift:us-east-1:123456789012:fleet/fleet-1234abcd-5678-efgh-ijkl-90mnopqrstuv
You should only use the part that starts with "fleet-": fleet-1234abcd-5678-efgh-ijkl-90mnopqrstuv
When setting up the routing strategy for your alias, make sure to use this fleet ID format. The FleetId field in the routing strategy configuration is specifically designed to accept the fleet ID, not the full ARN.
Remember that aliases in GameLift are used to simplify fleet management, allowing you to update your game clients to point to an alias instead of directly to a fleet. This makes it easier to switch between fleets without updating your game client.
By providing just the fleet ID (starting with "fleet-"), you should be able to create the alias without encountering the validation error.
Sources
RoutingStrategy - Amazon GameLift
Alias - Amazon GameLift
Relevant content
- Accepted Answerasked 8 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 2 years ago
I get it that it should be fleet ID instead of the full ARN to match the pattern. However I am using only AWS UI platform to do it and not the CLI. I do not understand how can I set only the fleet ID when all I do to create the Alias in the Fleet section is to select the current one I have in Active and that's it. Can you please provide more details on how to do it specifically here where I do not have options to set the fleet id.