# Testing, Troubleshooting & Health Check

## Testing & Troubleshooting

Trusst AI is deployed via Infrastructure as Code (AWS CDK). Significant care has been taken throughout our testing and quality assurance process to ensure that when Trusst AI is deployed to a customer's AWS account, that it functions as expected. If however, we've missed something and you experience any issues with Trusst AI please create a support ticket  via the [Trusst Customer Support Portal](https://trusst.atlassian.net/servicedesk/customer/portal/1). Trusst AI's support team will guide the customer on which logs to provide to troubleshoot any issues.&#x20;

## Health Check

Trusst AI is deployed via Infrastructure as Code (AWS CDK). Significant care has been taken throughout our testing and quality assurance process to ensure that when Trusst AI is deployed to a customer's AWS account, that it functions as expected. Trusst AI measures the customer’s usage of Trusst AI via a cross account SNS Topic. This message includes the customer AWS Account ID and a Success/Failure message. Trusst AI monitors this metering data for any failures and will engage a customer to resolve failures.&#x20;

## Routine Maintenance

### Rotating Credentials

AWS Redshift Serverless credentials are created during the deployment via AWS CDK. These credentials are written to [AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) and used to query the database for analytics in Trusst AI user interface. These credentials are rotated by Secrets Manager every 30 days.&#x20;

### Software Patches

Trusst AI continuously updates Trusst AI, adding additional features, and optimising the platform. These backward compatible updates are provided to the customer via an opt-in model. Each updates release notes are provided to the customer the [Trusst Customer Support Portal](https://trusst.atlassian.net/servicedesk/customer/portal/1). If a customer opts-in for a particular update, the updates are deployed via the same pipelines used for the initial deployment.&#x20;

### AWS Service Limits

AWS Service Limits are assessed and managed programmatically during the deployment of Trusst AI using [ListServiceQuotas](https://docs.aws.amazon.com/servicequotas/2019-06-24/apireference/API_ListServiceQuotas.html) and [RequestServiceQuotaIncrease](https://docs.aws.amazon.com/servicequotas/2019-06-24/apireference/API_RequestServiceQuotaIncrease.html) API's.&#x20;

### Recovering Software

Trusst AI leverages [AWS Backup](https://aws.amazon.com/backup/) in the customer's account to automate data protection across the AWS services used by Trusst AI.  This includes the outputs stored in AWS Redshift and Amazon DynamoDB. All other components are re-deployable via Trusst AI's code pipelines to restore the application.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.trusst.ai/trusst-resource-centre/product-guides/testing-troubleshooting-and-health-check.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
