Hi there,
I'm a Computer Vision Developer and a Data Engineer.
I've been working exclusively with python for the last 4 years.
I have gone through 99stacks api and i am confident i could create functions using Python to mirror the php functions for creating, listing, deleting and installing Squid Proxy onto the server.
As per my understanding of the code,
On Linode, you have a template for a stackscript which already seems to have SquidProxy installed within it, and all you do is pass the credentials to SquidProxy while creating the Virtual Machines using the php scripts. Linode cli gets called from the PHP script and deals with setting up the SSH key to the server implicitly.
On vultr however,
The Server's SSH key too has to be configured within the Virtual Machines. And so does the whole SquidProxy installation.
I think this script is more equivalent to what needs to be done for 99stack.
The required steps would be to:
1. Get an API key from 99stacks
2. Build their rest API within Python so that virtual machines can be created, listed or destroyed.
3. Launch a virtual machine using the script.
4. List virtual machines using the API.
5. Connect to the virtual machines IP with the Server pre-authenticated to connect.
6. Configure SquidProxy either through script or through a configuration management system like Ansible.
7. Test if the proxy works fine.
8. Shutdown and delete virtual machine.
I feel i could have the API ready and working in Python within a day ,tests=2days