This is a Python script/app which aids you to lightly manage your ec2 instances in your AWS account.
ec2-manager-demo.mp4
- Python 3.6 or higher
- AWS credentials (Access Key ID and Secret Access Key)
-
Clone the repository:
git clone https://github.com/yourusername/ec2_manager.git cd ec2_manager -
Create a virtual environment and activate it:
python -m venv .venv source .venv/bin/activate # On Windows use `.venv\Scripts\activate`
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the application:
python main.py
-
Enter your AWS Access Key, Secret Key, and Region in the application window and click "Connect to AWS".
-
Once connected, you can manage your EC2 instances from the application.
- Connect to AWS: Enter your AWS credentials and region, then click "Connect to AWS".
- Manage Instances: After connecting, you can view, start, stop, and reboot your EC2 instances.
- View Instance Info: Select an instance from the list to view detailed information, including instance type, network info (IP addresses, hostname, etc.), status, and whether a private key is attached.
If you find any issues, please open an issue on GitHub.
If you have any suggestions, please open a PR on GitHub.