A Python package which wanders across your AWS account and records resources in multiple databases
A Python package which allows you to enumerate and store your AWS Resources in AWS Neptune (or Gremlin for local execution) in order to be able to ask questions like:
How old are my IAM users access keys?
What lambda functions do I have that are connected to VPCs that have access to the internet via a NAT gateway?
How many untagged VPCs do I have across all regions?
What does it do?
What the above YouTube video to see an example of what you can do with CloudWanderer.
pip install cloudwanderer
Spin up a local Gremlin Graph Database server and a Jupyter Notebook.
$ git clone https://github.com/CloudWanderer-io/docker-graph-notebook.git $ cd docker-graph-notebook $ docker-compose up
Look in the output for something that looks like:
jupyter-notebook_1 | Or copy and paste one of these URLs: jupyter-notebook_1 | http://localhost:8888/?token=88dc054886e3ea73480de91066937a33c9bc8bd484eb395c
Open the URL in question in a tab in your browser.
Open up Python in your preferred IDE and import and initialise CloudWanderer
>>> import logging >>> from cloudwanderer import CloudWanderer >>> from cloudwanderer.storage_connectors import GremlinStorageConnector >>> storage_connector = GremlinStorageConnector( ... endpoint_url="ws://localhost:8182" ... ) >>> wanderer = CloudWanderer(storage_connectors=[storage_connector]) >>> logging.basicConfig(level='INFO')
Get all the resources from your AWS account and save them to your local Gremlin graph database.
Go to the Jupyter Notebook link you opened earlier and, create a new notebook by hitting ‘new’ on the top right, and type the following into a new cell to get a list of VPCs.
You can learn more Gremlin (the language that’s supported by the local setup here) by reading Kevin Lawrence’s amazing book on Gremlin OR you can get stuck in to the much more straightforward OpenCypher language by following the Neptune Quickstart guide.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for cloudwanderer-0.29.2-py3-none-any.whl