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 a year ago
- Accepted Answerasked a year ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 16 days ago
- AWS OFFICIALUpdated a year ago