[Python] Class topic possibility

Seth Bearden sethraybearden at gmail.com
Mon Nov 9 17:16:59 UTC 2015


Yes! This sounds amazing. I would love to see how all of these tools can be
used/interact in one project...regex...shell scripts too.

I'm not sure what this means, but I would like to find out:
- How to use SSH OR user data to initialize the instance once it's been
created so customizations can be added to new instance rather than keeping
a system running

I'll ride through the rain for this and bring a shiny red apple for the
teachers desk:)


On Sun, Nov 8, 2015 at 5:53 PM, Jason Monroe <sume.yung.guy at gmail.com>
wrote:

> Hi Guys,
>
> I was thinking that it would be super fantastical awesome to automate the
> process of creating virtual machines with digital ocean.
>
> They have a python API which is pretty easy to use
>
> As I have used it to create instances
>
> There is dictionaries, use of the requests library, JSON, there could also
> be a small element of shell scripting for "UserData" OR using a python 3rd
> party module to SSH into the newly created VM in digital ocean.
>
> This would potentially provide for:
>
> - Understanding of the digital ocean API which could translate to AWS and
> other cloud providers
>
> - How to use SSH OR user data to initialize the instance once it's been
> created so customizations can be added to new instance rather than keeping
> a system running
>
> - How to use Paramiko to run ssh to automate commands
>
> - How to use python regular expressions to run commands and check the
> output
>
> - Add On would be using Flask or some other web framework to display the
> total success or failure of the commands that are run
>
>
> Why would you care:
> - From a system administration perspective this could help with the
> testing of new RPMs Kernel included
> - From a QA perspective you could provision environments and test them
> - Deploy different topologies OR stacks to test various web servers /
> proxy etc...
> - Automation is cool and potentially easier than you might think
>
> Thoughts? Feelings ? Concerns
>
> Thanks,
>
> Jason
>
> _______________________________________________
> Python mailing list
> Python at lists.noisebridge.net
> http://www.noisebridge.net/mailman/listinfo/python
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noisebridge.net/pipermail/python/attachments/20151109/532b13b0/attachment-0003.html>


More information about the Python mailing list