Skip to content

1974 elastigroup commitments #5800

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added src/docs/_media/elastigroup-commitments.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/docs/elastigroup/features-azure/commitments-elast-aks.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ Azure SPs offer a flexible pricing model that lets you save up to 65% on your Az

## Commitments Scenarios

<img src="https://docs.spot.io/elastigroup/_media/elastigroup-commitments.png" />

<img width="1140" src="https://github.com/user-attachments/assets/6ae7f058-9f2f-40a7-bb09-3e8244a15929" />

### Launching a VM
Expand Down
19 changes: 11 additions & 8 deletions src/docs/elastigroup/features-azure/commitments-setup-aks.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,23 +51,22 @@ Follow the instructions below while referring to the [Azure documentation](https

Upgrade:

<img width="500" src="https://github.com/user-attachments/assets/52ed6761-4d7a-4a8f-b05c-d0356392b217" />

<img src="https://docs.spot.io/managed-instance/_media/commitments_register-upgrade-app.png" />

New:

<img width="500" src="https://github.com/user-attachments/assets/86e527cd-f95d-4be6-a44f-7e01da0c21c4" />
<img src="https://docs.spot.io/managed-instance/_media/commitments-register-new-app.png" />


2. Copy the following credentials from your Azure app and paste them into the fields:
3. Copy the following credentials from your Azure app and paste them into the fields:
* Application (client) ID.
* Directory (tenant) ID.

3. Go to Step 2: Certificates and Secrets
4. Go to Step 2: Certificates and Secrets

### Step 2: Certificates and Secrets

<img width="500" src="https://github.com/user-attachments/assets/e61b0e9d-103d-47f2-b46e-74cac43daa82" />
<img src="https://docs.spot.io/managed-instance/_media/commitments-certs-and-secrets.png" />

1. Copy the following credentials from your Azure app and paste them into the fields:
* Application secret expiration date.
Expand All @@ -78,7 +77,7 @@ Follow the instructions below while referring to the [Azure documentation](https

### Step 3: Permissions Assignment

<img width="500" src="https://github.com/user-attachments/assets/71cae309-ad03-4c61-9859-c455bef17ec2" />
<img src="https://docs.spot.io/managed-instance/_media/commitments-permss-with-reader.png" />

>IMPORTANT:
>
Expand All @@ -90,7 +89,7 @@ Follow the instructions below while referring to the [Azure documentation](https

1. Select the custom reader role, and the permissions in accordance with those you purchased from Azure (by default, both RI and SP are selected).

2. Use the following Azure PowerShell script to assign the Reservation Reader role at the tenant level:
2. Use the following Azure PowerShell script to assign the Reservation Reader role / Savings Plan role at the tenant level:

```
Import-Module Az.Accounts
Expand Down Expand Up @@ -153,5 +152,9 @@ Under Spot API > Elastigroup > Elastigroup Azure Spot VMs >...

* [Create Elastigroup](https://docs.spot.io/api/#tag/Elastigroup-Azure-Spot-VMs/operation/elastigroupAzureSpotVmsCreate) or [Update Elastigroup](https://docs.spot.io/api/#tag/Elastigroup-Azure-Spot-VMs/operation/elastigroupAzureSpotVmsUpdate) (under strategy)

* [Import Group from VMp](https://docs.spot.io/api/#tag/Elastigroup-Azure-Spot-VMs/operation/elastigroupAzureSpotVmsImportFromVirtualMachine)
* [Get Elastigroup Status](https://docs.spot.io/api/#tag/Elastigroup-Azure-Spot-VMs/operation/elastigroupAzureSpotVmsGetStat)