Questions tagged with EC2 Fleet

Content language: English

Sort by most recent

Browse through the questions and answers listed below or filter and sort to narrow down your results.

  • 1
  • 2
  • 12 / page
I am getting below error when in fleet activation status **Server process started correctly but did not call InitSDK() or ProcessReady() within 5 minutes, launchPath(/local/game/Woah.x86_64), arguments(null), instanceId(i-0c0c1ec4d69e87b9e)** Not sure what is the issue here. the uploaded build is running fine on my local machine.
2
answers
0
votes
94
views
asked 9 months ago
Hello! I have a player session still ACTIVE after both players disconnected from the game. It's causing issues when I attempt to connect new clients to the server, saying that the match is full and they're being rejected. Is it possible for me to terminate this existing player session? I haven't found any documentation on this. Thanks in advance!
1
answers
0
votes
88
views
asked 9 months ago
Hello, Here is my setup: * Using GameLift to host custom server for my game * Server is a headless Unity app * Server (and, therefore, client) uses Photon Fusion for simulation * I've integrated the SDKs, and everything works when testing with GameLift Local My problem: When I create a build and deploy it on a GL fleet, the server app fails to start the Fusion server with the following error: EntryPointNotFoundException: nanosockets_address_set_ip Of course, I've asked Photon for support first. They said that this error means that either the nanosocket .dlls are missing from my build or the executable can't access them. Since both .dlls are present in the correct locations, it seems like the app just can't access them. The weird part is that they're both inside the C:\Game folder (2 or 3 levels down in subfolders, but still). From what I've read in the AWS docs, the app should be sandboxed but have access to its own folder (C:\Game). Does anyone have an idea why my app wouldn't be able to access the Fusion .dlls? My team has been stuck on this issue for days, so any help or pointers would be appreciated. Thanks in advance!
3
answers
0
votes
181
views
asked 9 months ago
Hello AWS Team, I have just created my account and I want to make an EC2 Spot request and I have some questions. I have made the technical configurations and pre-requisites in order to request for an instance but I want to clarify how this is charged. For example when I proceeded with some request and have been provided with a fullfiled - active instance I couldn't shut down the instance because it was not persistent . If I create a non-persistent does charges apply hourly even I don't use / I am not connected to the instance? If this is the case then could you please advice me how to create a persistent spot request and leave it shut down and use it only when I want in order for charges to not apply at the time I don't use it ? Thanks in advance !
1
answers
0
votes
67
views
asked 10 months ago
Hello. I'm having a spot fleet request that is using launch template to deploy DEV/QA environment into Rancher. Lately it has been over-provisioned, meaning that total capacity is set to 6 for DEV and 5 for QA, however im having up to 10 instances at certain moments in DEV and 8 instances in QA. What i have noticed is that instance weight has been set to 1 for every instance type. MY instance fleet is r5.xlarge weight=1, r5d.xlarge weight=1, r4.xlarge weight=1, m5.2xlarge weight=1 and i don't see in the UI where you can set nor modify instance weight upon creation of the spot request nor afterwards. Also when you create spot request without template, instance weight is not applied. So since we don't need 10 instances running my question is how can i limit that to 6 as stated in the target capacity and not having resources over provisioned? Thanks in advance
2
answers
0
votes
149
views
ademiro
asked 10 months ago
Hello, I wanted to start EC2 fleet with on-demand instances only, and I wanted them to be distributed across availability zones. Unfortunately, I couldn't find a way to do that, and all the instances are always started in a single AZ. That is not a problem with spot instances, as they spawn in all the AZ. I was trying to try different allocation strategies and priorities, but nothing helped. I was trying to do so in AWS-CDK, using both `CfnEC2Fleet` [link](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnEC2Fleet.html) as well as `CfnSpotFleet` [link](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnSpotFleet.html). Bellow is my code. Is there way how to achieve that, or do I need to use something else? Thank you. ```typescript const spotFleet = new CfnSpotFleet(stack, 'EC2-Fleet', { spotFleetRequestConfigData: { allocationStrategy: 'lowestPrice', targetCapacity: 8, iamFleetRole: fleetRole.roleArn, spotMaintenanceStrategies: { capacityRebalance: { replacementStrategy: 'launch-before-terminate', terminationDelay: 120, } }, onDemandTargetCapacity: 4, instancePoolsToUseCount: stack.availabilityZones.length, launchTemplateConfigs: [{ launchTemplateSpecification: { launchTemplateId: launchTemplate.launchTemplateId, version: launchTemplate.latestVersionNumber, }, overrides: privateSubnets.map(subnet => ({ availabilityZone: subnet.subnetAvailabilityZone, subnetId: subnet.subnetId, })), }], } }); const ec2Fleet = new CfnEC2Fleet(stack, 'EC2-EcFleet', { targetCapacitySpecification: { totalTargetCapacity: 6, onDemandTargetCapacity: 6, defaultTargetCapacityType: 'on-demand', }, replaceUnhealthyInstances: true, onDemandOptions: { allocationStrategy: 'prioritized', }, launchTemplateConfigs: [{ launchTemplateSpecification: { launchTemplateId: launchTemplate.launchTemplateId, version: launchTemplate.latestVersionNumber, }, overrides: privateSubnets.map(subnet => ({ availabilityZone: subnet.subnetAvailabilityZone, subnetId: subnet.subnetId, })), }] }); ``` Where `launchTemplate` is instance of [`LaunchTemplate`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.LaunchTemplate.html) and `privateSubnets` is array of [`Subnet`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.Subnet.html) instances, one for each AZ.
0
answers
0
votes
59
views
asked 10 months ago
Hi, We try to configure the RDP connection to Windows EC2 via SSO via FleetManager. We have this error : An error occurred while establishing the Remote Desktop session. The GetCommandInvocation API operation failed to fetch the result in the given time. CommandId 94ce5f12-0545-4ae9-9f94-d6322bd1ec04 Can you help us? Regards, Jérôme
1
answers
0
votes
76
views
JeromeM
asked a year ago
**Hello!** I am trying to deploy the Gamelift test suite, but am getting the following error: **Current limit of fleets of 0 have been reached..** We are a video game development company and we want to deploy our games on your infrastructure. Please get in touch with us. If there is someone who can give us support in **Spanish**, it would be the best option. **Thanks.**
2
answers
1
votes
260
views
asked a year ago
I'm trying to follow this post https://aws.amazon.com/blogs/security/how-to-enable-secure-seamless-single-sign-on-to-amazon-ec2-windows-instances-with-aws-sso/ But I have an error message related with SSO **"An error occurred while calling the ListDirectoryAssociations API operation. SSO features are disabled. AccessDeniedException: SSO is not shared in org: xxxxx"** I have configured SSO with AzureAD as external provider. Can somebody help me with this issue? Regards
2
answers
1
votes
421
views
asked a year ago
  • 1
  • 2
  • 12 / page