

# FinOps

The FinOps specialist connects your Agent Space to AWS Ops Agent for FinOps. Use it to answer questions about AWS cost, spend, and billing in AWS Ops Agent. For example, you can ask why your Amazon EC2 spend went up last month. AWS Ops Agent sends the question to the FinOps agent space that you connect, and returns its answer.

**Note**  
The FinOps specialist is available in preview and is subject to change.

The FinOps specialist uses a FinOps agent space that you already have. Answers come from that FinOps agent space and use its permissions. The FinOps specialist doesn't change your AWS resources. An Agent Space can connect to one FinOps agent space.

For information about AWS Ops Agent for FinOps and what it does, see the [AWS Ops Agent for FinOps documentation](https://docs.aws.amazon.com/finops-agent/latest/userguide/what-is.html).

For more information about adding and removing specialists, see [Specialists](working-with-devops-agent-specialists-index.md).

## Supported Regions
<a name="supported-regions"></a>

During preview, the FinOps specialist is available in Agent Spaces in the following AWS Region:
+ US East (N. Virginia) `us-east-1`

The FinOps agent space must be in the same AWS account and Region as the Agent Space.

## Customer managed keys
<a name="customer-managed-keys"></a>

If your Agent Space uses a customer managed key, you can still add the FinOps specialist. AWS Ops Agent encrypts its record of FinOps specialist activity with your customer managed key. Conversations in your FinOps agent space are stored by AWS Ops Agent for FinOps. They're encrypted with a service managed key, not with the Agent Space's customer managed key. For more information, see [Customer managed keys](aws-devops-agent-security-encryption-at-rest-for-devops-agent.md).

## Prerequisites
<a name="prerequisites"></a>

Before you add the FinOps specialist, set up the following:
+ A FinOps agent space.
+ Permissions for your IAM identity.

### FinOps agent space
<a name="finops-agent-space"></a>

Create a FinOps agent space in the AWS Ops Agent for FinOps console. AWS Ops Agent doesn't create one for you yet. You can also open the AWS Ops Agent for FinOps console from AWS Ops Agent when you add the specialist. For more information, see [Creating an agent](https://docs.aws.amazon.com/finops-agent/latest/userguide/creating-an-agent.html) in the *AWS Ops Agent for FinOps User Guide*.

### Permissions for your IAM identity
<a name="permissions-for-your-iam-identity"></a>

The console lists your FinOps agent spaces with your AWS Identity and Access Management (IAM) identity. AWS Ops Agent also uses your IAM identity to check that you can read the FinOps agent space that you choose. In addition to the [permissions for specialists](working-with-devops-agent-specialists-index.md), your IAM identity needs the permissions in the following IAM policy:

```
{
  "Version": "2012-10-17",		 	 	 		 	 	 
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "finops-agent:ListAgentSpaces",
        "finops-agent:GetAgentSpace"
      ],
      "Resource": "*"
    }
  ]
}
```

## FinOps specialist settings
<a name="finops-specialist-settings"></a>

The following table describes the settings for the FinOps specialist.


| Setting | Description | 
| --- | --- | 
| FinOps agent space | The FinOps agent space that answers cost questions for this Agent Space. The list shows the FinOps agent spaces that you can access, with the scope of each. | 

## Adding the FinOps specialist
<a name="adding-the-finops-specialist"></a>

The following procedures show how to add the FinOps specialist to an existing Agent Space and how to add it while creating a new Agent Space.

### Adding the FinOps specialist to an existing Agent Space
<a name="adding-the-finops-specialist-to-an-existing-agent-space"></a>

Use this procedure when your Agent Space already exists. Before you begin, see [Prerequisites](#prerequisites) on this page.

1. Open the [AWS Ops Agent console](https://console.aws.amazon.com/devops-agent/).

1. Open the Agent Space, and choose the **Capabilities** tab.

1. In the **Specialists** section, choose **Add** in the **AWS Ops Agent for FinOps** row.

1. (Optional) If you don't have a FinOps agent space, choose **Create new**. The AWS Ops Agent for FinOps console opens in a new tab. Create the FinOps agent space, return to the dialog box, and choose **Refresh**.

1. For **FinOps agent space**, choose a FinOps agent space.

1. Choose **Add**.

### Adding the FinOps specialist while creating an Agent Space
<a name="adding-the-finops-specialist-while-creating-an-agent-space"></a>

Use this procedure to add the FinOps specialist as part of the Agent Space creation wizard. Before you begin, see [Prerequisites](#prerequisites) on this page.

1. In the AWS Ops Agent console, start creating an Agent Space. For instructions on creating an Agent Space, see [Creating an Agent Space](getting-started-with-aws-devops-agent-creating-an-agent-space.md).

1. In the **Specialists** section, select **AWS Ops Agent for FinOps**.

1. (Optional) If you don't have a FinOps agent space, choose **Create new**. The AWS Ops Agent for FinOps console opens in a new tab. Create the FinOps agent space, return to the wizard, and choose **Refresh**.

1. For **FinOps agent space**, choose a FinOps agent space.

1. Finish creating the Agent Space.

## Changing the FinOps agent space
<a name="changing-the-finops-agent-space"></a>

Use this procedure to connect the Agent Space to a different FinOps agent space.

1. On the **Capabilities** tab, in the **Specialists** section, select the **AWS Ops Agent for FinOps** row.

1. Choose **Edit**.

1. Choose a different FinOps agent space, and then choose **Save**.

To manage the FinOps agent space itself, choose **Manage in AWS Ops Agent for FinOps**.

## Removing the FinOps specialist
<a name="removing-the-finops-specialist"></a>

When you remove the FinOps specialist, cost questions in this Agent Space stop using the FinOps agent space. AWS Ops Agent doesn't delete the FinOps agent space. You can add the specialist again later.

1. On the **Capabilities** tab, in the **Specialists** section, select the **AWS Ops Agent for FinOps** row.

1. Choose **Remove**.

1. In the **Remove specialist?** dialog box, choose **Remove**.