Copying files to AWS s3 from Ubuntu: Difference between revisions

From Cramsession
Jump to navigationJump to search
✍️ Verified Author: MflavellClick to view professional profile & credentials
(Created page with "Tech Notes > AWS > Copying files to AWS s3 from Ubuntu = First, AWS tools = Make sure you have AWS tools installed before doing this. = Generare an key = = Copy Commands = == Copy a single file == aws s3 cp display_server.ova s3://'''s3-bucket-name'''/'''path''' == Recursive copy of an extension == aws s3 cp . s3:/'''s3-bucket-name'''/ --recursive --exclude "*" --include "*.ova"")
 
No edit summary
Line 6: Line 6:
Make sure you have AWS tools installed before doing this.
Make sure you have AWS tools installed before doing this.


[[Installing AWS CLI]]


= Generare an key =
= Generare an key =
* Login to the AWS IAM console.
:* Select the the user for the app key
:* Select ''Access keys'
:* Select ''Create Access key''
* In ubuntu run
aws configure





Revision as of 22:01, 17 May 2026

Tech Notes > AWS > Copying files to AWS s3 from Ubuntu


First, AWS tools

Make sure you have AWS tools installed before doing this.

Installing AWS CLI

Generare an key

  • Login to the AWS IAM console.
  • Select the the user for the app key
  • Select Access keys'
  • Select Create Access key
  • In ubuntu run
aws configure


Copy Commands

Copy a single file

aws s3 cp display_server.ova s3://s3-bucket-name/path

Recursive copy of an extension

aws s3 cp . s3:/s3-bucket-name/ --recursive --exclude "*" --include "*.ova"