2回答
- 新しい順
- 投票が多い順
- コメントが多い順
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!
回答済み 10ヶ月前
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
回答済み 10ヶ月前
That's great to here!
関連するコンテンツ
- AWS公式更新しました 8ヶ月前
- AWS公式更新しました 2年前
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?