2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hey Merih,
Yes, the expected method for accessing compute on SDK 5 fleets is through SSM; however, you won't be able to create an SSM session through the console. You should be able to connect via the aws cli:
// Step 1 : Acquire credentials to start a session
aws gamelift get-compute-access --fleet-id <fleet_id> --region <region_where_fleet_is_created> --compute-name <instance_id>
// Step 2: Expected response
{
"FleetId": "<FleetId>",
"Credentials": {
"AccessKeyId": "<ACCESS_KEY_ID_PLACEHOLDER>",
"SecretAccessKey": "<SECRET_ACCESS_KEY_PLACEHOLDER>",
"SessionToken": "<SESSION_TOKEN_PLACEHOLDER>"
}
}
// Step 3: Export credentials obtained from previous call
export AWS_ACCESS_KEY_ID=<ACCESS_KEY_ID_PLACEHOLDER>
export AWS_SECRET_ACCESS_KEY=<SECRET_ACCESS_KEY_PLACEHOLDER>
export AWS_SESSION_TOKEN=<SESSION_TOKEN_PLACEHOLDER>
// Step 4:
aws ssm start-session --target <instance_id> --region <location_where_instance_exists>
Let us know if you're still having trouble even with the above steps, and I've reached out to the team about updating our documentation.
Regards!
répondu il y a 10 mois
0
Hi Jackson!
I'm now able to connect to the instance and start a PowerShell session.
Thank you very much for your help.
Cheers,
Merih
répondu il y a 10 mois
That's great to here!
Contenus pertinents
- demandé il y a un an
- Réponse acceptéedemandé il y a un an
- demandé il y a 7 mois
- AWS OFFICIELA mis à jour il y a 8 mois
- AWS OFFICIELA mis à jour il y a 8 mois
- AWS OFFICIELA mis à jour il y a un an
That works perfectly. Thanks Jackson. Now, I need to debug an issue with my game server. How can I download files (e.g.: logs, crash dumps) to my local computer from the instance through an ssm session?