---
description: >-
  Use the Spot integration to automate infrastructure for autoscaling
  applications.
---

# Spot by Netapp

## Overview <a href="#overview" id="overview"></a>

Spot by NetApp automates and optimizes your cloud infrastructure in AWS, Azure, and Google Cloud to deliver SLA-backed availability and performance at the lowest possible cost.

Fylamynt supports both Elastigroup and Spot Ocean actions:

* Spot Elastigroup simplifies and automates cloud infrastructure for scale-out applications running in AWS, Azure, and GCP, freeing operations teams from the burdens of infrastructure management. Elastigroup continuously analyzes your resource usage and provides autoscaling groups that optimize compute resources to ensure availability and meet resource demands using the lowest-cost compute options.
* Spot Ocean automates cloud infrastructure for containers. It continuously analyzes how your containers are using infrastructure, automatically scaling compute resources to maximize utilization and availability, and utilizing the optimal blend of spot, reserved, and on-demand compute instances.

## Use Cases <a href="#use-cases" id="use-cases"></a>

The integration between Fylamynt and Spot lets you:

1. Scale up the Elastrigroup cluster by adding instances to your cluster.
2. Scale down the Elastrigroup cluster by removing instances from your cluster.
3. Update auto-headroom percentage for an Ocean cluster.

## Configure Spot by Netapp in Fylamynt

* Navigate to **Settings** > **Integrations** > **Spot by NetApp**
* Configure a new integration instance

**Instruction to setup Spot by NetApp integration**

Follow the steps listed below in your **Spot by NetApp Account** and get the desired parameters to enter in **Fylamynt**.

* Login to your Spot by NetApp account
* Click the user profile
* ![](https://2168485084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXYvxfYq9m2JdKqaCdk%2Fuploads%2F5Orb4p7I6YDU9LSkfwCy%2Fimage.png?alt=media\&token=4b516c04-864c-469d-8baf-1e7f33c32e1f)
* Select **My Organization**
* Select **Accounts**&#x20;
* ![](https://2168485084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXYvxfYq9m2JdKqaCdk%2Fuploads%2FPFL9Q8a56Y2q4IXEPqYV%2Fimage.png?alt=media\&token=211c19d8-9456-4728-b344-060348cf8c52)
* Copy the **Spot Account ID and** paste it into the **Spot Account ID** field on the Authorize Fylamynt card on the integration settings page.
* Select the **API** tab
* ![](https://2168485084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXYvxfYq9m2JdKqaCdk%2Fuploads%2F7fZBa87P93h4kCyjzXai%2Fimage.png?alt=media\&token=2844efaf-2c87-4047-986f-425a8a86d508)
* Click **GENERATE TOKEN** or use an existing token
  * Enter a Token name
  * Click **GENERATE**
  * ![](https://2168485084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXYvxfYq9m2JdKqaCdk%2Fuploads%2FYmIlmAGg1N2LodAWf8V9%2Fimage.png?alt=media\&token=7a5b746e-40b4-4b16-a8d6-a9948d102f7b)
* Copy the **Token** and paste it into the **Spot API Token** field on the Authorize Fylamynt card on the integration settings page.
* Click Authorize

## Integration Actions <a href="#integration-actions" id="integration-actions"></a>

You can add the following actions in the Fylamynt workflow builder, as part of your workflow.

1. [Elastigroup AWS Scale Up](#elastigroup-aws-scale-up)
2. [Elastigroup AWS Scale Down](#elastigroup-aws-scale-down)
3. [Ocean AWS Update AutoHeadroom](#ocean-aws-update-autoheadroom)

### Elastigroup AWS Scale Up

Fylamynt action to add instances to your Elastigroup AWS

**Input**

| **Parameter Name**    | **Description**                                   | **Required** |
| --------------------- | ------------------------------------------------- | ------------ |
| Spot Elastigroup Name | Spot Elastigroup you want to Scale Up             | True         |
| Adjustment            | The number of instances to add to the Elastigroup | True         |

**Output**

| **Parameter Name** | **Type**   | **Description**                        |
| ------------------ | ---------- | -------------------------------------- |
| new\_instance\_ids | StringList | Instance Ids added to Spot Elastigroup |

**Action Example**

* Select **Spot Elastigroup Name** and **Adjustment** value

![](https://2168485084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXYvxfYq9m2JdKqaCdk%2Fuploads%2FxV5NPVPN4qUnilX6kS5v%2Fimage.png?alt=media\&token=b9a7606e-8671-445c-95e1-7054937804b8)

### **Elastigroup AWS Scale Down**

Fylamynt action to remove instances from your Elastigroup AWS

**Input**

| **Parameter Name**    | **Description**                                        | **Required** |
| --------------------- | ------------------------------------------------------ | ------------ |
| Spot Elastigroup Name | Spot Elastigroup you want to Scale Down                | True         |
| Adjustment            | The number of instances to remove from the Elastigroup | True         |

**Output**

| **Parameter Name**     | **Type**   | **Description**                            |
| ---------------------- | ---------- | ------------------------------------------ |
| removed\_instance\_ids | StringList | Instance Ids removed from Spot Elastigroup |

**Action Example**

* Select **Spot Elastigroup Name** and **Adjustment** value

![](https://2168485084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXYvxfYq9m2JdKqaCdk%2Fuploads%2FdZzMA2KslAVj5qCzY2Bn%2Fimage.png?alt=media\&token=289be6a5-cd57-4390-bac7-c4ed039f9977)

### **Ocean AWS Update AutoHeadroom**

Fylamynt action to update overall Ocean AWS cluster capacity percent, provide values from 0-50

**Input**

| **Parameter Name**       | **Description**                                          | **Required** |
| ------------------------ | -------------------------------------------------------- | ------------ |
| Spot Ocean Cluster Name  | Spot Ocean Cluster name you want to adjust auto headroom | True         |
| Auto Headroom Percentage | Provide values from 0-50                                 | True         |

**Output**

| **Parameter Name**         | **Type** | **Description**                           |
| -------------------------- | -------- | ----------------------------------------- |
| updated\_time              | String   | Time of updated auto headroom percentage  |
| ocean\_cluster\_name       | String   | Spot Ocean Cluster name                   |
| auto\_headroom\_percentage | Integer  | Value of updated auto headroom percentage |

**Action Example**

* Select **Spot Ocean Cluster Name** and **Auto Headroom Percentage** value

![](https://2168485084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXYvxfYq9m2JdKqaCdk%2Fuploads%2FMHsPydOX9TLbminZ2B8u%2Fimage.png?alt=media\&token=b19a9ac3-f907-49eb-8e75-591e5801ae25)
