Cloud Maker dynamically creates the Azure ARM Infrastructure-as-Code as you draw and configure your diagram.
The best way to deploy your diagram is using the Cloud Maker direct deployment capability or Azure DevOps integration found in the Pipelines area of Cloud Maker. However if you would like to export the code for deployment using your own tools, this is super simple too.
When you're finished drawing your diagram, simply hit the "Export" button in the top right menu bar.
Select "ARM" from the drop down menu (this should be automatically selected as the first option).
Enter a filename for your ARM deployment pack.
Click Export to export the ARM code.
The ARM deployment pack will be downloaded which contains all of the subscription and Resource Group templates required to deploy your solution to Azure.