reference deployment

Spotinst Ocean for Amazon EKS Nodes on AWS

Predictive technology and scaling for Spot Instance management

This Quick Start sets up an Amazon Web Services (AWS) architecture for Spotinst Ocean for Amazon Elastic Container Service for Kubernetes (Amazon EKS) nodes and deploys the architecture into your AWS account in about 10 minutes.

Spotinst Ocean is an application scaling service. Similar to Amazon Elastic Compute Cloud (Amazon EC2) Auto Scaling groups, Spotinst Ocean 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 Ocean cluster autoscaler scales according to the pod resource requirements. Spotinst Ocean also includes a prediction algorithm to predict Spot Instance interruption 15 minutes ahead of time and spin up a new node in a different Spot capacity pool.

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

This Quick Start is for users who want to use Spotinst Ocean’s capabilities in efficiently scaling Amazon EKS clusters while optimizing for performance and cost by leveraging a variety of instance types and sizes running as Spot Instances at a roughly 80 percent 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 Ocean for Amazon EKS nodes on AWS. The diagram shows two Availability Zones; the Quick Start deployment supports up to four Availability Zones. 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.*
    • 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.*
    • In the public subnets, an Amazon EKS cluster in an Auto Scaling group to manage your pods.
    • An Amazon EKS security group with the necessary configurations.
    • An Identity and Access Management (IAM) role for your Amazon EKS cluster.
    • Spotinst Ocean with an Ocean cluster 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 Ocean for Amazon EKS nodes on AWS in about 10 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 Ocean for Amazon EKS nodes.
    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.

    Tip   After you deploy the Quick Start, we recommend that you enable the AWS Cost and Usage Report to track costs associated with the Quick Start. This report delivers billing metrics to an S3 bucket in your account. It provides cost estimates based on usage throughout each month, and finalizes the data at the end of the month. For more information about the report, see the AWS documentation.

    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.

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