Creating deployment policies to initiate a deployment of your service
To deploy a service, you must create a deployment policy for that service. We could do that from the Policies tab on the home page. However, we can also create one more directly for this service:
- Returning to the Deployment policies tab on the Service details page, press the Add policy button.
![Figure 17.38 – The Add policy button](https://static.packt-cdn.com/products/9781835885840/graphics/image/B22368_17_38.jpg)
Figure 17.38 – The Add policy button
This will take you to the Deploy with policy wizard.
![Figure 17.39 – Deployment policy wizard](https://static.packt-cdn.com/products/9781835885840/graphics/image/B22368_17_39.jpg)
Figure 17.39 – Deployment policy wizard
- Enter a deployment policy name, optionally give it a description to make it easier to remember what this deployment policy is trying to do, and press the Next button.
![Figure 17.40 – Name your deployment policy](https://static.packt-cdn.com/products/9781835885840/graphics/image/B22368_17_40.jpg)
Figure 17.40 – Name your deployment policy
- Next, you will select the services to be included in this deployment policy. Note that the
movedetection
service has already been selected on the right. That...