Introduction to Cloud Computing


Published on

Introduction to Cloud Computing, Amazon EC2, Windows Azure and Google App Engine

Published in: Technology, Business
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Introduction to Cloud Computing

  1. 1. Cloud ComputingPython Based Scalable Cloud Application Development(GAE/ Amazon EC2/ Windows Azure)By Chathuranga BandaraSoftware Engineer99X Technology1Thursday, May 23, 13
  2. 2. 2Thursday, May 23, 13
  3. 3. Introduction to Cloud Computing“ Cloud computing is a model for enabling ubiquitous,convenient, on-demand network access to a shared poolof configurable computing resources (e.g., networks,servers, storage, applications, and services) that can berapidly provisioned and released with minimalmanagement effort or service provider interaction“ - NIST3Thursday, May 23, 13
  4. 4. > on-demand network> shared pool of configurable computing resources> rapidly provisioned and released with minimal management4Thursday, May 23, 13
  5. 5. Myths & FactsMyths> Cloud Computing will eliminate the need for IT Infrastructurepersonnel> Cloud Computing will eliminate IT expense5Thursday, May 23, 13
  6. 6. Myths & Facts (cont..)Facts> This technology should not be ignored> Cloud technology is real> This presentation will assist you in understanding “TheCloud” :P6Thursday, May 23, 13
  7. 7. Real Facts> It is not Network Computing –> Application and Data are not confined to any specificCompany’s Server> Encompasses multiple companies, multiple servers andmultiple networks> It is not Traditional Outsourcing> Not a contract to host data by 3rdparty Hosting Business7Thursday, May 23, 13
  8. 8. Features?> Scalability> Performance> Reliability> Uptime> Security> Maintenance> Service Based Model8Thursday, May 23, 13
  9. 9. 9Thursday, May 23, 13
  10. 10. 10Thursday, May 23, 13
  11. 11. Three Types?> IaaS – (Infrastructure as a Service) – the consumer uses"fundamental resources" such as processing power, storage,networking components or middleware. The consumer can controlthe operating system, storage, applications and possiblynetworking> PaaS – (Platform as a Service) - the consumer uses a hostingenvironment for their applications and has control over theapplications (and some control over the hosting environment), butdoes not control the infrastructure on which they are running> SaaS – (Software as a Service) - the consumer uses anapplication, but does not control the infrastructure on which itsrunning (OS, hardware)11Thursday, May 23, 13
  12. 12. Different Providers for each?> IaaS –> PaaS –> SaaS -12Thursday, May 23, 13
  13. 13. Other Type Definitions?> Public Cloud: a public cloud consists of a service or set ofservices that are purchased by a business or organization anddelivered via the Internet by a third-party provider. Theseservices use storage capacity and processor power that is notowned by the business itself. Instead, this capacity (in the form ofservers and datacenters) can be owned either by the primaryvendor (e.g. an online storage/backup company) or by a cloudinfrastructure vendor.> Private Cloud: A private cloud is essentially an extension of anenterprises traditional datacenter that is optimized to providestorage capacity and processor power for a variety of functions.“Private” refers more to the fact that this type of platform is anon-shared resource than to any security advantage13Thursday, May 23, 13
  14. 14. Benefit Public PrivateIllusion of infiniteresources on-demand Yes UnlikelyElimination of up-frontcommitment by users Yes NoTrue pay-as-you-go onshort-term basis Yes NoEconomy of scaleYes NoBetter utilization &simplified operationsthrough virtualizationYes Yes14Thursday, May 23, 13
  15. 15. Private + Public = Hybrid> A hybrid cloud is a composition of at least one private cloud andat least one public cloud. A hybrid cloud is typically offered in oneof two ways: a vendor has a private cloud and forms apartnership with a public cloud provider, or a public cloudprovider forms a partnership with a vendor that provides privatecloud platforms.Ex: For example, an organization might use a public cloud service,such as Amazon Simple Storage Service (Amazon S3) forarchived data but continue to maintain in-house storage foroperational customer data.Ideally, the hybrid approach allows a business to take advantage ofthe scalability and cost-effectiveness that a public cloud computingenvironment offers without exposing mission-critical applicationsand data to third-party vulnerabilities.15Thursday, May 23, 13
  16. 16. 16Thursday, May 23, 13
  17. 17. When to Use Cloud Computing?> On-demand> Scalability> Performance> High multi tenancy> Vendor Specific Features17Thursday, May 23, 13
  18. 18. Examples> Provide data management and analytical capabilities topublic> Provision on-demand IT infrastructure for new projects> Provide agile high capacity computing> Provide on-demand online productivity tools> Provide secure and precertified software deploymentplatforms18Thursday, May 23, 13
  19. 19. Things to keep in mind when Cloud Computing> Always try to give all most all the client side doable stuff to be done inthe client side> Do your database design very well. Make sure to eliminate dataredundancy> Always use Open Standards (REST)> Always keep up-to date and try to take advantage of technologies likeNoSQL /MapReduce> Think of Backup plans (Multi Region Instances, Regular Backups,Vendor specific backup solutions)> Think Like an Engineer/ Software Architect or at least hire one!!19Thursday, May 23, 13
  20. 20. Concerns in Cloud Computing20Thursday, May 23, 13
  21. 21. Security, Security and Security!> Why Security an Issue?> Shared Resources> Your data at their premises> Not everyone is ethical> What we can do?> Read the cloud vendor’s Privacy Policy and Terms &Conditions> Go for IaaS when ever its possibleThere will be a Risk in Cloud Computing anyways.21Thursday, May 23, 13
  22. 22. Windows AzurePaaS22Thursday, May 23, 13
  23. 23. 23Thursday, May 23, 13
  24. 24. 24Thursday, May 23, 13
  25. 25. Amazon Web ServicesIaaS25Thursday, May 23, 13
  26. 26. 26Thursday, May 23, 13
  27. 27. Amazon EC2 Features> Amazon Elastic Block store> Multiple Locations> Amazon Cloud Watch> Auto scaling> Elastic Load Balancing27Thursday, May 23, 13
  28. 28. Amazon EC2 Usage> Create Machine Image> Build application on top of the EC2 instance> Create multiple instances28Thursday, May 23, 13
  29. 29. 29Thursday, May 23, 13
  30. 30. Google AppsSaaS30Thursday, May 23, 13
  31. 31. 3131Thursday, May 23, 13
  32. 32. Different APIs available> Application APIs> Calendar API, Gmail API, Drive API, Sites API, SpreadsheetsAPI> Auth APIs> OpenID API> Domain Admin APIs> Audit APIs> Email Settings API> Reporting API3232Thursday, May 23, 13
  33. 33. Google App EnginePaaS33Thursday, May 23, 13
  34. 34. 3434Thursday, May 23, 13
  35. 35. Development Google App Engine> Write your web program in Python or VM based technologiesincluding JAVA/ PHP and GO and submit to Google. It will takecare of the rest (is that good or bad?)How to use?> Download App Engine SDK> Develop your program locally> A set of python programs, input = requested url, output = returnmessage> Debug locally> Register for an application id> Submit your application to Google35Thursday, May 23, 13
  36. 36. Datastore> Based  on  BigTable,  distributed  column-­‐store• En$$es  and  mul$-­‐valued  proper$es  • En$$es  have  unique key &  a  type  (kind)  • Flexible  schema  • Queries  by  GQL  3636Thursday, May 23, 13
  37. 37. AppScale> Platform that allows users to host their own Google AppEngine application in their own hot (ex: Amazon EC2)> Supports Python, Java, Go (no PHP support yet)>, May 23, 13
  38. 38. Demo – Python/ Google App EngineUsing Linux based machine (Windows is easier)38Thursday, May 23, 13
  39. 39. Demo Agenda> Part One - “Hello World” in GAE> Part Two - Application development in GAE39Thursday, May 23, 13
  40. 40. Which App you think Most Suitable for the Cloud?> Engine where any List (integers/ strings) will be given by theclient and the server (cloud application) will compute andsend back the sorted List> Guestbook which millions of people going to use and willgrow, where it will keep the comments of each guest, eitheras Anonymous or Email Verified user> Web based system which will display the list of Items/Inventory to the client computer. This will only server one ortwo clients in the business.40Thursday, May 23, 13
  41. 41. Lets do some coding..41Thursday, May 23, 13
  42. 42. Q & A** Refer Google for any Question I fail to answer!42Thursday, May 23, 13
  43. 43. www.99xtechnology.comThank You!43Thursday, May 23, 13