Contact Form

Name

Email *

Message *

Cari Blog Ini

Image

Using Sns Lambda


Aws Re Post

Deleting Default VPC in Multiple AWS Accounts

Using SNS Lambda

DEV Community

In a breaking story, it has been discovered that deleting the default Virtual Private Cloud (VPC) in multiple AWS accounts using SNS Lambda is now possible.

Previously, this was not possible due to the default VPC being a required component for many AWS services. However, a new update to the AWS CLI now allows users to delete the default VPC, even if it is in use by other services.

This is a significant change, as it gives users more control over their AWS infrastructure. It also makes it easier to clean up old or unused VPCs.

To delete the default VPC, users can use the following steps:

  1. Log in to the AWS Management Console.
  2. Click on the "VPC" link in the navigation pane.
  3. Select the default VPC and click on the "Actions" button.
  4. Click on the "Delete" button.
  5. Confirm the deletion.

Users can also use the AWS CLI to delete the default VPC. The following command will delete the default VPC:

aws ec2 delete-vpc --vpc-id default

It is important to note that deleting the default VPC will also delete all of the resources that are associated with it, including subnets, security groups, and network interfaces. Therefore, it is important to back up any data or resources that you need before deleting the default VPC.



Aws Re Post

Comments