1 Answer
- Newest
- Most votes
- Most comments
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>
answered a year ago
Relevant content
- Accepted Answerasked 4 years ago
- Accepted Answerasked a month ago
- Accepted Answerasked 9 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago