How to connect to your storage (aws cli, Filezilla)

S3

You can use any s3 compatible software with our s3 storages (for example, aws cli, s3cmd). In the example below aws cli commands are shown.

To install aws cli use this article.

To verify that installation was completed successfully run aws --version command in the terminal:

$aws --version
aws-cli/1.16.194 Python/3.6.0 Windows/10 botocore/1.12.184

To connect to the storage you need to add your storage credentials to aws cli configuration file:

$aws configure
AWS Access Key ID: MT4IH9DG013FXRAD4885
AWS Secret Access Key: xmrX3jXZYoR4VxwBsvO0X8c94I5zEB0j9tPDf6ow
Default region name: s-ed1
Default output format:

For the first two lines use Access and Secret Keys from the Control Panel.

Value for the Default region name live depends on your storage location.

To check that you have configured everything right run the following command:

aws s3 ls --endpoint-url=https://s-ed1.cloud.gcore.lu

Value for --endpoint-url= should also be taken from the table above.

Since there are no buckets in the storage yet the command won't list anything but if there are no errors you have configured the credentials correctly.

SFTP

You can use bash to connect to the SFTP storage. In the example, we use FTP client Filezilla.

To download and install Filezilla use this link.

Start by opening up Site Manager:

1564059627462.png

In an open window click on the New Site button:

1564059900721.png

Give it a name and navigate to the General tab on the right.

Connect with password

1564060020832.png

Choose SFTP - SSH File Transfer Protocol in the Protocol field drop-down menu.

In the Host field put the Hostname from the Control Panel, specify port 2200.

Logon Type should be Ask for password.

User is your storage name.

Click on OK to save the changes and Connect to establish a connection to the storage.

Connect with SSH key

1564060046928.png

Choose SFTP - SSH File Transfer Protocol in the Protocol field drop-down menu.

In the Host field put the Hostname from the Control Panel, specify port 2200.

Logon Type should be Key file.

User is your storage name.

For the Key file specify the path to the private key on your computer.

Click on OK to save the changes and Connect to establish a connection to the storage.

Was this article helpful?
Recently viewed articles