AutoSpot
The AutoSpot page allows users to view and manage cloud accounts associated with the AutoSpot service. It provides an interface for registering cloud accounts and viewing their linked account information.
To access this page, navigate to Optimize > AutoSpot.
Viewing AutoSpot Accounts
The AutoSpot page displays a list of registered cloud accounts and their associated information.
The following table describes the columns available on the page.
| Column | Description |
|---|---|
| No. | Displays the sequential number of the account entry. |
| Cloud Service | Displays the cloud service provider associated with the registered account. |
| Linked Account | Displays the unique identifier of the linked cloud account. |
| Alias | Displays the alias associated with the linked cloud account. |
Users can also perform the following actions:
- Search - Enter a keyword in the search field to find specific account entries.
- Sort - Click the sorting icon in the applicable column header to arrange the displayed entries.
- Pagination - Use the pagination controls at the bottom of the table to navigate through account entries and adjust the number of displayed items.
- Add Account - Click Add Account to register a cloud account with AutoSpot.
Adding an Account via CloudFormation
The Add quickly via CloudFormation option allows users to register an AWS account with AutoSpot using an AWS CloudFormation template.
To add an account using CloudFormation:
-
On the AutoSpot page, click Add Account in the upper-right corner of the page.
Add AutoSpot Accounts -
Under How to add the account, select Add quickly via CloudFormation.
-
Click Create External ID to generate an external ID for linking the AWS account to AutoSpot. Make sure that the AWS account being added is already registered in the Cloud Accounts menu.
-
Click Open Template to open the AWS CloudFormation template. Sign in using the AWS account being registered.
-
On the AWS CloudFormation page, review the template configuration, select I acknowledge that AWS CloudFormation might create IAM resources, and click Create stack.
-
Wait until the CloudFormation stack status changes to CREATE_COMPLETE. This process may take a few minutes.
-
Navigate to the Outputs tab of the created CloudFormation stack. Copy the value associated with the AutoSpotRoleArn key.
-
Return to the Add Account page and paste the copied value into the AutoSpot RoleArn field.
-
Click Add to complete the account registration. Alternatively, click Cancel to exit without adding the account.
Add AutoSpot Accounts via CloudFormation
Adding an Account Manually
The Add Manually option allows users to register an AWS account with AutoSpot by manually configuring the required AWS Identity and Access Management (IAM) policy and role.
To add an account manually:
-
On the AutoSpot page, click Add Account in the upper-right corner of the page.
Add AutoSpot Accounts -
Under How to add the account, select Add Manually.
-
Click Create External ID to generate an external ID for linking the AWS account to AutoSpot.
Make sure that the AWS account being added is already registered in the Cloud Accounts menu.
-
Click Open IAM console and sign in using the AWS account being registered.
-
In the AWS IAM console, navigate to Policies and click Create policy.
a. On the Create policy page, select the JSON tab.
b. Copy the JSON policy provided on the AutoSpot Add Account page and paste it into the policy editor.
c. Click Next: Tags, then Next: Review.
d. Enter
AutoSpot-Policyas the policy name and click Create policy. -
Navigate to Roles and click Create role.
a. Select AWS account as the trusted entity type.
b. Select Another AWS account and enter the Account ID displayed on the AutoSpot Add Account page.
-
Select Require external ID, enter the external ID generated in Step 3, and click Next.
-
Search for and select the
AutoSpot-Policycreated earlier, then click Next. -
Enter
AutoSpot-Roleas the role name. Review the role configuration and click Create role. -
Open the newly created
AutoSpot-Roleand copy its Amazon Resource Name (ARN). -
Return to the AutoSpot Add Account page and paste the copied ARN into the AutoSpot RoleArn field.
-
Click Add to complete the account registration.
Alternatively, click Cancel to exit without adding the account.
Add AutoSpot Accounts Manually