Skip to content

[Question] How can the spot instance request issue be resolved? #69

@mrumpf

Description

@mrumpf

I'm playing around with cdk deploy and cdk destroy to test the DNS name feature I requested in #68

The "cdk destroy" operation takes ages until it finally fails. I'm not 100% sure yet, but it seems as if the spot instance requests issue, you described somewhere in the comments, led to the issue that a second VM has been created, which does not get deleted by the cdk destroy operation and an attempt to delete the whole stack fails because the ENI is still in use by the second spot instance that is running.

aws ec2 describe-spot-instance-requests --query "SpotInstanceRequests[].SpotInstanceRequestId"

The question is whether there is a way to avoid a second VM to be started, becoming somehow detached from the CDK/CFN state?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions