Docker Cluster

Docker Cluster nodes create a pool of compute resources that Docker Service nodes may be provisioned onto.

A cluster is made up of one or more AWS EC2 Server Instances. These instances use the latest Amazon ECS-Optimized Images to boot and connect to a shared AWS EC2 Container Service Cluster. If there is a new ECS-Optimized image available at deployment time, Stakery will automatically perform a rolling update of the instances in the cluster to ensure your deployments stay up to date on security issues.

Clusters automatically scale in response to the amount of resources reserved by Docker Service instances running on them. When reservations increase above the Scale Out threshold, the size of the cluster is increased using a percentage basis. Likewise, when reservations decrease below the Scale In threshold, the size of the cluster is decreased.

Private Docker image registries are supported by providing registry credentials to the Docker cluster.

Settings

Name

A label used for the node in the canvas.

Instance Type

The AWS EC2 Instance Type used as the basic unit of compute power for the cluster.

Minimum Instances

The minimum number of AWS EC2 instances to keep running regardless of compute and memory reservations.

Maximum Instances

The maximum number of AWS EC2 instances to run regardless of compute and memory reservations.

Compute Scale In

The percentage threshold for Docker Service Compute Unit reservations below which the number of AWS EC2 instances in the cluster will be decreased.

Compute Scale Out

The percentage threshold for Docker Service Compute Unit reservations above which the number of AWS EC2 instances in the cluster will be increased.

Memory Scale In

The percentage threshold for Docker Service Memory reservations below which the number of AWS EC2 instances in the cluster will be decreased.

Memory Scale Out

The percentage threshold for Docker Service Memory reservations above which the number of AWS EC2 instances in the cluster will be increased.

Scale Percentage

When scaling in or out, how much to increase or decrease the number of AWS EC2 instances in the cluster by.

Registry Credentials

A list of registry credentials for private registries following the Docker config.json auths property format. Example:

{
  "https://index.docker.io/v1/": {
    "auth": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx="
  },
  "quay.io": {
    "xxxx": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  },
  "https://registry.example.io/v0/": {
    "auth": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx="
  }
}

Credentials are required when using private Docker registries for Docker Service Images, like Quay.io and Docker Hub.

Referenceable Properties

The following properties may be referenced by Function and Docker Service nodes:

Property Value Example
id Cloud Service Identifier arn:aws:ecs:us-east-1:0123456789012:cluster/lkjsdfsd8sd9lk

Try Stackery For Free

Gain control and visibility of your serverless operations from architecture design to application deployment and infrastructure monitoring.