

You can read more information about all of them here aws s3 cp file.txt s3://bucket-name – storage-class class-name S3 Provides various types of Storage classes to optimize the cost and to manage the disk efficiency and IO performance during file read and write operations. While executed the output of that command would like something like this.Ĭopying a local file to S3 with Storage Class Let's suppose that your file name is file.txt and this is how you can upload your file to S3 aws s3 cp file.txt s3://bucket-name Uploading a file to S3, in other words copying a file from your local file system to S3, is done with aws s3 cp command Here we have listed few examples on how to use AWS S3 CP command to copy files.


