News for hackers. Stuff that matters.
Re:I wrote the SQL query in 5 mins. Why does my engineer say... by Luuseens on Wednesday May 24, 2017 @06:26PM (#14413948)
Yes, I host my blog that way:

- Generate static files using Pelican

- Dump the files to S3

- Set up Route53 to point a domain at the bucket

- Set up CloudFront (Amazon's CDN) to sit in front of the S3 bucket, since I found pure S3 to be too slow

Works incredibly well.

Re:I wrote the SQL query in 5 mins. Why does my engineer say... by Pxtl on Wednesday May 24, 2017 @07:44PM (#14414316)
Why use Amazon for static pages? My github page works just fine.
Re:I wrote the SQL query in 5 mins. Why does my engineer say... by projektir on Wednesday May 24, 2017 @10:56PM (#14415013)
I believe Amazon is more robust if your website gets hit by a lot of traffic.
Re:I wrote the SQL query in 5 mins. Why does my engineer say... by Jack000 on Wednesday May 24, 2017 @11:40PM (#14415163)
keep in mind S3 bandwidth is roughly 20~30x more expensive than a VPS.

I put my photo/video blog on S3 reasoning that it'll handle spikes better. At one point it reached the front page of HN and cost me $450. Afterward I looked at the logs and found that my single $20 linode would have handled it fine...

Re:I wrote the SQL query in 5 mins. Why does my engineer say... by mabbo on Thursday May 25, 2017 @07:34AM (#14416657)
Definitely depends on your requirements. AWS can indeed charge a bit for bandwidth.

But if you're talking about small static websites, AWS gives you an easy interface, Cloudfront, Route53, etc. It's a very easy way to do some very complex things.

You might also look into billing alarms. I've got some simple background jobs that I run on lambda, pulling some files to S3 every hour. It costs me a buck or two a month. But if it ever looks like it might charge me $20, it will alarm and email me.

Re:I wrote the SQL query in 5 mins. Why does my engineer say... by stephenr on Thursday May 25, 2017 @12:55AM (#14415365)
I assume you mean data transfer rather than bandwidth, but an often overlooked factor nonetheless.
Re:I wrote the SQL query in 5 mins. Why does my engineer say... by nhatbui on Wednesday May 24, 2017 @07:45PM (#14414317)
How much does all this cost you per month?
Re:I wrote the SQL query in 5 mins. Why does my engineer say... by aaronbrethorst on Wednesday May 24, 2017 @08:04PM (#14414394)
Probably about 10 cents.
Re:I wrote the SQL query in 5 mins. Why does my engineer say... by RonInDune on Wednesday May 24, 2017 @06:50PM (#14414055)
For some reason that feels like cheating on a test but it's brilliant nevertheless. I think I'll try it with the 15 local corner shop sites that I'm hosting out of the goodness of my heart. Thanks!