Deleting Amazon Lightsail container services
Last updated: November 12, 2020
You can delete your Amazon Lightsail container service at any time if you're no longer using it. When you delete your container service, all deployments and registered container images associated with that service are permanently destroyed. However, the SSL/TLS certificates and domains that you created remain in your Lightsail account so that you can use them with another resource. For more information about container services, see Container services in Amazon Lightsail.
Delete a container service
Complete the following procedure to delete your container service.
Sign in to the Lightsail console.
On the Lightsail home page, choose the Containers tab.
Choose the name of the container service you want to delete.
Choose the ellipsis icon in the tab menu, then choose the Delete.
Choose Delete container service to delete your service.
In the prompt that appears, choose Yes, delete to confirm that the deletion is permanent.
Your container service is deleted after a few moments.
Additional information about container services
These are the general steps to manage your Lightsail container service after it's up and running:
Get familiar with all of the elements of Lightsail container services. For more information, see Container services in Amazon Lightsail.
Create your container service in your Lightsail account. For more information, see Creating Amazon Lightsail container services.
If you plan to use container images from a public registry, find container images from a public registry such as the Amazon ECR Public Gallery. For more information about Amazon ECR Public, see What Is Amazon Elastic Container Registry Public? in the Amazon ECR Public User Guide.
If you plan to push container images from your local machine to your service, install software on your local machine that you need to create your own container images and push them to your Lightsail container service. For more information, see the following guides:
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 previous deployments for your container service. You can create a new deployment using a previous deployment version. For more information, see Viewing and managing deployment versions of your Amazon Lightsail container services.
View the logs of containers on your container service. For more information, see Viewing the container logs of your Amazon Lightsail container services.
Create an SSL/TLS certificate for the domains that you want to use with your containers. For more information, see Creating SSL/TLS certificates for your Amazon Lightsail container services.
Validate the SSL/TLS certificate by adding records to the DNS of your domains. For more information, see Validating SSL/TLS certificates for your Amazon Lightsail container services.
Enable custom domains by attaching a valid SSL/TLS certificate to your container service. For more information, see Enabling and managing custom domains for your Amazon Lightsail container services.
Monitor the utilization metrics of your container service. For more information, see Viewing container service metrics in Amazon Lightsail.
(Optional) Scale the capacity of your container service vertically, by increasing its power specification, and horizontally, by increasing its scale specification. For more information, see Changing the capacity of your Amazon Lightsail container services.
Delete your container service if you're not using it to avoid incurring monthly charges. For more information, see Deleting Amazon Lightsail container services.