- start cluster using vstart
- create bucket and log bucket:
aws --endpoint-url http://localhost:8000 s3 mb s3://fish
aws --endpoint-url http://localhost:8000 s3 mb s3://fish-log
- create bucket logging conf:
aws --endpoint-url http://localhost:8000 s3api put-bucket-logging --bucket fish \
--bucket-logging-status '{"LoggingEnabled": {"TargetBucket": "fish-log", "TargetPrefix": "log/"}}'
- get bucket logging conf:
aws --endpoint-url http://localhost:8000 s3api get-bucket-logging --bucket fish
- delete bucket logging conf:
aws --endpoint-url http://localhost:8000 s3api put-bucket-logging --bucket fish --bucket-logging-status '{}'
TODO