Some AWS CLI commands with a beautiful TUI
Project description
cloudsnake 🐍
Wrapping some useful AWS cli commands to operate AWS like EC2 SSM instance connection or RDS connection using IAM authentication
Available implementations
- Connect to EC2 instances using SSM. You can pass the instance id (
--target) or use the interactive menu (--with-instance-selector) - (In progress) Connect to RDS instances using IAM authentication db token
Examples
For the examples, you need to be authenticated to AWS account using your local credentials.
In your terminal, set the corresponding AWS_PROFILE=MyProfile if not using the default. (~/.aws/credentials)
Connect to the EC2 instance using SSM
cloudsnake ssm start-session -is # will print all your instances in a terminal menu
cloudsnake ssm start-session --target i-XXXXXX # connect to the instance specifying the target id
Installation
Using pip
pip3 install cloudsnake
[!WARNING] Probably your system will not allow this installation method due to a broken system package.
Example error
Error:
error: externally-managed-environment× This environment is externally managed ╰─> To install Python packages system-wide, try 'pacman -S python-xyz', where xyz is the package you are trying to install.
If you wish to install a non-Arch-packaged Python package, create a virtual environment using 'python -m venv path/to/venv'. Then use path/to/venv/bin/python and path/to/venv/bin/pip. If you wish to install a non-Arch packaged Python application, it may be easiest to use 'pipx install xyz', which will manage a virtual environment for you. Make sure you have python-pipx installed via pacman.note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification.
Using pipx (Recommended)
Install pipx with your system package manager (apt, dnf, pacman...).
pipx install cloudsnake
Uninstall
pip3 uninstall cloudsnake
# or
pipx uninstall cloudsnake
License
cloudsnake is distributed under the terms of the GPL3 license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cloudsnake-0.5.1.tar.gz.
File metadata
- Download URL: cloudsnake-0.5.1.tar.gz
- Upload date:
- Size: 28.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.13.9 Darwin/25.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bd4457c2c1e0774446805e6814adbe4af05a9106230e61c8c3120f2e70f6441
|
|
| MD5 |
62b42e88f5ffe59bc9a7c8e42d0dd560
|
|
| BLAKE2b-256 |
e5152ebc11152ea04c8bc5db798c0ca01ec4645d7598fa3b5decf59f85e8ec6e
|
File details
Details for the file cloudsnake-0.5.1-py3-none-any.whl.
File metadata
- Download URL: cloudsnake-0.5.1-py3-none-any.whl
- Upload date:
- Size: 28.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.13.9 Darwin/25.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed7a50619318cf639de1725a854e8bc32f349ee4fd5df70e7920a93b8bdad527
|
|
| MD5 |
833ca89b6032078aabdfcf6920c093d7
|
|
| BLAKE2b-256 |
7915de15da9759cb2a7dabd96597e98681b9e59ada473b989019b0cbfecc416f
|