Commandline utility to start and stop instances on the french IFB cloud
Project description
ifbcloud commandline utility
This is a commandline utility to
quickly get the status of instances launched
start new instances
stop instances
Installation
pip install ifbcloud
Useage:
To get the current status, do
ifbcoud status -u <your_ifb_username> -p <your_ifb_password>
To lauch a new instance, do
ifbcloud start -u <your_ifb_username> -p <your_ifb_password> -n <name_for_your_instance>
To stop an instance, do
ifbcloud stop -u <your_ifb_username> -p <your_ifb_password> -n <name_for_your_instance>
More options are available in the subcommands help section.
Shortcuts
If you don’t want to repetitively type your username and password (and have it stored in your shell’s history), you can export the environmental variables IFB_USERNAME and IFB_PASSWORD and omit the -u and -p options.
Limitations
We’re currently just launching the Docker appliance (number 206), which is what I’m using all the time. PR’s to improve this are welcome. You can extract the instance id’s from the dashboard’s html.
This utility is not using any public API, just reverse-engineered from the browser’s post requests, so this may start failing at any time if the IFB upgrades their cloud service.
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
File details
Details for the file ifbcloud-0.0.2.tar.gz
.
File metadata
- Download URL: ifbcloud-0.0.2.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ff0328d2526bcfb044ba30ce61287f2cd23c623973b9f4cc37613a8da834af1 |
|
MD5 | 57d267a625cbd7f8e43a1eeda71c7726 |
|
BLAKE2b-256 | 9c35ba19be669e5e6c4c8b03be3d9b91fdef0405fd1c34a06ed105aa6f54f9bd |