All Products
Search
Document Center

Elastic Compute Service:delete a prefix list

Last Updated:Mar 12, 2024

You can delete prefix lists that are no longer needed. When a prefix list is deleted, all entries in the prefix list are also deleted. This topic describes how to delete a prefix list in the Elastic Compute Service (ECS) console.

Prerequisites

  • No resources are associated with the prefix lists that you want to delete.

    If a prefix list is referenced by other resources, the prefix list cannot be deleted. Remove all references to the prefix list before you delete the prefix list.

    For example, if a prefix list is referenced as an authorization object in a security group rule, the prefix list is associated with the security group rule. Delete the prefix list from the security group rule to remove the reference to the prefix list. For more information, see Modify a security group rule.

  • You are granted permissions on prefix lists.

    If you are a Resource Access Management (RAM) user, make sure that the RAM user is granted permissions on prefix lists. For more information, see Grant a RAM user permissions on prefix lists.

Procedure

  1. Log on to the ECS console.

  2. In the left-side navigation pane, choose Network & Security > icon1 > Prefix Lists.

  3. In the top navigation bar, select the region and resource group to which the resource belongs. 地域

  4. On the Prefix List page, delete prefix lists.

    • To delete a single prefix list, find the prefix list and click Delete in the Actions column.

    • To delete multiple prefix lists, select the prefix lists and click Batch Delete in the lower part of the page.

  5. In the message that appears, confirm the prefix list information and click OK.

References

DeletePrefixList