Skip to main content

AWS Instance Information

Summary

awsi script can help search for a server in aws and connect to it.

It uses boto to connect to AWS and build a register of all the ec2 instances you have access too.

It can generate a cache of all servers in the configured regions by calling awsi --refresh

It can then connect to an instance using the instanceId, public ip address or name tag If more than one server is found (maybe they have the same name) it will show you all of them and require you to use a different piece of information. ID is unique so this is recommended.

Installation

pip install awsi

Configuration

In you home directory create a folder called '.awsi'
In this folder create a config file called 'config.cfg'

The contents of the file should look like the following.

[main]
profiles: default,work,work2
regions: eu-west-1,eu-central-1,us-east-1,us-west-2,us-west-1
cache_file: /tmp/awsi_cache

where profiles refer to your aws cli profiles found in .aws/credentials | .aws/config

Usage

usage: awsi [-h] [--refresh | --list | --version]
            [search_string [search_string ...]]

positional arguments:
  search_string  ip, instance id or string to find in Name tag

optional arguments:
  -h, --help     show this help message and exit
  --refresh      refresh the cache
  --list         list all instances in the cache
  --version      print version

Metadata

Release files for awsi 1.5.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for awsi 1.5.3
File Size Uploaded Provenance
awsi-1.5.3.tar.gz 4.8 kB Without provenance Details

Release files / awsi-1.5.3.tar.gz

Download URL awsi-1.5.3.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e9b342e213beaf8e4528e59080494d543c33c52fe779bfe3ac4893887eb2f9f2
BLAKE2b-256 checksum
How to use checksums
8dbc410b938de23835ed7ca58feb097aacc84a88a75e4187823bdabf66e0e1be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

Security for awsi 1.5.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page