Skip to content
This repository has been archived by the owner on Aug 12, 2020. It is now read-only.

AfterShip/deprecated-spot-cluster

Repository files navigation

TODO

#1

What it does by spot-cluster?

Auto manage AWS spot instance cluster by evenly distributed to zones and types.

image

AWS IAM

Role

{
    "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": [
                "*"
            ]
        }
    ]
}

How to run?

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

Release History

License

Copyright (c) 2015 AfterShip Licensed under the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published