What is the advantage of keeping files on s3?

That’s how I read, I’m having problems with migration myself. I see a lot of problems (maybe solved). And so I wonder - what is the sense of keeping the upload on s3? Is there any sense of it apart from saving costs ?

Either way, these savings are only possible if someone has a really big forum and lots of files and photos. Or maybe there are benefits?

1 Like

I host my files on DigitalOcean Spaces (S3-like), and it’s really cheap and I don’t have to worry about storage, a combination I enjoy.

When someone shares an image and a bunch of us want to load it and comment and share our own photos, I like it going to a CDN and serving from there, and just let the server send text to the browsers. I don’t have a huge community, but it benefits from this workflow; I employ the same strategy in most places (blogs, wiki, chat, just about anything that allows uploads). :slight_smile:


Out of curiosity, if you can communicate this data, how many page views do you have in average, how much GB of uploaded files, and how much does S3 cost you each month?

1 Like

From admin/reports/page_view_total_reqs:

  • February 23, 2020 428
  • February 24, 2020 620
  • February 25, 2020 700
  • February 26, 2020 718
  • February 27, 2020 722
  • February 28, 2020 685
  • February 29, 2020 344
  • March 1, 2020 215
  • March 2, 2020 425
  • March 3, 2020 1036
  • March 4, 2020 707
  • March 5, 2020 800
  • March 6, 2020 356
  • March 7, 2020 463
  • March 8, 2020 1859
  • March 9, 2020 678
  • March 10, 2020 620
  • March 11, 2020 677
  • March 12, 2020 519
  • March 13, 2020 615
  • March 14, 2020 423
  • March 15, 2020 513
  • March 16, 2020 512
  • March 17, 2020 508
  • March 18, 2020 551
  • March 19, 2020 507
  • March 20, 2020 531
  • March 21, 2020 1725
  • March 22, 2020 5426
  • March 23, 2020 1293
  • March 24, 2020 294
    Totals for sample
    — 25.5k
    All time total
    — 701k

page-view-total-reqs-200324-190518-7.csv.zip (342 Bytes)

1.4 GB / 3484 items

Spaces Subscription

That’s because it is prorated from the $5/month for 250 GB. I use this service extensively for work, but my friendly forum doesn’t really register as an expense in comparison. :slight_smile:

I also build campaign sites for city and county governments that allows citizens to upload their images and pin them to maps and even remix them, and I use Spaces as backend storage for uploaded assets and it’s affordable. Let me know if you have specific concerns about the expense.

1 Like

There is ~no advantage to you keeping files for your forum on S3. This is well within the load capabilities of a VPS.

Don’t worry about it until the third time you run out of disk space.

1 Like

I have to admit, I don’t have a load, either. I have practically no traffic and few files. But I thought I would immediately set this up with CDN for the future to avoid problems. But as I see it, there can only be more problems than benefits…

There are an awful lot of topics with problems and I have a problem with simple

rake uploads:migrate_to_s3

To have all the files in one place and avoid trouble in the future. And unfortunately, since there are so many mistakes, I’m afraid that the further into the forest, the greater the risk.

I feel like you are talking directly at me, but your advice is not for me, so I’m not sure how to respond.

Assuming the opposite scenario. File hosting on S3 + CDN. Can it be slower then ?

I think it’s a reasonable observation, you’re paying an extra $50 a year for something your VPS can already handle. It’s an additional later of failure, an additional cost and has no real technical benefit for you right now.

These support topics aren’t always just about educating the OP. There’s no need to take offense, everyone is learning here.


So I understand to use the VPS first and then possibly move to S3 ?

Let’s say I currently have 60 GB and if 55GB is full, then change the locations of the files without moving the old ones ?