...
This article assumes that you have created an AWS S3 bucket and are either the owner or have access rights to the bucket. If you have not created an AWS S3 bucket, please see our Creating and Configuring an Amazon AWS S3 Bucket article.
Loading the aws-cli
module:
In order to access S3 buckets from Talapas, one available method would be via the aws-cli tool that has been built on talapas for users. To load the module, run the following command:
...
After completing the aws configure
setup, you should now have access to the AWS S3 buckets that are owned or available to you.
Seeing available S3
buckets:
To see what buckets you have access to, you can go ahead and run the aws s3 ls
command. This will return a list of all available S3 buckets by name. This will return the same list of buckets as seen from your AWS S3 console.
AWS S3 Console:
...
Talapas view:
...
Next steps:
From here, you now have access to your AWS S3 buckets and can perform a variety of different commands in order to move data. AWS has some pretty verbose documentation detailing how to move files in a variety of different ways.
Recusivly copying data directory and all of its sub-contents:
If you would like to move data within a directory (and all sub-directories), you can use the following command with a --recursive
flag in order to achieve this.
Code Block |
---|
$ aws s3 cp --recursive s3://my-bucket-name/subfolder/ /home/USER/destination-directory/ |