View instance information on all supported cloud providers
Project description
# cloudview
View instance information on all supported cloud providers
## Usage
```
Usage: ./cloudview [OPTIONS]
Options:
-a, --all show all instances
-o, --output text|html output type
-r, --reverse reverse sort
-s, --sort time sort type
-w, --web run a web server on port 7777
-h, --help show this help message and exit
-d, --debug debug mode
```
This script is best run with Docker to have all dependencies in just one packages, but it may be run standalone on systems with Python 3.3+
## To run with Docker:
Build image with:
```
docker build -t cloud --pull .
```
Run with:
```
docker run --rm -v ~/.aws:/root/.aws:ro -v "$GOOGLE_APPLICATION_CREDENTIALS:$GOOGLE_APPLICATION_CREDENTIALS:ro" -e AZURE_TENANT_ID -e AZURE_SUBSCRIPTION_ID -e AZURE_CLIENT_SECRET -e AZURE_CLIENT_ID -e GOOGLE_APPLICATION_CREDENTIALS=/root/$(basename $GOOGLE_APPLICATION_CREDENTIALS) cloudview --all --web
```
To set up a web server showing this information running on port 7777:
```
docker run --rm -d -p 7777:7777 -v ~/.aws:/root/.aws:ro -v "$GOOGLE_APPLICATION_CREDENTIALS:$GOOGLE_APPLICATION_CREDENTIALS:ro" -e AZURE_TENANT_ID -e AZURE_SUBSCRIPTION_ID -e AZURE_CLIENT_SECRET -e AZURE_CLIENT_ID -e GOOGLE_APPLICATION_CREDENTIALS cloudview --all --web
```
**NOTE**: To change the port to 8000, use `-p 8000:7777`
## Run the web server with [Docker Compose](https://docs.docker.com/compose/install/):
```
docker-compose run -d -p 7777:7777 cloudview
```
To stop the web server:
```
docker-compose down
```
To rebuild with latest version:
```
docker-compose build --pull
```
## TODO
- Search by tag, status
- Sort by instance type, name, status
- Use apache-libcloud?
View instance information on all supported cloud providers
## Usage
```
Usage: ./cloudview [OPTIONS]
Options:
-a, --all show all instances
-o, --output text|html output type
-r, --reverse reverse sort
-s, --sort time sort type
-w, --web run a web server on port 7777
-h, --help show this help message and exit
-d, --debug debug mode
```
This script is best run with Docker to have all dependencies in just one packages, but it may be run standalone on systems with Python 3.3+
## To run with Docker:
Build image with:
```
docker build -t cloud --pull .
```
Run with:
```
docker run --rm -v ~/.aws:/root/.aws:ro -v "$GOOGLE_APPLICATION_CREDENTIALS:$GOOGLE_APPLICATION_CREDENTIALS:ro" -e AZURE_TENANT_ID -e AZURE_SUBSCRIPTION_ID -e AZURE_CLIENT_SECRET -e AZURE_CLIENT_ID -e GOOGLE_APPLICATION_CREDENTIALS=/root/$(basename $GOOGLE_APPLICATION_CREDENTIALS) cloudview --all --web
```
To set up a web server showing this information running on port 7777:
```
docker run --rm -d -p 7777:7777 -v ~/.aws:/root/.aws:ro -v "$GOOGLE_APPLICATION_CREDENTIALS:$GOOGLE_APPLICATION_CREDENTIALS:ro" -e AZURE_TENANT_ID -e AZURE_SUBSCRIPTION_ID -e AZURE_CLIENT_SECRET -e AZURE_CLIENT_ID -e GOOGLE_APPLICATION_CREDENTIALS cloudview --all --web
```
**NOTE**: To change the port to 8000, use `-p 8000:7777`
## Run the web server with [Docker Compose](https://docs.docker.com/compose/install/):
```
docker-compose run -d -p 7777:7777 cloudview
```
To stop the web server:
```
docker-compose down
```
To rebuild with latest version:
```
docker-compose build --pull
```
## TODO
- Search by tag, status
- Sort by instance type, name, status
- Use apache-libcloud?
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
cloudview-0.1.2.tar.gz
(7.4 kB
view details)
Built Distribution
cloudview-0.1.2-py3-none-any.whl
(10.9 kB
view details)
File details
Details for the file cloudview-0.1.2.tar.gz
.
File metadata
- Download URL: cloudview-0.1.2.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02ce67f07f08a93d2c4fe63305f2428fec0299422f072ddafe31182c0fbf44a6 |
|
MD5 | 101847587defb265e54426f7be8b459a |
|
BLAKE2b-256 | bd8b3e6e2b88b1462a197792931ba0f2f9ffd5ae9fee1db681e34ee0802d7a2e |
File details
Details for the file cloudview-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: cloudview-0.1.2-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7e9bdc350d8c5bbf0d6eddfcbd983bc2b159be7e9968acf6d9c36afffec06d9 |
|
MD5 | fa3a5aec40898aa45f647108e14fa64d |
|
BLAKE2b-256 | c5bb401ac910289c0a25b2d4957baf049a9ed566f91853ecd8bd569a58aea216 |