Beginning in v7.1.1, Metric Insights can be deployed using security builds—Docker images updated monthly with the latest security patches. These security releases include updated system libraries and dependencies, ensuring known vulnerabilities are addressed and the build is more secure.
Importantly, security builds do not introduce any new features or functionality changes. This means you can enhance your deployment’s security without affecting the existing functionality of the core MI application.
The instructions provided outline enabling the security build feature and pulling security images for each service. You will need to pull new security images each time a new security build is available.
NOTES:
- Security builds only support Lite installation packages and AMD64 (x86_64) architecture. Full packages and systems with ARM64 architecture are not supported.
- Security images are not provided for the MySQL and Logger containers.
- For Simple Install, security builds are only supported when MySQL application database is hosted on a remote server.
- An active internet connection is required to pull the latest security Docker images.
TABLE OF CONTENTS:
Simple Install
NOTE: For Simple Install deployments, Metric Insights security builds are supported only when the MySQL application database is hosted on a remote server; e.g., a standalone MySQL server, or a managed MySQL service such as Amazon RDS/Azure Database for MySQL.
1. Enable Security Images
- Download the Lite installation package.
- See Access Software Downloads and License Keys via Get MI for details.
- Run the MI installer with the
--use-security-imagesoption:./installer.py --use-security-images.
2. Pull and Recreate Containers
After installation completes, update your running containers to use the new security images. Execute the following commands:
- Pull the latest security Docker images for all Metric Insights services:
mi-control pull - Force the recreation of containers using the newly pulled security images:
mi-control up -d --force-recreate
NOTE: Once these steps are completed, your Metric Insights instance will be running with the security build of the specified version. You should repeat this process each time a new monthly security release is published for your version.
You can list all available security image versions for your current release by running the installer command with the security flag:
./installer.py images --use-security-images
This will display the complete list of security-tagged Docker images and versions available for Metric Insights, helping you confirm the correct tags for your deployment.
Orchestrated Environments
1. Update Docker Image References
For orchestrated deployments, manually update the image references in your deployment manifests to utilize the security builds.
For each Metric Insights service image, append /security to the image path, placing it before the tag. For example:
docker.metricinsights.com/metric-insights/release_7_1/84:amd64
should be changed to:
docker.metricinsights.com/metric-insights/release_7_1/84/security:amd64
In this example, "84" represents the base image ID or version, and we are appending /security before the architecture tag. Ensure this pattern is applied to all Metric Insights service images.
2. Recreate Pods/Services with New Images
Apply your updated configuration and recreate the pods and services so that the new image references take effect. The orchestration platform will pull the security images and launch new containers with them. Ensure each service restarts successfully using the security build image (you can verify the image names in your container runtime or orchestration status).