1回答
- 新しい順
- 投票が多い順
- コメントが多い順
2
To connect into a fleet instance running a build with SDK 5, you can run the CLI command get-compute-access to get AWS Systems Manager credentials. These are AWS temporary security credentials, which you can export as environment variables eg:
export AWS_ACCESS_KEY_ID=<AccessKeyId>
export AWS_SECRET_ACCESS_KEY=<SecretAccessKey>
export AWS_SESSION_TOKEN=<SessionToken>
Using these credentials will let you use SSM Session manager to connect into the instance by running:
aws ssm start-session --target <instanceId>
回答済み 1年前