WhatisCloud?“Cloud computing is a model forenabling ubiquitous, convenient, on-demand network access to a sharedpool of co...
Why PythonEasy to learnPortabilityAvailable for all major operating systems– Mac,Win, Linux (any flavor) and on cell phone...
venumurthy.com10J = 1 PPythonHello World
venumurthy.comGuido van Rossum… in December 1989, I was looking for a "hobby"programming project that would keep me occupi...
Who’s using Python?GoogleYahooIndustrial Light & MagicWalt Disney Feature AnimationNASARedhatNokiaCIA - USA Central Intell...
Python APIs Client Libraries availablefrom all major Cloud service providersvenumurthy.com- Google python client libraries...
ServiceModels… This cloud model is composed offive essential characteristics,three , andfour deployment models.IaaS – eg. ...
Google Compute EngineInstances (VMs) are the heart of GoogleCompute Engine.A Google Compute Engine is a virtual machinerun...
venumurthy.comSign into Google after clicking on Try it now.go to cloud.google.com/console
venumurthy.com
venumurthy.comSelect Compute EngineAnd enter the billing information.
gcutilvenumurthy.comIt’s a tool written in Python that allows you to interact withG-Compute Engine.
venumurthy.com
venumurthy.com
Oauth user authorizationvenumurthy.com
venumurthy.com
venumurthy.com
venumurthy.com
venumurthy.comHurray we’ve created our first instance!!!
Lets Connect to it and put it to work.venumurthy.com
venumurthy.com
sudo yum install apache2venumurthy.comecho <!doctype html><html><body><h1>Hello Cloud, Thank you Python!</h1></body></html...
Very ImportantDelete the instancesDelete the instancegcutil deleteinstance my-first-instanceDelete the Persistent Diskgcut...
Thank you !venumurthy.comvenu.murthy@gmail.comvenumurthy.com
Leverage the power of the Cloud using Python
Upcoming SlideShare
Loading in...5
×

Leverage the power of the Cloud using Python

1,143

Published on

Leverage the power of the cloud using Python which has a very low learning curve but extremely powerful and since its intuitive its very easy to use.
There is also a tutorial in this presentation which will help you get started easily.

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,143
On Slideshare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
0
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide
  • Producers of movies like Avatar, “The mummy returns”
  • Instances are what are nodes in Amazon EC2
  • Note down the Project ID:
  • Hope you’ve been able to install the gcutil tool using the prerequisites sheet that I had sent.In case not, this is how we can do itGo to http://goo.gl/sLi7Q for instructions on how to have this installed.
  • How many of you know Oauth?
  • Use below only if the apache doesn’t get installed at first go.sudo yum update echo &apos;&lt;!doctype html&gt;&lt;html&gt;&lt;body&gt;&lt;h1&gt;Hello Cloud, Thank you Python!&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;&apos; | sudo tee /var/www/index.html
  • Leverage the power of the Cloud using Python

    1. 1. WhatisCloud?“Cloud computing is a model forenabling ubiquitous, convenient, on-demand network access to a sharedpool of configurable computingresources(e.g., networks, servers, storage,applications, and services)that can be rapidly provisionedand released with minimalmanagement effort or serviceprovider interaction.From: National Institute of Standards and Technology (NIST) developed this document in furtherance of itsstatutory responsibilities under the Federal Information Security Management Act (FISMA) of 2002, PublicLaw 107-347venumurthy.com
    2. 2. Why PythonEasy to learnPortabilityAvailable for all major operating systems– Mac,Win, Linux (any flavor) and on cell phones too.Most of them have python by default.(Type “python” in shell to see if its installed”)venumurthy.com
    3. 3. venumurthy.com10J = 1 PPythonHello World
    4. 4. venumurthy.comGuido van Rossum… in December 1989, I was looking for a "hobby"programming project that would keep me occupiedduring the week around Christmas. My office ...would be closed, but I had a home computer, andnot much else on my hands. I decided to write aninterpreter for the new scripting language I hadbeen thinking about lately: a descendant of ABCthat would appeal to Unix/C hackers. I chosePython as a working title for the project, beingin a slightly irreverent mood (and a big fan ofMonty Pythons Flying Circus)…Goals were:-• easy and intuitive language just as powerful as major competitors• open source, so anyone can contribute to its development• code that is as understandable as plain English• suitability for everyday tasks
    5. 5. Who’s using Python?GoogleYahooIndustrial Light & MagicWalt Disney Feature AnimationNASARedhatNokiaCIA - USA Central Intelligence AgencyDropboxvenumurthy.com
    6. 6. Python APIs Client Libraries availablefrom all major Cloud service providersvenumurthy.com- Google python client libraries to mange the cloud, SaaS, PaaS, IaaS.- Amazon EC2 python client libraries called Boto.- Salesforce has salesforce-python-toolkit- Rackspace Cloud SDK for Python (pyrax)- OpenStack has python client library called Nova.- Windows Azure SDK for Python- Apache LibCloud – abstracts away differences among multiple cloudprovider APIs.
    7. 7. ServiceModels… This cloud model is composed offive essential characteristics,three , andfour deployment models.IaaS – eg. Google compute, Amazon EC2,Rackspace.PaaS – eg. Google App engine, HerokuSaaS – eg. Google apps, MS 365,Salesforce.com, githubvenumurthy.com
    8. 8. Google Compute EngineInstances (VMs) are the heart of GoogleCompute Engine.A Google Compute Engine is a virtual machinerunning on a Linux config.Lets Create an instance using the Google-python-client library.venumurthy.com
    9. 9. venumurthy.comSign into Google after clicking on Try it now.go to cloud.google.com/console
    10. 10. venumurthy.com
    11. 11. venumurthy.comSelect Compute EngineAnd enter the billing information.
    12. 12. gcutilvenumurthy.comIt’s a tool written in Python that allows you to interact withG-Compute Engine.
    13. 13. venumurthy.com
    14. 14. venumurthy.com
    15. 15. Oauth user authorizationvenumurthy.com
    16. 16. venumurthy.com
    17. 17. venumurthy.com
    18. 18. venumurthy.com
    19. 19. venumurthy.comHurray we’ve created our first instance!!!
    20. 20. Lets Connect to it and put it to work.venumurthy.com
    21. 21. venumurthy.com
    22. 22. sudo yum install apache2venumurthy.comecho <!doctype html><html><body><h1>Hello Cloud, Thank you Python!</h1></body></html>| sudo tee /var/www/index.htmlThe above command is in one line
    23. 23. Very ImportantDelete the instancesDelete the instancegcutil deleteinstance my-first-instanceDelete the Persistent Diskgcutil deletedisk boot-my-first-instancevenumurthy.com
    24. 24. Thank you !venumurthy.comvenu.murthy@gmail.comvenumurthy.com

    ×