spot-cluster

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

Usage no npm install needed!

<script type="module">
  import spotCluster from 'https://cdn.skypack.dev/spot-cluster';
</script>

README

TODO

https://github.com/AfterShip/spot-cluster/issues/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?

npm install npm start


## Release History

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