Migrate IBM CleverSafe S3 files to AWS S3 bucket using RCLone

Hi,
I am trying to migrate IBM CleverSafe S3 files to AWS S3 bucket using RClone. I have and AWS EC2 instance and installed RClone on it. Prior to installing RCLone, I run the following command:
aws configure list and could see the EC2 credentials.
profile None None
access_key ****************YOA7 iam-role
secret_key ****************gUA6 iam-role
region None None
However, after installing RClone on EC2, the credentials seem to be wiped out:
aws configure list
Name Value Type Location


profile None None
access_key None None
secret_key None None
region None None

Can someone please help if I am missing as why the ec2 credentials be lost? Any suggestion would be helpful.
Thanks,

hello and welcome to the forum,

rclone install is not going to delete any files you were using with before.

what version of rclone are you using?
how did you install it?

thanks asdffdsa. so are your saying that EC2 credentials not showing up after installing RClone is ok? And that I need to follow the steps from ## AWS S3 in the link ? Also, do I run the
rclone config from ec2-user ? I am new, some more details would be really helpful and appreciated.
Thanks,

rclone supports any s3 provider.
there are many s3 clones, i use wasabi, and rclone supports that.

to use rclone, you need to create a remote.

  1. run rclone config
  2. create a new remote

for more details,
https://rclone.org/s3/

i used curl -k https://rclone.org/install.sh | sudo bash
I first connected to my AWS EC2 instance and then run the above command.

good,

do a rclone --version and it should be v1.51.0
if so, do a rclone config
you will need to create two s3 remotes.
one for the ibm s3
one for the aws s3

thanks, it is v1.51.0. i am following steps as you mentioned. one question - the access key and secret key - where do i get the values from? sorry, if i am asking too much.

you did write that

" I run the following command:
aws configure list and could see the EC2 credentials."

you should be able to log into aws get that info...

yes i did that and it's all blank
aws configure list
Name Value Type Location
---- ----- ---- --------
profile None None
access_key None None
secret_key None None
region None None

so, then from the steps I see this - the higlighted:
Get AWS credentials from runtime (environment variables or EC2/ECS meta data if no env vars).

Only applies if access_key_id and secret_access_key is blank.

Enter a boolean value (true or false). Press Enter for the default ("false").

Choose a number from below, or type in your own value

1 / Enter AWS credentials in the next step

\ "false"

2 / Get AWS credentials from the environment (env vars or IAM)

\ "true"

env_auth> 1 -----> I selected 1 and then it asks for the key

AWS Access Key ID.

Leave blank for anonymous access or runtime credentials.

Enter a string value. Press Enter for the default ("").

access_key_id>

you need to login to aws and obtain the needed info

thank you for quick response!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.