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