This repository contains a simple web application to list EC2 snapshots and perform deletion operations on them using a user-friendly web interface.
- Clone the repository to your local machine:
git clone https://github.com/gourav-rcrm/snapshots-visualizer.git
cd snapshots-visualizer
- Install the required dependencies:
Make sure you have Python and pip installed on your machine. Then, run the following command:
pip install boto3 Flask pytz
- Set up AWS CLI Credentials:
Before running the application, make sure you have configured AWS CLI with your IAM user credentials. Ensure that the user has the necessary permissions to interact with EC2 and its snapshots.
- Run the Web Application:
python app.py
The application will start running on your local machine, and you can access it through your web browser by visiting http://localhost:5000/
.
- View EC2 Snapshots 👀
The web interface will display a table containing all your EC2 snapshots, sorted by date of creation in ascending order. Snapshots are segregated based on their creation date for easy navigation.
- Delete Snapshots ❌
You can delete a snapshot by clicking the "Delete" button next to the corresponding snapshot. Be cautious while deleting, as it's irreversible.