2 Answers
- Newest
- Most votes
- Most comments
1
- What I have done in the past is upload the file to a S3 bucket.
- Ensure the IAM role on the EC2 has access to the bucket
- Use AWS S3 cli to copy the file locally to the EC2
0
Hello.
For Ubuntu, I think it is possible to use Systems Manager Session Manager.
How about connecting to EC2 with Session Manager and setting a private key for SCP?
https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-prerequisites.html
Relevant content
- Accepted Answerasked 8 months ago
- Accepted Answerasked 5 months ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago