Fio 3.37
[fio.git] / examples / http-s3-storage-class.fio
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]
9 ioengine=http
10 name=test
11 direct=1
12 filename=/larsmb-fio-test/object
13 http_verbose=0
14 https=on
15 http_mode=s3
16 http_s3_key=${S3_KEY}
17 http_s3_keyid=${S3_ID}
18 http_host=s3.eu-central-1.amazonaws.com
19 http_s3_region=eu-central-1
20 http_s3_storage_class=${STORAGE_CLASS}
21 group_reporting
22
23 # With verify, this both writes and reads the object
24 [create]
25 rw=write
26 bs=4k
27 size=64k
28 io_size=4k
29 verify=sha256
30
31 [trim]
32 stonewall
33 rw=trim
34 bs=4k
35 size=64k
36 io_size=4k
37