To delete an application, use the console:
ACTION
.When the application deployments are deleted, delete the application in the console. Remove the CI job that builds and deploys application packages, if any.
To remove an instance or a deployment to a region from an application:
Remove the region
from prod
, or the instance
from deployment
in deployment.xml:
<deployment version="1.0">
<prod>
<region>aws-us-east-1c</region>
<!-- Removing the deployment in the region 'aws-eu-west-1a' -->
<!--region>aws-eu-west-1a</region-->
</prod>
</deployment>
Add or modify validation-overrides.xml, allowing Vespa Cloud to remove production instances:
<validation-overrides>
<allow until="2021-03-01" comment="Remove region/instance ...">deployment-removal</allow>
<!-- If the region was part of a global endpoint/instance had a global endpoint: -->
<allow until="2021-03-01" comment="Remove region/instance ...">global-endpoint-change</allow>
</validation-overrides>
Build and deploy the application package.