hotosm / oam-server

DEPRECATED: OpenAerialMap processing and tile server
4 stars 3 forks source link

Deploy OAM Server on AWS #11

Open mojodna opened 9 years ago

mojodna commented 9 years ago

Assuming Docker as a delivery mechanism (#10), investigate ECS and Elastic Beanstalk as alternatives to one-off Docker instances running under CoreOS (or similar), configured with CloudFormation (vanilla or using a configuration abstraction).

hectcastro commented 9 years ago

I've gotten a bit more familiar with CoreOS, and think using it in a first pass at OAM server deployment is worthwhile. Worst case, we end up deploying Docker on a Debian based operating system as a fallback.

Pros

Cons

Currently reading up on ECS and EB relatively recent support for multicontainer Docker environments. Hoping to add to the discussion about those topics later in the week.

mojodna commented 9 years ago

FWIW, here's a CloudFormation config that we use for Toner (no autoscaling implemented): https://gist.github.com/mojodna/327ed929a31a4eb978a4

It disables automatic upgrades, doesn't use etcd, and punts on log aggregation, etc.

Freezing node_modules can also be achieved using npm shrinkwrap.