Skip to content
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.
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
21 changes: 12 additions & 9 deletions src/docs/elastigroup/features-azure/commitments-setup-aks.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,31 +43,30 @@ Follow the instructions below while referring to the [Azure documentation](https
2. Create or edit the group. See [Create an Elastigroup](https://docs.spot.io/elastigroup/getting-started/create-an-elastigroup-for-azure).
3. In the Availability settings area, next to Utilize RIs/SPs, click **Add permission**.

---NEED SCREENCAP---CREATE ELASTIGROUP---
<img width="900" src="https://docs.spot.io/elastigroup/_media/elastigroup-commits-find-in-wizard.png" />

### Step 1: App Registrations

1. In Connect RIs/SPs to Spot wizard, step 1, create (register) a new Azure app or upgrade an existing one.

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)