Red Hat Advanced Cluster Security for Kubernetes can be integrated with S3 API compatible services to enable data backups. These backups can be used for data restoration in the case of an infrastructure disaster or corrupt data. After integrating with the S3 API compatible provider, you can schedule daily or weekly backups and do manual on-demand backups.
The backup includes the entire RHACS database, which includes all configurations, resources, events, and certificates. Make sure that backups are stored securely.
|
To configure S3 API compatible backups, create a new integration in Red Hat Advanced Cluster Security for Kubernetes.
You have configured an existing S3 bucket. To create a new bucket with required permissions, see your S3 provider documentation.
You have read
, write
, and delete
permissions for the S3 bucket, the Access key ID, and the Secret access key.
In the RHACS portal, go to Platform Configuration → Integrations.
Scroll down to the External backups section and select S3 API Compatible.
Click New Integration.
Enter a name for Integration Name.
Enter the number of backups to retain in the Backups To Retain box.
For Schedule, select the backup frequency as daily or weekly, and select the time to run the backup process.
Enter the Bucket name where you want to store the backup.
Optionally, enter an Object Prefix if you want to save the backups in a specific folder structure.
Enter the Endpoint under which the S3 compatible service is reachable. If no scheme is specified, the default, https
, is used.
Enter the Region for the bucket. Consult your provider’s documentation to enter the correct region.
Select the URL style:
Virtual hosted style buckets are addressed as https://<bucket>.<endpoint>.
Path style buckets are addressed as https://<endpoint>/<bucket>.
Enter the Access Key ID and the Secret Access Key.
Select Test to confirm that the integration with the S3 is working.
Select Create to generate the configuration.
After the integration is configured, RHACS automatically backs up all data according to the specified schedule.
Use the Red Hat Advanced Cluster Security for Kubernetes portal to trigger manual backups of RHACS to an S3 API compatible bucket.
You have integrated RHACS with an S3 API compatible service.
In the RHACS portal, go to Platform Configuration → Integrations.
In the External backups section, click S3 API Compatible.
Select the integration name for the S3 bucket where you want to do a backup.
Click Trigger backup.
When you select Trigger backup, there is no notification. However, RHACS begins the backup task in the background. |