<div dir="ltr"><div><div>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.<br><br></div>I'm not sure what this means, but I would like to find out:<br>- 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 <br><br></div>I'll ride through the rain for this and bring a shiny red apple for the teachers desk:)<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 8, 2015 at 5:53 PM, Jason Monroe <span dir="ltr"><<a href="mailto:sume.yung.guy@gmail.com" target="_blank">sume.yung.guy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Guys,<div><br></div><div>I was thinking that it would be super fantastical awesome to automate the process of creating virtual machines with digital ocean. </div><div><br></div><div>They have a python API which is pretty easy to use </div><div><br></div><div>As I have used it to create instances</div><div><br></div><div>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.</div><div><br></div><div>This would potentially provide for: </div><div><br></div><div>- Understanding of the digital ocean API which could translate to AWS and other cloud providers </div><div><br></div><div>- 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 </div><div><br></div><div>- How to use Paramiko to run ssh to automate commands </div><div><br></div><div>- How to use python regular expressions to run commands and check the output </div><div><br></div><div>- Add On would be using Flask or some other web framework to display the total success or failure of the commands that are run</div><div><br></div><div><br></div><div>Why would you care: </div><div>- From a system administration perspective this could help with the testing of new RPMs Kernel included </div><div>- From a QA perspective you could provision environments and test them </div><div>- Deploy different topologies OR stacks to test various web servers / proxy etc... </div><div>- Automation is cool and potentially easier than you might think</div><div><br></div><div>Thoughts? Feelings ? Concerns </div><div><br></div><div>Thanks,</div><div><br></div><div>Jason</div></div>
<br>_______________________________________________<br>
Python mailing list<br>
<a href="mailto:Python@lists.noisebridge.net">Python@lists.noisebridge.net</a><br>
<a href="http://www.noisebridge.net/mailman/listinfo/python" rel="noreferrer" target="_blank">http://www.noisebridge.net/mailman/listinfo/python</a><br>
<br></blockquote></div><br></div>