Configuring AWS Connector
Import HEAL SSL certificates into the connector container's Java keystore.
Follow the bellow steps to configure the AWS Connector:
-
Execute the following command to run a new command in a running container.
docker exec -it <containerid> bash -
Import HEAL certificate to the Keystore.
-
Generate the SSL certificate from the server using the following command.
echo -n | openssl s_client -connect '<SERVERIP>:<PORT>' | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /tmp/<servicename>.crt<SERVERIP>:<PORT> – Provide the IP address and port number of GRPC or HAPROXY.
-
Import the certificate into the Java cacerts Keystore using the following command,
keytool -import -trustcacerts -keystore <JAVA_HOME>/jre/lib/security/cacerts -storepass changeit -noprompt - alias <servicename> -file /tmp/<servicename>.crt -
Copy cacerts file to the config directory.
cp <JAVA_HOME>/jre/lib/security/cacerts <Connector Build path>/config/Note: This is needed to push KPIs to HEAL over SSL.
-
-
Import AWS certificate to Keystore.
-
To ensure connectivity between the AWS system and the connector, add the certificate using the steps below:
-
Navigate to below directory:
https://www.amazontrust.com/repository/ -
Navigate to the Root CAs table.
- Under the Self-Signed Certificate, download the PEM certificate.
- Copy the certificate to the cert-file-name.cert file.
-
Use the file listed above to import into the Keystore. To add the certificates to cacerts, execute the following command:
keytool -import -trustcacerts -keystore cacerts -storepass changeit -noprompt -alias <alias-name> -file <cert-file-name.cert>
-
-
Copy the cacerts file to the config directory, execute the below command:
cp <JAVA_HOME>/jre/lib/security/cacerts <Connector Build path>/config/This is needed to push KPIs to HEAL over SSL.
-
-
Validate the consul keys listed below before uploading the UI template to verify the CC port, GRPC hostname, and GRPC port, and ensure that SSL is enabled.
Keys:
connector/cc/port
connector/grpc/address
connector/grpc/port
connector/heal/ssl/enabled
Control Center (CC) Configuration#
Follow the below steps to configure the HEAL AWS Connector using Control Center.
-
Log in to the CC application by entering the Username and Password you received in your email.

-
After successful login, the below dashboard appears.

-
Choose the Account ID from the drop-down menu and then navigate to Setup > Connectors.

-
The Manage Connector page displays the detailed information on the connectors, such as Connector Name, Features Supported, and the Status of the connector, which indicates whether the connector is Configured or Not Configured.

-
To configure the connector, click the kebab menu ( ) in the Actions column of the respective connector, then click Download Template to download the UI template.

The AWS-Connector.xlsx file is downloaded and saved in your computer folder.

-
Open the AWS-Connector.xlsx file, and update the following details in the Connector Settings tab.
The following tables are part of the UI template (AWS-Connector.xlsx).
a) AWS Credential Details
| DB Column | Description |
|---|---|
| id | Row identifier. |
| access_key_id | Authentication consists of two parts: Access Key ID and Secret Access Key. This combination identifies a user uniquely. |
| secret_access _key | |
| aws_region | AWS Region, which the instance is part of. |
b) AWS EC2 Instance Details
| DB Column | Description |
|---|---|
| id | Row identifier. |
| instance_id | Unique identifier of an AWS instance. |
| detailed_monitorin g_enabled | If this attribute is true, you can fetch values for paid metrics and standard metrics. |
c) AWS Log Metric Details
| DB Column | Description |
|---|---|
| id | Row identifier. |
| log_group_name | Name of the log group. |
| log_stream_nam e | Name of the log stream. |
| Filter_pattern | Regex pattern for a log. |
| Credential ID | The ID of AWS Credential Details should be the same as the Credential ID. Refer to the id of AWS Credential Details. |
d) AWS Metric Details (Mapped to Heal)
| DB Column | Description |
|---|---|
| id | Row identifier. |
| metric_name | Name of the metric. |
| metric_name space | Namespace in which metric is present. |
| metric_stat | Statistics on which AWS plugin queries the metric (Example: Average, Min, Max, Sum, etc.) Example: Average CPU utilization. |
| metric_unit | Unit of metric. Example: Percent, Bytes, Count, etc. |
| is_detailed_ metric | If the value of this parameter is true, the AWS plugin queries for metric data every minute. Otherwise, plugin queries for metric data every five minutes. |
| HEAL KPI Id | Unique identifier of a row. |
| HEAL KPI Identifier | Unique identifier of a KPI. |
| HEAL KPI Name | Name of a KPI. |
| Is Group Metric | This indicates whether a KPI belongs to a group KPI. |
| Group Name | If a KPI belongs to a group, this indicates the name of the group KPI otherwise, it is an empty string. |
Note: To monitor custom metrics (if any) and OOB metrics, create the metrics via the CC UI. Refer to Control Center Guide.
e) Dimensions Details
| DB Column | Description |
|---|---|
| id | Row identifier. |
| dimension_key | Name of the dimension. |
| dimension_val ue | Value of the dimension. |
| Instance Ids | Unique identifier of an AWS instance. Refer to the id of AWS Credential Details |
Note: You can get the dimensions from AWS for any KPIs that need to be retrieved.
For example: Instance, EBS, etc. f) Mapping Between Heal Instance and AWS Instance
| DB Column | Description |
|---|---|
| Aws Instance Identifier | Unique identifier of an AWS instance. |
| Heal Instance Identifier | Unique identifier of HEAL instance. |
| Heal Agent Identifier | Unique identifier of HEAL Agent. |
-
If you want to make advance changes to the default settings, update the following details In the Advance Settings tab.
a) Optional Parameters
| DB Column | Description |
|---|---|
| Heal-Retry- Interval | If the connection to AWS cannot be established, the retry interval (in seconds) for establishing the connection should be increased. |
| Heal-Max- Retry- Attempts | The maximum number of attempts that should be made to connect to AWS. |
| Reload- Configuration | If you need to reload the configuration from the database. |
| KPI_MAPPIN G_BY_IDENT IFIER | Always keep it TRUE. (Do not modify.) |
b) Chain Parameters
| DB Column | Description |
|---|---|
| Sleep Interval | The sleep interval (in seconds) for each chain to function. |
| Pull Historical Data | Set the value as per your requirement. (0 = True, and 1 = False) |
| Historical Start Date | The start date from which you want to extract the historical data. |
| Historical End Date | The end date for which you want to extract the historical data. |
| Historical Interval | The Interval at which you want the data to be retrieved during the specified time frame (In Minutes). |
-
Once the template is filled, click the kebab menu ( ) in the Actions column of the respective connector, then select Upload Configuration to upload the UI template.


-
On the Upload Aws Connector Configuration page, you can either Drag and Drop the template file or click Browse and then navigate to the local folder where you saved the template file. Then, after selecting the file, click Open to upload it.

-
Once the template is successfully uploaded, the message File uploaded successfully appears, and the Status of Connector changes to Configured, as shown on the screen below.

-
You can select Download Configuration Details to review your uploaded configurations.

-
The data collection process for the AWS connector has now started. You can observe the collected KPIs in the HEAL interface.