Upgrade deployments

In this strategy, a new service is only created for the very first deployment. Every subsequent deployment will just update the existing service. Shippable makes a best effort guarantee for zero downtime in the upgrade method.

Instructions

The upgrade strategy is specified by setting the method attribute on the deploy to upgrade.

As an example, the shippable.jobs.yml file for our standard Single container application looks like this:

jobs:

  - name: app_deploy_job
    type: deploy
    method: upgrade               # add this to your deploy job
    steps:
      - IN: app_service_def
      - IN: op_cluster
      - IN: app_replicas

Sample project

Source code: devops-recipes/deploy-ecs-strategy

Ask questions on Chat

Feel free to engage us on Chat if you have any questions about this document. Simply click on the Chat icon on the bottom right corner of this page and someone from our customer success team will get in touch with you.

Improve this page

We really appreciate your help in improving our documentation. If you find any problems with this page, please do not hesitate to reach out at support@shippable.com or open a support issue. You can also send us a pull request to the docs repository.