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 name|time|status sort type
-w, --web run a web server on port 7777
-h, --help show this help message and exit
-d, --debug debug mode
-V, --version show version and exit
```
This script is best run with Docker to have all dependencies in just one packages, but it may be run stand-alone on systems with Python 3.4+
## To run stand-alone:
```
pip install --user cloudview
```
NOTE: You may need to upgrade `pip` before with `pip install --user --upgrade pip`.
## 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
- Sort by instance type
- Use apache-libcloud?
- Expose filtering functionality
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 name|time|status sort type
-w, --web run a web server on port 7777
-h, --help show this help message and exit
-d, --debug debug mode
-V, --version show version and exit
```
This script is best run with Docker to have all dependencies in just one packages, but it may be run stand-alone on systems with Python 3.4+
## To run stand-alone:
```
pip install --user cloudview
```
NOTE: You may need to upgrade `pip` before with `pip install --user --upgrade pip`.
## 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
- Sort by instance type
- Use apache-libcloud?
- Expose filtering functionality
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.4.tar.gz
(7.7 kB
view details)
Built Distribution
cloudview-0.1.4-py3-none-any.whl
(11.3 kB
view details)
File details
Details for the file cloudview-0.1.4.tar.gz
.
File metadata
- Download URL: cloudview-0.1.4.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c69c61538a89c3d7c1ad8498908989e373e39467bf34500d1ca34d5b8f11991c |
|
MD5 | a3b4b5e1c56b824b5e4fc70fd12dd88a |
|
BLAKE2b-256 | e6df1e4d38daf284d68ba7f28a26b842c4efe946d46d902f8dc59174e5cf6720 |
File details
Details for the file cloudview-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: cloudview-0.1.4-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dcf13a941b63d490d7c8ea2f1d34b91462266928877633b9d2fa1fe36df3413 |
|
MD5 | fcb7a399b8f721914f3618fc565942c9 |
|
BLAKE2b-256 | 1dd6b7308e7d445060a659bf2bc77024820195961d5ac166c5bc26fa808bab90 |