AWS CLI
Select S3 Endpoint
Choose preferred region.
Configure AWS CLI with your S3-compatible endpoint and Aurora credentials.
Installation
If you don't have AWS CLI installed, follow the official installation guide.
Configuration
Create a profile (replace values accordingly):
aws configure --profile aurora
# AWS Access Key ID [None]: <YOUR_ACCESS_KEY>
# AWS Secret Access Key [None]: <YOUR_SECRET_KEY>
# Default region name [None]: us-east-1
# Default output format [None]: json
Usage
Use the custom endpoint URL when running commands. Your selected endpoint is:
aws --profile aurora --endpoint-url https:// s3 ls
Common Commands
List buckets
aws --profile aurora --endpoint-url https:// s3 ls
Upload a file
aws --profile aurora --endpoint-url https:// s3 cp ./file.txt s3://my-bucket/
Sync a folder
aws --profile aurora --endpoint-url https:// s3 sync ./local-folder s3://my-bucket/
Download a file
aws --profile aurora --endpoint-url https:// s3 cp s3://my-bucket/file.txt ./local-file.txt