Open mojodna opened 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
ext4
with OverlayFSsystemd
unit files via cloud-config
etcd
or flanneld
right awaynode_modules
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.
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
.
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).