using GAE and DryDrop to host static sites for free
nata2.org
nata2.org
Anyway, here it is. As the blog post explains [1], I created a small Flask app that will let you host multiple static sites/domains on one GAE instance without having to learn Git or push to Github or anything. Just download the app [2], put the static files and media in the appropriate directories, configure the URLs and deploy.
[1] http://blog.stochastictechnologies.com/easily-host-multiple-...
[2] https://github.com/stochastic-technologies/static-appengine-...
Also, I like your version of the static hoster way more. Really simple, no git/github. I think friends that use Dreamweaver could use this.
If i didn't already use git in my workflow, i would prefer this approach.
The trickiest part of using GAE for static files is setting up the app.yaml, since it's different from just FTPing files and having them show up on your server. Here's an example app.yaml for a completely static site, where the root redirects to index.html, and the rest is mapped to a static directory (with nested directories in it): https://gist.github.com/774838
One question according to GAE hosting: If your application wasn't requested for some time it is unloaded from memory and first request after that require more time. Is it still apply to static sites?
* [1] http://pages.github.com/
According to GH pages performance is great.
But still I think DryDrop may be useful for some folks who want to use GAE for hosting. See the FAQ on http://drydrop.binaryage.com/#faq
You don't need to pay anything for CNAME support now. It was not true previously but now only "obsessed with the idea of running your site on GAE" reason remains.
If the request is going through a static handler (as declared in app.yaml), then the request won't go to the Apps frontend servers at all, it will go to the static file servers. So, no, the app unloading shouldn't be relevant for static files.
I made this diagram for a recent talk that somewhat shows that: http://www.slideshare.net/wuzziwug/writing-apps-the-googley-...
EDIT: It looks like DryDrop may actually use script handlers, not static handlers, in the app.yaml, so app unloading would apply.
Yes, I should write more.
Not to mention, while some have mentioned that you could create a github page, does that mean you'd have to create a separate repo for every page? (Not sure how github pages work at that level). This solution would allow for a single repo that holds all the sites - whereas not polluting your repo space.
I think this solution is for a particular niche of devs who control N number of domains - who want minimal maintenance and most importantly - no cost. ;)
Thanks for the post, really nice
You do have to pay for cloudfront usage. I am not sure the breakdown of custom origin vs s3 is - but i imagine it is similar.
Here yea go: https://github.com/harperreed/drydrop
See Option B here:
http://www.labnol.org/software/dropbox-with-custom-domain/18...