doc: Add usage and example about s3 storage class and crypto
[fio.git] / examples / http-s3-storage-class.fio
CommitLineData
a2084df0
FH
1# Example test for the HTTP engine's S3 support against Amazon AWS.
2# Obviously, you have to adjust the S3 credentials; for this example,
3# they're passed in via the environment.
4# And here add storage class parameter, you can set normal test for
5# STANDARD and compression test for another storage class.
6#
7
8[global]
9ioengine=http
10name=test
11direct=1
12filename=/larsmb-fio-test/object
13http_verbose=0
14https=on
15http_mode=s3
16http_s3_key=${S3_KEY}
17http_s3_keyid=${S3_ID}
18http_host=s3.eu-central-1.amazonaws.com
19http_s3_region=eu-central-1
20http_s3_storage_class=${STORAGE_CLASS}
21group_reporting
22
23# With verify, this both writes and reads the object
24[create]
25rw=write
26bs=4k
27size=64k
28io_size=4k
29verify=sha256
30
31[trim]
32stonewall
33rw=trim
34bs=4k
35size=64k
36io_size=4k
37