Skip to Content

Requester Pays

Making the people who download from a bucket pay for the requests and data transfer, and its rules.

What it is

Normally the bucket owner pays for everything about a bucket: the storage, the requests and the data transfer when people download objects. That's a problem when a huge dataset is shared with others: every download they make lands on the owner's bill.

With a Requester Pays bucket, the requester pays for the requests and the data downloaded, while the owner still pays for storage.

How it works

Who pays: with a normal bucket the owner pays for storage and for every download; with Requester Pays, the owner still pays for storage but the requester, an authenticated AWS account, pays for the requests and the data transfer Who pays: with a normal bucket the owner pays for storage and for every download; with Requester Pays, the owner still pays for storage but the requester, an authenticated AWS account, pays for the requests and the data transfer

Same bucket, different payer for downloads.
  • The owner turns on Requester Pays in the bucket's properties.
  • Requesters must be authenticated in AWS, so AWS knows whom to bill. Anonymous access isn't allowed.
  • Each request must say the requester accepts the charges: the x-amz-request-payer: requester header (or --request-payer requester in the CLI). Without it, the request fails.
  • It's helpful for sharing large datasets with other accounts, such as genomics data, satellite images or public research datasets.

If the requester assumes a role in the bucket owner's account, the owner's account pays, since the request comes from the owner's own account.

Real-world examples

  • A research institute publishes 500 TB of genome data. Universities around the world download it, and each pays for its own transfer.
  • A data vendor shares daily market files with customers' AWS accounts without paying for their downloads.

Exam tips

  • "Share a large dataset with other accounts; they should pay for downloads" → Requester Pays.
  • "Requester Pays and anonymous users" → not allowed; requesters must be authenticated.

Common traps

  • "Requester Pays makes the requester pay for storage." The owner still pays storage.
  • "Requester Pays for a public website." Anonymous visitors can't use it.

Check yourself

Turning Requester Pays on is one click; testing it properly needs a second AWS account. Instead:

AWS documentation

On this page

Open notes

Spotted a mistake?

These notes are open source. Suggest a fix, or star the repo if they helped you.

Suggest an edit

For AI agents: llms.txt · llms-full.txt