4 ms·
On Digital Ocean's S3-compatible service for example, $5/month gets you 250GB storage and 1TB egress. $0.02/GB additional storage and $0.01/GB additional egress
by aaronax 7y ago
On Digital Ocean's S3-compatible service for example, $5/month gets you 250GB storage and 1TB egress. $0.02/GB additional storage and $0.01/GB additional egress.
So if you have 5GB of videos that ALL get watched 10,000 times you will be out $500, so maybe problematic. Or calculated another way, 2.2mbps is good for 720p and comes out to 1GB/hour, so your cost is basically $0.01 per hour of video streamed (plus $5/month).
- mongol 7y agoHow does this change with a CDN on front? Are those prices similar, more expensive or less?
- k__ 7y agoCloudFront is $0.085 per GB out, S3 is almost the same. But as far as I know, CF has more free traffic than S3.
- notyourday 7y agoThat's the case of premature optimization. You are not going to get even one video watched 10k times, not to mention all of those videos. 10K video views is pretty darn close to head rather than the tail. If you did, you would be making a million a year like @BrunchBoys on IG and hiring people to build an independent platform so when Youtube/Google/FB shut you down you would still have a way to deliver your awesome videos and make money. P.S. You can always proxy EC2 traffic through the Lightsail to have a cheap delivery.
- pas 7y agoOr, you might get a random HN/Reddit (Slashdot, haha) hug of love, and that's -500 USD for you, and no +1 000 000 at the end of the year, because it was a one time thing.
- Dylan16807 7y agoYou might get 10k people to start watching a video. They're not each going to watch five hours.
- notyourday 7y agoI heart a lot of these magic hugs of love and I can tell you excluding teen boy bands with a gaggle of screaming teenage girls using their phones to live stream from concerts or pirate pay per view boxing matches I have never seen anything close to it. 10K views of a video that's more than a few minutes long is a big deal. Having a hundred of those means a producer is either a celebrity or a real business specializing in video content.