Score:0

Bandwidth consumption of Amazon S3 bucket mounted with S3fs on a VPS

cl flag

I have :

  • VPS server on Vultr with web server and Wordpress installed.
  • Uploads folder is mounted on Amazon S3 bucket using s3fs.

If a user downloads a 1GB file from my website will the traffic be served to him from Amazon S3 directly or it will be passed through the vps. Because I want to offload bandwidth and I would like to know if it will be counted as 1GB or 1GB + 1GB.

Score:0
jp flag

I'm not a Wordpress expert, but what do those file URLs look like from the user POV - are you rewriting them somehow?

In other words, when users download a file, is the URL on your website pointing to something like https://.s3.amazonaws.com/<path_to_file>, or is rather something like https://<your_wordpress_domain>/<path_to_file>?

In case of the former: just 1GB (due to direct download from S3), otherwise: 1GB+1GB (because of your VPS proxying the download).

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.