EC2 Delete EBS Volume
Amazon Web Services (AWS)’s Elastic Compute Cloud (EC2) is a commercial web service that allows users to rent virtual computers. Using AWS EC2’s cloud infrastructure, you can build powerful servers in the cloud. This service completely eliminates the need to set up and invest in hardware, enabling you to deploy your apps quickly. With AWS EC2, you can set up servers, configure networking and security, and manage storage.
Amazon Machine Image (AMI) is your virtual machine’s software configuration. It includes elements such as operating system, application server, and applications.
An instance is nothing but a virtual machine. AWS offers a variety of instance types, which are various combinations of CPU, storage, memory, networking capacity, and so on.
Amazon Elastic Block Store (EBS) provides block level storage volumes that you can use with your EC2 instances. You can attach an EBS volume to any running EC2 instance and can use it as primary storage for databases, file systems, or any app that requires frequent updates and quick access to the data.
If you do not require an EBS volume, you can delete it, using this action. Before deleting a volume, it is important keep a few things in mind. The data of the volume cannot be retrieved once you have deleted the volume. Hence, it is suggested that you store a snapshot of the volume before deleting it. The volume, once the ‘delete’ operation starts, would continue to delete data for several minutes. Also, the EBS volume that you wish to delete should be in ‘available’ state, i.e., it should not be attached to any EC2 instance.
To perform this function, you first need to configure the action, and select the required AWS connection. Select the region in which your EBS volume resides. Next, mention the ID of the EBS volume that you want to delete.
You can also perform a dry run before the EBS volume is deleted, to check if you have the required permissions to perform this task.
Once you have entered all the required details, click on ‘Done’ and run the workflow. This will delete the specified EBS volume.
EC2 Delete EBS Volume
- result boolean