Skip to main content

elasticache

Last updated on

Feature FlagBehind a Feature Flag

ElastiCache support in Commitment Orchestrator is controlled by the CCM_COMMORCH_ELASTICACHE feature flag.

Before You Begin

To setup Commitment Orchestrator in Harness CACM, you need:

  • Active CACM Connectors: You must have at least one active cloud connector set up for the cloud providers you want to categorize costs for: Set Up CCM Connectors.
  • A master account with the right permissions to be added via AWS connector on which you want to enable orchestration. Select the services for which you want to enable orchestration (permissions can be limited to specific service).

Below is the Elasticache permissions required:

HarnessCommitmentElastiCachePolicy:
Type: 'AWS::IAM::ManagedPolicy'
Condition: CreateHarnessCommitmentElastiCachePolicy
Properties:
Description: Policy granting Harness Access to ElastiCache Reserved Instances
PolicyDocument:
Version: 2012-10-17
Statement:
- Effect: Allow
Action:
- 'ce:GetSavingsPlansCoverage'
- 'ce:GetReservationCoverage'
- 'ce:GetSavingsPlansUtilization'
- 'ce:GetDimensionValues'
- 'ce:GetReservationUtilization'
- 'ce:GetSavingsPlansUtilizationDetails'
- 'ce:GetCostAndUsage'
- 'organizations:ListAccounts'
- 'elasticache:DescribeReservedCacheNodes'
- 'elasticache:DescribeReservedCacheNodesOfferings'
- 'elasticache:PurchaseReservedCacheNodesOffering'
Resource: '*'


Steps to configure:

  • Go to Commitment Orchestrator > Setup Orchestrator.
  • Specify the cloud account and service (Elasticache) for which you want to enable orchestration. Currently, Commitment Orchestrator supports AWS Elastic Compute Cloud (EC2), AWS Relational Database Service (RDS), and AWS Elasticache. Support for other cloud providers is in the works.

  • Specify the Master Account Connector. You need to select the master account with the right permissions to be added via connector on which you want to enable orchestration. You can either select an existing connector for your master account or create one.

    Please note, even if "Commitment Orchestrator" is enabled in Connector Set Up for any other Account except for Master, it will not be visible in the connector list in Commitment Orchestrator Setup since Commitment Orchestrator requires Master Account connector.


Overview Screen

The Orchestration Setup page displays a comprehensive list of all Master Accounts with Commitment Orchestrator connector permissions. From this page, users can enable new orchestration setups and view key metrics including Last 30 Days Coverage, Savings, and the current status of each Orchestrator configuration.


Disable Commitment Orchestrator

To disable a Commitment Orchestrator, navigate to Cloud & AI Cost Management > Commitment > Orchestration Setup. Click on the three ellipses for the orchestrator you want to disable > Manage Orchestration Setup > Disable.

Disabling the Commitment Orchestrator will:

  • Stop all automated commitment management for the selected orchestrator

  • Remove existing orchestration configurations