Skip to main content
AWS CLI, S3cmd, and the AWS JavaScript SDK all use the same credentials to connect to Gcore Object Storage: an access key, a secret key, and an endpoint URL. The setup format differs by tool — select a tab for the specific steps.
AWS CLI integrates with Gcore Object Storage for bucket management using commands from the Amazon documentation.

Installation

1

Install AWS CLI

Follow the installation guide to install the latest version.
2

Verify installation

Run the following command to confirm the installation succeeded:
aws --version
The output shows the installed version and operating system:
aws-cli/2.7.24 Python/3.8.8 Windows/10 exe/AMD64 prompt/off
If the terminal cannot find the aws command, consult the troubleshooting guide.

Configuration

1

Launch the configuration wizard

Run aws configure.
2

Enter storage credentials

Provide the following values:
  • Access Key: the access key from the storage Details dialog.
  • Secret Key: the secret key from the storage Details dialog.
  • Default region name: the region name for the storage location — s-ed1 for Luxembourg-2.
  • Leave all other parameters at their default values.
3

Verify the connection

Run the following command, replacing the endpoint with the actual value from the service URLs reference:
aws s3 ls --endpoint-url=https://s-ed1.cloud.gcore.lu
Correct credentials produce no errors and list any existing buckets. An empty output with exit code 0 is expected for new storage with no buckets.