copyright | lastupdated | keywords | subcollection | ||
---|---|---|---|---|---|
|
2025-03-06 |
app-configuration, app configuration, enable configuration aggregation |
app-configuration |
{{site.data.keyword.attribute-definition-list}}
{: #ac-configuration-aggregator}
Configuration Aggregator can be used to facilitate a Cloud Governance SME with up-to-date configuration data of IBM Cloud resources in one place so that comprehensive information is available for goverance and compliance initiatives. All the plans of the {{site.data.keyword.appconfig_short}} service will have the Configuration Aggregator feature available. As an app owner, the user has to explicitly enable the Configuration Aggregator. It can be done on the {{site.data.keyword.appconfig_short}} instance either via API, SDK or Dashboard. The {{site.data.keyword.appconfig_short}} service will start the resource collection and periodically to keep the metadata current via reconciliation. User can use the query API to get the updated metadata of the service instances in the account.
Configuration Aggregator feature can be configured on an {{site.data.keyword.appconfig_short}} instance at Enterprise account level to collect resource metadata from all the sub-accounts of the enterprise. A trusted profile template should be created providing access to {{site.data.keyword.appconfig_short}} service instance to all the IAM enabled services. The trusted profile template should then be assigned to the required accounts in the Enterprise, which in turn creates the trusted profile in the respective sub-accounts providing access to App Configuration service instance to collect resource metadata.
By default, recording is always set to be OFF. {: shortdesc}
{: caption="Default Configuration Aggregator" caption-side="bottom"}
{: #ac-enable-configuration-aggregator-single-account}
To enable configuration aggregator, complete these steps:
-
In the {{site.data.keyword.appconfig_short}} console, click Configuration aggregator.
-
Click on Define an aggregation. The side panel opens with fields for setting up recording details.
{: caption="Set up recording - Single Account" caption-side="bottom"}
-
Select either all regions or specific regions from the region list. Click on Save to complete. This will create a Trusted Profile on {{site.data.keyword.appconfig_short}} instance having reader access for reading the configurations of the resources.
-
Click on toggle button to enable recording. It will ask for confirmation. Click on Turn on button.
{: caption="Enable Recording - Single Account" caption-side="bottom"}
{: #ac-enable-configuration-aggregator-enterprise-account}
In order to enable configuration aggregator feature for enterprise account, user must complete following Pre-requisities:
-
Create an {{site.data.keyword.appconfig_short}} instance at the top-level of the enterprise i.e enterprise account.
-
Create a Trusted Profile Template providing access for the {{site.data.keyword.appconfig_short}} service instance to the IAM enabled services and Account Management services. Refer here
{: caption="Trusted Profile Template - Enterprise Account" caption-side="bottom"}
The trusted profile template cannot be assigned to the enterprise account i.e the top level account of the enterprise. If you choose to collect metadata of resources in the enterprise account, you should create a separate trusted profile that should be applied at the top level account additionally. {: note}
- Assign the Trusted profile template to the required accounts and account groups in the Enterprise.
The Enterprise IAM should be enabled in the sub-accounts of an Enterprise to be managed via Enterprise. For more details, refer here {: note}
To enable configuration aggregator for an enterprise account, complete the pre-requisites and following steps:
-
In the {{site.data.keyword.appconfig_short}} console, click Configuration aggregator.
-
Click on Define an aggregation. The side panel opens with fields for setting up recording details.
{: caption="Set up recording - Enterprise Account" caption-side="bottom"}
-
Provide the Set up record details:
- Region - regions from which user wants to collect configuration data.
- Enterprise ID - enterprise account id.
- Trusted template ID - trusted profile template id created as pre-requisite.
- Trusted profile ID - trusted profile id created as pre-requisite.
-
Click Save.
-
Click on toggle button to enable recording. It will ask for confirmation. Click on Turn on button.
{: caption="Enable Recording - Enterprise Account" caption-side="bottom"}
{: #ac-enable-configuration-aggregator-query-configs}
We can query for the configurations of IBM Cloud resources using list API. It will provide with the detailed metadata of the resources when Configuration Aggregator is enabled for an {{site.data.keyword.appconfig_short}} instance. For more details, refer here{: external}.
{: #ac-list-of-services-configaggregator}
Configuration Aggregator supports the following services: