S3 Cloud Object Storage4 min readβ€’Updated September 2026β€’Reviewed 2026-09-27

Connect S3 Storage with AWS CLI

AWS CLI works against the S3-compatible endpoint for common bucket and object operations. Always pass the HubforHost endpoint URL explicitly.

πŸ“‹ Prerequisites

  • AWS CLI installed
  • Provisioned S3 endpoint URL, Access Key and Secret Key

Step-by-Step Instructions

1

Configure credentials

Run aws configure and enter your Access Key, Secret Key and region.

aws configure
# Enter Access Key, Secret Key, and Region
2

List buckets

Verify connectivity by listing buckets through the HubforHost endpoint.

aws s3 ls --endpoint-url https://YOUR_S3_ENDPOINT
3

Upload and download

Copy objects to and from your bucket through the endpoint.

aws s3 cp backup.tar.gz s3://my-bucket/ --endpoint-url https://YOUR_S3_ENDPOINT
aws s3 cp s3://my-bucket/backup.tar.gz ./ --endpoint-url https://YOUR_S3_ENDPOINT
πŸ’‘ Pro Tip: Replace YOUR_S3_ENDPOINT and bucket names with your provisioned values.

πŸ“Œ Important Notes

  • Supports common S3-compatible tools, SDKs and workflows. Validate workload-specific operations before production cutover.

Related Guides in S3 Cloud Object Storage

Connecting to Sovereign S3 Cloud Object Storage with AWS CLI & Rclone

4 min read β€’ Read β†’

S3 Cloud Object Storage β€” Getting Started

4 min read β€’ Read β†’

S3 Access Credentials β€” Endpoint, Keys and Safe Handling

3 min read β€’ Read β†’
Chat with HubforHost on WhatsApp (+91 7780204727)