Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: show s3api vs s3

...

This will show the buckets in your domain then list a bucket:

Code Block
aws s3api --endpoint-url http://mydomain.example.com:8090 list-buckets
aws s3api --endpoint-url http://mydomain.example.com:8090 list-objects --bucket mybucket

The aws s3 syntax is slight different than the aws s3api commands:

Code Block
aws s3 --endpoint-url http://mydomain.example.com:8090 ls
aws s3 --endpoint-url http://mydomain.example.com:8090 ls s3://mybucket

Tip: use aws --debug to see full HTTP request and response details, including the request-id for searching cloudgateway_server.log. Long listings might require --cli-read-timeout 300. Internal error messages like this are expected and can be ignored:
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/placement/availability-zone/"

...