Friday, March 10, 2017

Getting Started

Today's random software topic is related to web development in Clojure. Namely, figuring out how to deploy an application to the internet for little cost and little effort.

I've used Digital Ocean (DO) in the past, and it's cheap. However, it's more work than I want to deal with for a hobby project. When I say, "more work than I want to deal with," I don't mean that it's hard to create an application on DO, but over time the effort involved in keeping things up to date gets higher, and I'd like to figure out how to avoid that.

I decided to take a look at Google App Engine tonight. Here are my notes.
Earlier today I saw that they added Postgres to their SQL offerings. Checked out the various price tiers, and it's not clear to me what they mean. I did learn that 5G of space on the smallest instance is less than $10 per month, but no idea how that would perform.
Signed up to try. First off, there’s $300 in credit that’s good for a year. That’s good for experimenting. You can run 28 hours per day of standard app engine instances. So a single one of those is free. These are restricted to Java 7, so have to be careful about what’s going on with that. There’s also a fairly restrictive whitelist of classes that it can run, so that could interfere with library selection. Still worth investigating.
Up next for tomorrow, get a simple hello world app written in Clojure and deployed. At a minimum, it should be able to use Cheshire, will also need to figure out if it can talk to a PostgreSQL instance. I may or may not get to that tomorrow.
Cheers and good night.

No comments:

Post a Comment