Docs Ordnary Web Services Ordnary R2
Storage classes
Standard and Infrequent Access: when to use which, how each is priced, the free allowance, and how to set the class per bucket or per object.
| Feature | Standard | Infrequent Access |
|---|---|---|
| Best for | Data you read at least monthly | Backups and archives read rarely |
| Storage price | Standard rate | Lower rate |
| Operations price | Standard rate | Higher rate |
| Retrieval fee | Per GB read | |
| Free allowance | ||
| Egress | Free | Free |
Choosing
Infrequent Access is cheaper to keep and more expensive to touch. It pays off for objects you read less than about once a month: backups, exports, old media. For anything an application serves regularly, Standard is cheaper overall, and it is the only class the free allowance applies to.
Setting the class
- Per bucket: the default storage class, chosen when you create the bucket and changeable under Settings, General. It applies to new objects; existing ones keep their class.
- Per object over the API: pass the class with the upload, for example
aws s3 cp ./backup.tar s3://my-bucket/backup.tar --storage-class STANDARD_IA. - Automatically: a lifecycle rule can move objects to Infrequent Access after a number of days.