• An AWS account with running instances under an ELB
  • A Spotinst account connected to an AWS account
Note: This tutorial describes the creation process of an Elastigroup cluster VIA the Spotinst console. In case you require to create and configure your Elastigroup cluster VIA API or CI\CD tools, please read our documentation for the exact commands VIA API, CloudFormation, or Terraform.
    1. In the Spotinst console, Click on “Elastigroups” on the left-hand menu.
      In the “Use-Cases” menu, select “Elastic Load Balancer

    2. Select the Region, Load Balancer type, and the specific load balancer you wish to integrate into your Elastigroup cluster.

      The Spotinst platform automatically creates the Elastigroup based on the parameters imported from AWS regarding the specific ELB.
    3. After the initial creation, we will walk through every tab and review the configuration.
    4. Browse to the “General” tab:
      1. Name: Select a name for the Elastigroup cluster

      2. Capacity: Select the Target\Minimum\Maximum number of instances for the Elastigroup.

      3. Advanced: Complete the advanced configuration based on your requirements.

        Note: For more information on the “Advanced” configuration, please read our extended documentation explaining each parameter

      4. Scheduling: You can create a schedule for the Elastigroup in Cron expression.

        Note: For more information on configuring a “Schedule”, please read our documentation.

    5. Browse to the “Compute” tab:
      1. VPC: Verify that the VPC selected is the correct one. 
      2. Product: Verify that the Product selected is the correct one.
      3. On-Demand Type: Select the On-Demand Instance type that the Elastigroup will fall-back to in cases in which the Spot Market is unavailable.
      4. Availability Zones: Select the “availability zones” in which the Elastigroup cluster will be able to run, and select the relevant Subnet\s. 
        Note: In order to have a more diverse Spot market, it’s recommended to select multiple AZ’s and their corresponding Subnet\s.

        Note: For more information regarding the Spot Market Scoring, please read our documentation.

      5. Spot Types: Select the eligible instance types you wish to have in your Elastigroup.
        Note: It’s recommended to select multiple instance types, thus in order to increase the Spot Market Scoring.

      6. Launch Specification: In this section, you can configure which image the instance will launch with, Security groups, Key-Pairs and related AWS tags.

      7. Additional Configurations: In this section, you can configure additional items related to your Elastigroup.

        Note: Note: You can hover over the tooltip of every item to learn more regarding that specific configuration.

      8. Load Balancers: Verify that the Load Balancer you chose in Step B is selected.

      9. Auto-Healing: In this section, you can configure which type of Health checks will be performed on the instance.
        Note: For more information regarding “Auto-Healing”, please read our documentation.

    6. Browse to the “Scaling” Tab:
        1. In this section, you can configure scaling and termination policies, in cases that you will need to scale instances to support the load of your web application. For more information regarding Elastigroup’s scaling policies, please read our documentation:

    7. Browse to the “Review” tab
      1. Under “Summary” you can review the final configuration of your Elastigroup.
      2. In addition to that, the Spotinst console automatically generates a template of your Elastigroup to be used VIA Cloudformation or Terraform.
        On the bottom right corner, click on “Create” and wait until your Elastigroup is created.