-
Notifications
You must be signed in to change notification settings - Fork 57
Deploy your instance of Cromwell on Azure
- You will need an Azure Subscription to deploy Cromwell on Azure.
- You must have the proper Azure role assignments to deploy Cromwell on Azure. To check your current role assignments, please follow these instructions. You must have one of the following combinations of role assignments:
-
Owner
of the subscription
-
Contributor
andUser Access Administrator
of the subscription -
Owner
of the resource group. Note: this level of access will result in a warning during deployment, and will not use the latest VM pricing data. Learn more. Also, you must specify the resource group name during deployment with this level of access (see below). - Note: if you only have
Service Administrator
as a role assignment, please assign yourself asOwner
of the subscription.
-
- Install the Azure Command Line Interface (az cli), a command line experience for managing Azure resources.
- Run
az login
to authenticate with Azure.
Download the required executable from Releases. Choose the runtime of your choice from win-x64
, linux-x64
, osx-x64
. On Windows machines, we recommend using the win-x64
runtime (deployment using the linux-x64
runtime via the Windows Subsystem for Linux is not supported).
-
Linux and OS X only: assign execute permissions to the file by running the following command on the terminal:
chmod +x <fileName>
. Replace<fileName>
with the correct name:deploy-cromwell-on-azure-linux
ordeploy-cromwell-on-azure-osx.app
- You must specify the following parameters:
-
SubscriptionId
(required)- This can be obtained by navigating to the subscriptions blade in the Azure portal
-
RegionName
(required)- Specifies the region you would like to use for your Cromwell on Azure instance. To find a list of all available regions, run
az account list-locations
on the command line or in PowerShell and use the desired region's "name" property forRegionName
.
- Specifies the region you would like to use for your Cromwell on Azure instance. To find a list of all available regions, run
-
MainIdentifierPrefix
(optional)- This string will be used to prefix the name of your Cromwell on Azure resource group and associated resources. If not specified, the default value of "coa" followed by random characters is used as a prefix for the resource group and all Azure resources created for your Cromwell on Azure instance. After installation, you can search for your resources using the
MainIdentifierPrefix
value.
- This string will be used to prefix the name of your Cromwell on Azure resource group and associated resources. If not specified, the default value of "coa" followed by random characters is used as a prefix for the resource group and all Azure resources created for your Cromwell on Azure instance. After installation, you can search for your resources using the
-
ResourceGroupName
(optional, required when you only have owner-level access of the resource group)- Specifies the name of a pre-existing resource group that you wish to deploy into.
-
Run the following at the command line or terminal after navigating to where your executable is saved:
.\deploy-cromwell-on-azure.exe --SubscriptionId <Your subscription ID> --RegionName <Your region> --MainIdentifierPrefix <Your string>
Example:
.\deploy-cromwell-on-azure.exe --SubscriptionId 00000000-0000-0000-0000-000000000000 --RegionName westus2 --MainIdentifierPrefix coa
A test workflow is run to ensure successful deployment. If your Batch account does not have enough resource quotas, you will see the error while deploying. You can request more quotas by following these instructions.
Deployment, including a small test workflow can take up to 25 minutes to complete. At installation, a user is created to allow managing the host VM with username "vmadmin". The password is randomly generated and shown during installation. You may want to save the username, password and resource group name to allow for advanced debugging later.
Prepare, start or abort a workflow using instructions here.
To search, expand the Pages section above.