Hacker News new | ask | show | jobs
by aaronblohowiak 5577 days ago
s3 / cloudfront
3 comments

You don't even need Cloudfront. You can now host static sites directly from S3. See http://aws.typepad.com/aws/2011/02/host-your-static-website-... and http://stackoverflow.com/questions/5043616/amazon-s3-static-...
This is what I'd suggest too, with the proviso that the most likely "single point of failure" moves from being some technical decision you make to being the credit card it's paid for with. At ~3c or 7c/month it becomes easy to forget you need to update the expiry date every 3 years...
If the account number has not changed, the card will continue to work after the expiration date. All that most payment gateways and credit card companies require is that when you attempt to charge it, you give an expiration date that is in the future. I've seen some recommend that if the card on file is expired, just add 3 years to the expiration date and try it.

Also, VISA and MC both provide an updater service, that some payment gateways make available to some merchants. The updater service allows a merchant to ask for an update on the status of a credit card. Possible responses are: no update available; account is closed; here is the new expiration date for the card; card was replaced and here is the new number and expiration date. The service is pretty cheap. One of the card companies charges something like $150 to sign up, the other charges nothing. Queries are free if there is no updated information available, and something like $0.10 if updated information is returned. They do require that you query for all your stored cards at least once a year.

This doesn't work for all cards. Although the service is provided by VISA and MC, it is up to the individual bank or other organization that actually issued the card to decide if they will support it. When we started using it, it boosted revenue on subscription billing by maybe 2-3%.

I don't think the updater service is available to everyone. I believe they do some looking over your history to try to ensure that you aren't the kind of business that would be misusing the service. I'm sure Amazon would qualify.

The credit card I used for a development account expired in January, and Amazon sent me email reminders. They also continued to charge the (expired) card.

This suggests to me that card expiry is not a likely failure mode.

No no, that's _exactly_ the failure mode to keep an eye out for.

I've seen AWS not actually bill me, and just send email accounts, for months and months. It's not worth their time billing a few cents or even a few dollars a month, so by the time an account "goes wrong" it can have been half a year or more since your card got re-issued, and you've forgotten you need to update Amazon for anything.

(it's much less of an issue if you're piggybacking your AWS stuff on a regularly used Amazon account/creditcard, but if you set this up as a one-off for a tiny S3/CloudFront "web hosting" setup, it could easily bite you on the ass in a few years time...)

Are there any tools that you recommend that make it super easy to get a static site up and running on S3 and Cloudfront?
On Mac OS X I use an app called S3 Browser, and the ElasticFox Firefox plugin.

I dunno if they're "the best", but they're certainly workable.

They have excellent web-based control panels. I doubt you could make it significantly easier really.