Manage deployment versions of a Lightsail container service - Amazon Lightsail

Manage deployment versions of a Lightsail container service

Every deployment that you create in your Amazon Lightsail container service is saved as a deployment version. If you modify the parameters of an existing deployment, the containers are re-deployed to your service and the modified deployment results in a new deployment version. The latest 50 deployment versions for each container service are saved. You can use any of the 50 deployment versions to create a new deployment in the same container service. In this guide, we show you how to view and manage the deployment versions of your container service.

For more information about container services, see Container services.

Deployment version status

Each of your deployment versions can be in one of the following states after it's created:

  • Deploying (Activating) – The deployment is being launched.

  • Active – Your deployment was successfully created, and it's currently running on your container service. Your container service can have only one deployment in an active state at a time.

  • Inactive – Your previously successfully created deployment is no longer running on your container.

  • Failed – Your deployment failed because one or more of the containers specified in the deployment failed to launch.


Before you get started, you need to create a Lightsail container service. For more information, see Create a container service.

You also should create a deployment in your container service that configures and launches your containers. For more information, see Creating and managing deployments for your Amazon Lightsail container services.

View the deployment versions of a container service

Complete the following procedure to view the deployment versions of your Lightsail container service.

  1. Sign in to the Lightsail console.

  2. On the Lightsail home page, choose the Containers tab.

  3. Choose the name of the container service for which you want to view the deployment versions.

  4. On the container service management page, choose the Deployments tab.

    The Deployments page lists your current deployment and deployment versions, if any.

  5. The deployment versions of your container service are listed under the Deployment versions section of the page.

    Each deployment has a date, in which it was created, a status, and an actions menu.

  6. Choose one of the following options through the actions menu of a deployment version:

    • Create new deployment – Choose this option to create a new deployment from the selected deployment version. For more information about creating a deployment, see Create or modify your container service deployment.


      If you choose to create a new deployment from a version that has a Failed status, then you must correct the cause of the failure before creating the deployment. Otherwise, the deployment will likely fail again.

    • View details – Choose this option to view the container entry and public endpoint parameters of the selected deployment version. You can also view the container logs for the deployment in case you need to diagnose a failed deployment. For more information, see View container service logs.