reference deployment

Spotinst Elastigroup for Amazon ECS on AWS

Predictive technology and scaling for Spot Instance management

This Quick Start sets up an AWS architecture for Spotinst Elastigroup for Amazon Elastic Container Service (Amazon ECS) and deploys it into your AWS account in about 7 minutes.

Spotinst Elastigroup is an application scaling service. Similar to Amazon Elastic Compute Cloud (Amazon EC2) Auto Scaling groups, Spotinst Elastigroup is designed to optimize performance and costs by leveraging Spot Instances combined with On-Demand and Reserved Instances.

Using a combination of automated Spot Instance management and the variety of instance sizes, the Spotinst Elastigroup autoscaler scales according to the task resource requirements, instead of cluster resource thresholds, and achieves over 90% resource utilization while keeping your cluster resources as defragmented as possible.

This Quick Start uses AWS CloudFormation templates to deploy Spotinst Elastigroup for Amazon ECS into a virtual private cloud (VPC) within a single AWS Region across multiple Availability Zones.

This Quick Start is for organizations that want to use Spotinst Elastigroup’s capabilities to efficiently scale Amazon ECS clusters that are running as Spot Instances, providing a roughly 80% discount compared to On-Demand Instances.

Spotinst logo

This Quick Start was developed by Spotinst, Inc. in collaboration with AWS. Spotinst is an APN Partner.

  •  What you'll build
  •  How to deploy
  •  Cost and licenses
  •  What you'll build
  • Use this Quick Start to automatically set up Spotinst Elastigroup for Amazon ECS on AWS. The deployment includes the following:

    • A highly available architecture that spans multiple Availability Zones.*
    • A VPC configured with public and private subnets according to AWS best practices, to provide you with your own virtual network on AWS.*
    • An internet gateway to allow access to the internet. This gateway is used by the bastion hosts to send and receive traffic.*
    • In the public subnets, managed NAT gateways to allow outbound internet access for resources in the private subnets.*
    • In the public subnets, a Linux bastion host in an Auto Scaling group to allow inbound Secure Shell (SSH) access to EC2 instances in public and private subnets.*
    • An Amazon ECS security group with the necessary configurations.
    • An Amazon ECS cluster to manage your tasks.
    • An IAM role for your Amazon ECS cluster.
    • Spotinst Elastigroup with Spotinst Elastigroup autoscaler utilizing Spot Instances.

    *  The template that deploys the Quick Start into an existing VPC skips the tasks marked by asterisks and prompts you for your existing VPC configuration.

  •  How to deploy
  • To deploy Spotinst Elastigroup for Amazon ECS on AWS in about 7 minutes, follow the instructions in the deployment guide. The deployment process includes these steps:

    1. If you don't already have an AWS account, sign up at https://aws.amazon.com.
    2. Sign up for the 14-day free trial for SpotInst Elastigroup for Amazon ECS.
    3. Launch the Quick Start. You can choose from the following two options:
    4. Test the deployment. You can also add more instance types and sizes.
  •  Cost and licenses
  • You are responsible for the cost of the AWS services used while running this Quick Start reference deployment. There is no additional cost for using the Quick Start.

    The AWS CloudFormation template for this Quick Start includes configuration parameters that you can customize. Some of these settings, such as instance type, will affect the cost of deployment. For cost estimates, see the pricing pages for each AWS service you will be using. Prices are subject to change.

    To deploy this AWS CloudFormation template, you need a Spotinst token and Account ID. You can generate the token and ID by registering for a 14-day free trial account with Spotinst at console.spotinst.com.

    Elastigroup requires no commitment periods, upfront costs or monthly fees. Spotinst Elastigroup usage is calculated on a per second basis.