Fio 3.37
[fio.git] / examples / http-s3-crypto.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 you can set the SSE Customer Key and Algorithm to test Server
5 # Side Encryption.
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_sse_customer_key=${SSE_KEY}
21 http_s3_sse_customer_algorithm=AES256
22 group_reporting
23
24 # With verify, this both writes and reads the object
25 [create]
26 rw=write
27 bs=4k
28 size=64k
29 io_size=4k
30 verify=sha256
31
32 [trim]
33 stonewall
34 rw=trim
35 bs=4k
36 size=64k
37 io_size=4k
38