Questions tagged with EC2 Fleet
Content language: English
Sort by most recent
if my instance is running! can i change instance type or is there is any way for auto scaling and if there is a way how to do that?
**EDIT (see below for the original question):** I was able to solve my issue by getting the Fleet ID (starts with "fleet-") from the Spot Request's Tags and then running the following on the instance via the CLI (be sure to replace FLEET-ID and edit the region if needed): ``` aws ec2 delete-fleets --fleet-ids "FLEET-ID" --terminate-instances --region "us-east-1" ``` Note: This causes the fleet's instances to be terminated and the fleet to be deleted. After that, no new instances where created. I'm not sure why I couldn't see my fleet in the AWS Management Console (I was logged in as the root user), maybe the fleet wasn't displayed because it only consisted of one Spot instance and no On-Demand instances? If the AWS team wants to test this, please feel free to reach out to me, I'm happy to provide all steps to reproduce this issue. **Original question:** Hi everyone, in order to test Spot Fleets, I have used the EC2 API action "CreateFleet" to create a fleet of one Spot instance and zero On-Demand instances. I have used a Launch template, worked well. Instance type is t4g.nano, Fleet Target Capacity is set to one instance. Now I seemingly can't cancel the fleet request: In the console, when clicking EC2 - Instances - Spot Requests, only the Spot Request is listed, but not the Fleet Request. If I cancel the Spot Request with the option to terminate the instances assigned to it, the instances are terminated, but of course a new Spot Request is immediately created. If it helps, the Spot Request's Persistence is "one-time". Thank you!
Hello everyone! Currently I am working on a multiplayer game, while testing online matches using c5.xlarge fleets, I’ve found out that at least in the us-east-1 region the maximum number of instances is 15 for that instance type in that specific region, we know that AWS allow us to request a quota increase for it. Example case: Assuming we have 2 active fleets, what happens if both fleets are full and there are players wanting to join a game session, we use Flexmatch matchmaking and we know that a matchmaking ticket can wait until a game session is available for a player, but how could we create new fleets based on player demand so there will be always a game session available?. My questions are: 1. Is there a way to automatically create additional fleets when needed based on some metrics? 2. Does GameLift have an auto scaler for fleets or could we use a similar AWS service for that purpose, like creating new fleets when needed? 3. Or are there any recommendations in a way to solve this requirement? Thank you everyone for your help beforehand.
Hello! I am trying to remove some EC2 instances off the fleet manager. I found some documentation stating the way to remove it is to deregister from the portal. However, when I follow these instructions, the "Deregister This Managed Node" is grayed out and I unable to click on it. I am not sure on next steps to troubleshoot this. If anyone has idea, I appreciate it! Thanks!
I am using the unity plugin for gamelift, I deployed the first game successfully, but failed when I deployed the second. The error information that cloud formation shows is the following: [CREATE_FAILED - Resource handler returned message: "Error occurred during operation 'AWS::GameLift::Fleet'." (RequestToken: xx-xx-xx-xx-xx, HandlerErrorCode: GeneralServiceException)] [ROLLBACK_IN_PROGRESS - The following resource(s) failed to create: [FleetResource]. Rollback requested by user] how I can get around this or what to do? I don't find any problem about my fleet seeting or limits.
Let's say I have t3 family, and committed an EC2 Saving Plan with the upfront payment $5000/year. Now I have an one-month-term temporary instance needs to be in t3 family, should I request the commit rate change? or this temporary usage can be absorbed and amortized to my 1-year commit term without extra charge (assume the total usage is not passed the commit number)?
Failed to create a node group for an EKS cluster: You've reached your quota for maximum Fleet Requests for this account
I tried to create an EKS cluster by terraform but the plan failed with the below error msg. [AsgInstanceLaunchFailures: You've reached your quota for maximum Fleet Requests for this account. Launching EC2 instance failed.] I don't believe the root cause of this failure is a quota issue because there are not many EC2 instances within the region (ap-northeast-2). So I tried below to find what the real problem is but still on the same page. Please advise what I should do, thanks. Fyr, the IAM user has administrator permission. - Run the same terraform code with the different account (all settings were same, only account (not IAM) was changed to my private one) - Result: Success to build - Conclusion: No issues with the code (network configuration is included) - Run the same terraform code in the different region (tried ap-east-1) - Result: Success to build - Changed an instance type from t3.medium to m4.large (the other settings were same) - Result: Failed to build with the same error
We're new to AWS and launched an EC2 instance, in addition to some other services. Public website isn't active. Main concern is Elemental Media Package at the moment used 500GB for one of the packages this month and we are not sure why so much data is being processed. Last month, there was over 2TB of data processed.
Hello, I have setup ssm inventory expecting to see NVMe and ENA driver/package versions, which is not occuring. I can see cloudwatch, ssm agent etc versions. I would like to audit/check/update all aws components on EC2 fleet. Any thoughts if inventory can do this or other options? thank you
Can't update Node.JS version on Gamelift fleets,manual update overrides with the almost deprecated version (Node v10)
Is there a way to update Node.JS version to 14 or 16 on AWS Gamelift ?Our fleet runs on Amazon Linux 2 OS . Tried to do it manually on the existing fleet, but it is not compatible with auto generated GameScaleLightweight NodeJS server, so it won't activate the fleet. Tried to create new fleet with new Gamelift build, included node install in the install.sh script, but it didn't install at the specified directory( which was /local/NodeJS ), but a level lower (and i didn't messed up the path). Instead, on specified directory, there was NodeJS version 10 (which was clearly created by Gamelift) Tried to create new fleet with new Gamelift script, that didn't work either. Every time the result is the same, Node.JS version is still 10. Right now, the only thing that works is, revert to AWS SDK v2 , which supports Node.js version 10...
I have create a game fleet and have some game sessions running on it. My game is running in open testing phase. For some reasons, sometime there is a game session that running forever, it doesn't shutdown. I don't know the reason because It doesn't shut down, so I can't see logs. Is there any one can help me with that problem? or is there anyway that I can manual terminate a game session in gamelift console or using terminal? for now I just can terminated all game fleet and start new one, but it's inconvenience. Thank you very much! Here is this game session's info: DNS name: ec2-13-250-1-196.ap-southeast-1.compute.amazonaws.com Ip address: 188.8.131.52 Port: 7908
An error occurred (FleetCapacityExceededException) when calling the CreateGameSession operation: Unable to reserve a process on fleet fleet-*********-48d0-8c3c-eaee1fd5871c, location us-east-1, gameSessionId: arn:aws:gamelift:us-east-1::gamesession/fleet-***********8c3c-eaee1fd5871c/gsess-8a6da779-f4b7-4047-a330-e32c1517c000. (No active and available server processes found on the fleet) [cloudshell-user@ip-10-0-62-27 ~]$ in the Dashboard Builds (1) is green ... in the Fleets (1) is yellow and both appears active thanks for the help