[wip] Azure ARM templates for faster provisioning #7977
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This feature adds ARM Templates support for azure launch configs.
Current implementation is using resource by resource provisioning (and deprovisioning) which becomes very slow with the rising number of workers to check.
ARM Templates allow single async operation (start + check status calls) to trigger deployment and let Azure resource manager figure out full provisioning.
And if template is crafted correctly (
deleteOption: Delete
for resources), it would also allow to deprovision instance quickly, removing all dependent resources automatically.There is also a requirement for template to include proper outputs for its resources. (to be documented and validated)
This allows azure to accept arm template deployments in launch configs.
TODO:
ARMDeploymentsClient.js
since azure doesn't provide js sdk for it (yet), only REST APIImplements: #7979