Auto manage AWS spot instance cluster by evenly distributed to zones and types.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1435887829000",
"Effect": "Allow",
"Action": [
"elasticloadbalancing:DeregisterInstancesFromLoadBalancer",
"elasticloadbalancing:RegisterInstancesWithLoadBalancer"
],
"Resource": [
"*"
]
},
{
"Sid": "Stmt1435902465000",
"Effect": "Allow",
"Action": [
"ec2:CreateTags",
"ec2:DeleteTags",
"ec2:DescribeInstanceAttribute",
"ec2:DescribeInstanceStatus",
"ec2:DescribeInstances",
"ec2:DescribeTags",
"ec2:ModifyInstanceAttribute"
],
"Resource": [
"*"
]
}
]
}
git clone git@github.com:AfterShip/spot-cluster.git
cd spot-cluster
npm install
npm start
OR
npm install -g spot-cluster
spot-cluster -p 3030
Copyright (c) 2015 AfterShip Licensed under the MIT license.