Skip to main content

Interact with AWS using shell pre-built commands

Project description

Python AWS Shell Cockpit


What is this about?

This tool is a simple result, a "collateral-effect", born from the need of boring and repetitive tasks during interaction with AWS, while I was working on my duties.

It's a Shell that has collection of pre-built commands that basically extracts informations: ASCII Views and also Visual Graphics from the AWS resources and their relationships.

In a ordinary working day with Cloud, questions like below always poppup (frequently and recurrently):

  • Which ELB is pointing to this EC2 Instance? Is there one?
  • Which ELB or EC2 Instance it is the target of the DNS myproject.lof.middle.earth.org ?
  • Is this Subnet is Public or Private after all?
  • How many IP's still left from all of my VPCs?
  • Is there any S3 Multipart Uploads unfinished?
  • Give me a List of all my VPC's Subnet

So What?

So, we could just use AWS Console, AWS CLI + Bash Script, Boto3, right? Well, pretty much it is what I was doing all the day around. But, I realized that:

  • Interact with AWS Console it's counterproductive (and veeery slow)
  • Manage to get the answers with AWS CLI (although much better than AWS Console), very often you have to run two, three commands to reach to the final answer.
  • Besides, using AWS CLI, you have to mantain the used commands saved in some place (well commented) and available, like a library.

As Python Boto3 is far most powerful than AWS CLI, can give you tons of features to interact with AWS (it's not by chance that tools like Ansible, after all, use it) I came up with the idea of build this "Shell" AWS utility to me, to help me and easier my job tasks. That's where was born this idea (well, actually I was also boring, needed to do something on my spare time) :-)

All the commands (that were/are useful to me) are pre-packaged inside this Python Shell, I only need to install the Python package with everything available and use it.

some commands?

During the time some other ideas were popping up, like:

  • Generate some graphs (exportable to DrawIO) as vision of the AWS resources and their relationships.
  • An online navigator, where you can view (graphically and export also) your AWS Networking resources.

I am always trying to add new features, when new needs or ideas are raising (of course when I have some off-time to dedicate to it).

I am sharing the result of this, perhaps can be useful to you also. Feel free to reach out to me with new ideas/suggestions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyawscp-0.5.18.tar.gz (337.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyawscp-0.5.18-py3-none-any.whl (375.7 kB view details)

Uploaded Python 3

File details

Details for the file pyawscp-0.5.18.tar.gz.

File metadata

  • Download URL: pyawscp-0.5.18.tar.gz
  • Upload date:
  • Size: 337.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.3

File hashes

Hashes for pyawscp-0.5.18.tar.gz
Algorithm Hash digest
SHA256 ccdbed6364e9619b9dde2be9c8664518beaf9c8cdda53373bcd798a31a378a8a
MD5 7f2b3c60ade3f0de1b9229b91d0cd42b
BLAKE2b-256 3bd851ecd206389c6e460e1973b28d67050d9e8936c10e7213f8104249afe933

See more details on using hashes here.

File details

Details for the file pyawscp-0.5.18-py3-none-any.whl.

File metadata

  • Download URL: pyawscp-0.5.18-py3-none-any.whl
  • Upload date:
  • Size: 375.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.3

File hashes

Hashes for pyawscp-0.5.18-py3-none-any.whl
Algorithm Hash digest
SHA256 b8aae97a733d26662faa210e57668e33c08dd0f7e0b2f115e56087056066bd08
MD5 70b7d5eeafc60e9e6cf0b9d1cb158be0
BLAKE2b-256 76a34ff65264eb613a02f4cd0c0e539f41a6f1c42db474dc6aee9bd7f3844651

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page