By using AWS re:Post, you agree to the AWS re:Post Terms of Use

Gamelift fleet stays in "Activating" state for more than an hour, then the fleet disappears

0

I'm creating a gamelift fleet. The fleet starts creating and reaches "FLEET_STATE_ACTIVATING" event. It stays like that for a very long time, approximately an hour or more. Eventually the fleet is deleted and it's no longer visible in the "fleets" view.

It's managed EC2 fleet with custom server build. I'm creating the fleet using CloudFormation. I've used similar workflow for two other games about a year ago and it was working. This time I get stuck in forever activating. The build uses Server SDK version 5.1.2.

  1. How to speed up creating the fleet?
  2. How to delete a fleet before it finishes activating if I know something went wrong? Thanks!
asked 8 days ago26 views
3 Answers
1

I understand you're experiencing issues with your GameLift fleet creation process. Let's address your concerns:

  1. Speeding up fleet creation: The long activation time and eventual disappearance of the fleet suggest there might be an issue with your game server build or configuration. To speed up the process and resolve the issue:
  • Ensure your game server build is correctly configured and can successfully communicate with the GameLift service.
  • Check your runtime configuration settings, including launch path, launch parameters, and concurrent processes.
  • Review your fleet's instance type and ensure it's appropriate for your game server requirements.
  • Examine the fleet creation events and logs for any error messages or warnings that might indicate the source of the problem.

If the issue persists, try re-uploading your game build to resolve potential file corruption.

  1. Deleting a fleet before it finishes activating: You can delete a fleet at any point during the creation process, even if it's still in the ACTIVATING state. To do this:
  • Use the Amazon GameLift console: Navigate to the Fleets section, select the fleet you want to delete, and choose the Delete option.
  • Alternatively, use the AWS CLI command 'delete-fleet' to remove the fleet.

Keep in mind that deleting a fleet will permanently remove all associated data, including game sessions, player sessions, and collected metrics.

If you're unable to delete the fleet through these methods, it's possible there might be an internal service error. In this case, you may need to contact Amazon GameLift support for assistance.

Given that you've successfully used a similar workflow before, it's worth comparing your current configuration with your previous successful setups. Also, consider checking if there have been any recent changes or updates to the Amazon GameLift service that might affect your deployment process.

If the problem persists, don't hesitate to reach out to Amazon GameLift support or post a question on the AWS forums for more specific assistance with your setup.
Sources
Debug Amazon GameLift fleet issues - Amazon GameLift
Delete a fleet - Amazon GameLift
Update an Amazon GameLift fleet configuration - Amazon GameLift

profile picture
answered 8 days ago
profile picture
EXPERT
reviewed 7 days ago
0

Thank you! Is there any reference material for fleet events. I would like to understand in more detail what each event means. For example what does "FLEET_STATE_BUILDING" mean?

answered 8 days ago
0

Fleet can not be deleted in activating state and it stays in activating state for a very long time (hour or more?), and even though my service quota for managed fleets is 10, it does not allow me to create more than 1 fleet ,saying that service quote of 1 has been exceeded.

Deleting a fleet in CLI says: An error occurred (InvalidRequestException) when calling the DeleteFleet operation: Cannot delete fleet <arn here> that is in status of ACTIVATING

In console it shows same error: Enter image description here

answered 7 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions