Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

Flask and Paramiko for Python VA

1 219 vues

Publié le

Showing the automation app built for MH using Python. I'm an enthusiast so I'm doing my best to demonstrate all of our abilities and coding.

Publié dans : Technologie
  • Identifiez-vous pour voir les commentaires

Flask and Paramiko for Python VA

  2. 2. ANSWERING THE WHAT AND THE WHY What is this about? • We touch about some work automation, this is not a one fits all solution but a step in the right direction for automation. • Some tools can do parts of it, but there is not one that I have found to do it all. Why did you do this? • Sick of entering my password 2 times to gain root access to a server • Tired of waiting sitting in front of the server when I could be doing something else. • Log in into each application server, when clients can have more than 15 app servers can be time consuming.
  3. 3. WHAT COMPONENTS? • Back End: • Flask • Paramiko • Celery • Front End • AngularJS • JQuery • Bootstrap 3 • FontAwesome
  4. 4. WHAT IS PARAMIKO? • Paramiko is a Python implementation of SSH protocol, providing both client and server functionality. • I used it to connect to Linux (RedHat) servers. • After connection you can execute any task as if you were there. • More information at: http://www.paramiko.org/
  5. 5. WHAT IS FLASK? • Most of you should know what Flask is, but if you don’t is a light weight Python Micro Framework. • What does the above mean? A web framework where you can build API, sites or web application in a very “Explicit” way. • Easy for beginners • Tons of documentation! And tutorials • More information here: http://flask.pocoo.org/
  6. 6. CELERY Well we also need to talk about Celery since we use it in the back end to work with Paramiko. Celery is an asynchronous task queue/job queue based on distributed message passing. It is focused on real-time operation, but supports scheduling as well. The execution units, called tasks, are executed concurrently on a single or more worker servers using multiprocessing. Tasks can execute asynchronously (in the background) or synchronously (wait until ready). More information at: http://www.celeryproject.org/
  9. 9. QUESTIONS & CONTACT INFO Any questions that you might have, now it’s the time :) Or if you find yourself thinking about it down the road, you can contact me via: @emvp84 enriquemanuel em@enriquemanuel.me Thanks to Ryan for organizing and keeping me motivated on this matter