AWS CLI
Overview
AWS CLI is a command-line tool for working with S3-compatible object storage.
Use it with vStorage (HCM04) by pointing commands to this S3 endpoint:
https://hcm04.vstorage.vngcloud.vn
Use AWS CLI when you need to:
Script bucket and object operations (CI/CD, backups, migrations).
Batch upload, download, sync, and presign URLs.
Troubleshoot access issues with repeatable commands.
Official AWS CLI docs: AWS CLI.
What you need before starting
A vStorage project in HCM04.
The S3 endpoint (for
--endpoint-url):https://hcm04.vstorage.vngcloud.vnAn S3 Access Key + Secret Key for that project. See Create a S3 key.
AWS CLI installed on your machine. See install aws-cli.
Quick connectivity check
Run a simple list buckets command after configuration:
Important note
From AWS CLI v2.23.0+, AWS enables the checksum algorithm CRC64_NVME by default.
vStorage currently supports CRC32, CRC32C, SHA1, and SHA256.
Prefer AWS CLI < v2.23.0 to avoid incompatibilities.
If you use AWS CLI v2.23.0+, set this after installation:
Detail
Integrate AWS CLI with vStorage
Using AWS CLI
Last updated

