Cloud Background
Beyondrisk.io is a prominent cybersecurity company specializing in enterprise risk management solutions. Their focus lies in providing DataOps solutions that assist organizations in modeling and mitigating complex security risks.
Business Challenge
Beyond Risk faced numerous challenges in environmental management, particularly in the swift creation and removal of dynamic environments required for multiple development and building sales processes. Managing the existing environment architecture and infrastructure code was a cumbersome task due to the current infrastructure setup, multiple cross-dependencies between infrastructure layers, and the complexity of the module structure.
Solution
1. Terraform Cloud and workspace approach.
The main idea was to use Hashicorp Terraform cloud tool to manage dynamic environments based on Terrafform workspaces. It must provide the possibility of dynamic creation of isolated environments with the required size and specific features.
2. Create Reusable Terraform Modules
In collaboration with Gart, Beyond Risk set out to simplify its infrastructure processes and recover from outages faster. The core of the solution is a set of reusable Terraform modules for repeatable infrastructure.

Picture 1: “Reusable Terraform modules – a foundation of repeatable infrastructure”.
3. Analyzing and Refactoring
Gart’s experts conducted a thorough analysis of Beyond Risk’s IT infrastructure, identifying areas for improvement and code refactoring. The focus was on developing a modular approach that could adapt to the dynamic needs of Beyond Risk’s varied processes.
4. Automation Framework
Gart built an automation framework that lets non-technical executives create and remove fully customized environments themselves, so routine requests no longer wait for engineers.
5. Real-time Communication with Slack
Slack became the main notification channel: results of every action go to a dedicated channel, so stakeholders see request status in real time. The same channel is used during incident response and outage recovery.
6. Implementation Stack
Stack: Slack API for the interactive flow, AWS Lambda for business logic, and GitHub Actions with Terraform Cloud for infrastructure automation.
7. Notification Step for Terraform
An additional notification step was introduced to track the success or failure of Terraform operations. This proactive approach allowed the team to identify and address issues promptly, minimizing the impact of potential outages.
New Beyond Risk’s solution architecture: 
Picture 2: “New Beyond Risk’s solution architecture with Terraform Cloud and Slack Notification System”

