Hi All, With this article, I would like to show you how easily and dynamically [_System Alerting and Monitoring_](https://github.com/intersystems-community/sam) (or SAM for short) can be configured. The use case could be that of a fast and agile CI/CD provisioning pipeline where you want to run your unit-tests but also stress-tests and you would want to quickly be able to see if those tests are successful or how they are stressing the systems and _your_ application (the InterSystems IRIS [backend SAM API is extendable](https://irisdocs.intersystems.com/irislatest/csp/docbook/Doc.View.cls?KEY=GCM_rest#GCM_rest_metrics_application) for your [APM](https://en.wikipedia.org/wiki/Application_performance_management) implementation).  SAM provides a new graphical interface that displays metrics and alerts. By default, it honors the alerts raised by the IRIS instances we monitor, and although you can go and set you sensors values to your liking, SAM allows you to quickly set up SAM rules -against the included Prometheus so that in your CI/CD pipeline you can quickly be alerted of things as they come through. There are a few requirements you must pay attention to for running SAM. The appliance is packaged in an easy-to-use container package and assembled automatically with Docker Compose for us. You can get all the details on how to run SAM from the above link. It's easy ![smiley](https://community.intersystems.com/sites/all/libraries/ckeditor/plugins/smiley/images/regular_smile.png "smiley") With SAM running, we then provision four AWS clusters in four different regions (the fictitious company we work for is a global organization and the quality-assurance team is located in the US on the west coast, while production is running in London for customers in the financial square-mile district). To quickly provision and run our IRIS clusters we leverage [InterSystems Cloud Manager](https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls?KEY=GICM) (ICM) that quickly and easily is driven by simple scripts to do the dirty work of carving out those cloud clusters in the various AWS regions. When the lengthy provisioning process is finished we call the [**SAM-populate.sh**](https://github.com/intersystems-community/icm-sam-1/blob/master/SAM-populate.sh) script that, adequately configured (see [env-config.sh](https://github.com/intersystems-community/icm-sam-1/blob/master/env-config.sh)), populates in few seconds our running SAM solution on our local workstation. Through a _single SAM page_, one is able to monitor several InterSystems IRIS clusters without having to jump across several AWS management portals pages. Neat :) but more to the point, it allows us "IRISanians"![surprise](https://community.intersystems.com/sites/all/libraries/ckeditor/plugins/smiley/images/omg_smile.png "surprise")  to see how our data-platform instances are doing vs having only the default EC2-OS metrics. Bear in mind that SAM at present offers more than 100 InterSystems IRIS kernel metrics _and_ combine those with InterSystems IRIS alerts. The fusion of the two should be the beginning... not of a love story,  but of a more accurate reading of your systems.  You can find the code of the described project & use-case at [this Github link](https://github.com/intersystems-community/icm-sam-1). The project highlights are: 1. The use of the [SAM REST API](https://docs.intersystems.com/sam/csp/docbook/Doc.View.cls?KEY=RSAPI_overview) 2. SAM simple, clean & effective UI for the view of multiple InterSystems IRIS instances clustered together 3. The use of the new [CPF merge functionality](https://docs.intersystems.com/irislatest/csp/docbook/Doc.View.cls?KEY=RACS_cpf#RACS_cpf_edit_merge) 4. [ICM](https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls?KEY=GICM) power and programmability or was it scriptability? ![wink](https://community.intersystems.com/sites/all/libraries/ckeditor/plugins/smiley/images/wink_smile.png "wink") If you want to run it pay attention to:  * the need for InterSystems IRIS keys with sharding technology enabled * the right InterSystems IRIS container (you'll need 2020.2 and above) * the container registry ICM will pull from * the container registry credentials * the cost you'll incur in running those clusters * and probably few other things :) I hope you'll find the scripts useful and inspiring for * the SAM REST API calls and * the way ICM is leveraged non-interactively. Be well & safe --