- Newest
- Most votes
- Most comments
When a Lightsail container service is stuck in the "PENDING" state, it can be challenging to resolve as the service is in a transition state. The "PENDING" state indicates that your container service is still being created, specifically in the "CREATING_NETWORK_INFRASTRUCTURE" phase.
Unfortunately, container services in transition states like "PENDING" cannot be deleted directly, as indicated by the error message you received. This is because the service is still undergoing creation processes.
Here are some steps you can try to resolve this issue:
-
Wait a bit longer: Although a month is an unusually long time, sometimes backend processes can take time to complete or time out.
-
Try disabling the service first: Before attempting to delete, try disabling the container service using the update-container-service command with the --is-disabled flag set to true. This might change the state to "DISABLED", after which you may be able to delete it.
-
Contact AWS Support: Since this issue has persisted for over a month, it likely indicates a backend problem with the service creation. AWS Support can help investigate and potentially force-delete the stuck resource from their end.
-
Check for any dependencies: Ensure there are no dependencies or integrations that might be preventing the service from completing its creation.
-
Try in a different region: If you need a container service urgently, you might need to create a new one in a different region while waiting for this issue to be resolved.
Since standard deletion methods aren't working and the service has been stuck for an extended period, reaching out to AWS Support is likely your best option for resolving this issue.
Sources
ContainerService - Amazon Lightsail
get-container-services — AWS CLI 2.27.41 Command Reference
Create a highly available container service with Lightsail - Amazon Lightsail
update-container-service — AWS CLI 2.27.41 Command Reference
answered a year ago
Hi,
We have confirmed that your container service has been successfully deployed. Please check again. Please reach out AWS support if the issue persists.
Thank you
answered a year ago
Relevant content
asked 5 years ago
asked 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
