How to Cancel AWS Systems Manager - Subscribed.FYI
✨ Ask AI Search
Categories
For Business

AWS Systems Manager

back button Go to AWS Systems Manager

How to Cancel AWS Systems Manager

To cancel operations or subscriptions related to AWS Systems Manager, follow these steps:

Canceling Commands

  1. Using the AWS Management Console:

    • Open the AWS Systems Manager console.
    • In the navigation pane, choose Run Command.
    • Select the command invocation you want to cancel.
    • Choose Cancel command.
  2. Using the AWS CLI:

    • Run the command: aws ssm cancel-command --command-id "your_command_id" to cancel a command for all instances.
    • To cancel for a specific instance, add the instance ID: aws ssm cancel-command --command-id "your_command_id" --instance-ids "your_instance_id".

Canceling Subscriptions

If you have subscriptions through AWS Marketplace that utilize Systems Manager resources (like Amazon Machine Images), you need to cancel these subscriptions separately:

  1. Canceling an AMI Subscription:

    • Open the AWS Marketplace console.
    • Choose the subscription you want to cancel under Manage subscriptions.
    • Open the Actions list and choose Cancel subscription.
    • Confirm the cancellation.
  2. Terminating Instances:

    • Open the Amazon EC2 console.
    • Select all instances related to the subscription.
    • Choose Terminate (delete) instance to stop billing.

Deleting Systems Manager Resources

If you created resources using Systems Manager Automation, you must manually delete them using the appropriate AWS Management Console. For example, if you created custom runbooks, you can delete the underlying SSM documents.