Cloud Computing
Python Based Scalable Cloud Application Development
(GAE/ Amazon EC2/ Windows Azure)
By Chathuranga Bandar...
Introduction to Cloud Computing
> “ Cloud computing is a model for enabling ubiquitous,
convenient, on-demand network acce...
> on-demand network
> shared pool of configurable computing resources
> rapidly provisioned and released with minimal mana...
Myths & Facts
> Myths
> Cloud Computing will eliminate the need for IT Infrastructure
personnel
> Cloud Computing will eli...
Myths & Facts (cont..)
> Facts
> This technology should not be ignored
> Cloud technology is real
> This presentation will...
Real Facts
> It is not Network Computing –
> Application and Data are not confined to any specific
Company’s Server
> Enco...
Features?
> Scalability
> Performance
> Reliability
> Uptime
> Security
> Maintenance
> Service Based Model
Three Types?
> IaaS – (Infrastructure as a Service) – the consumer uses
"fundamental resources" such as processing power,
...
12
BaaS (Not the Mason!)
> Backend as a Service
> Although similar to other cloud-computing developer tools,
such as softw...
13
BaaS (Cont..)
> Among the most common services provided are push
notifications, file storage and sharing, integration w...
Different Providers for each?
> IaaS –
> PaaS –
> SaaS -
Other Type Definitions?
> Public Cloud: a public cloud consists of a service or set of
services that are purchased by a bu...
Benefit Public Private
Illusion of infinite
resources on-demand Yes Unlikely
Elimination of up-front
commitment by users Y...
Private + Public = Hybrid
> A hybrid cloud is a composition of at least one private
cloud and at least one public cloud. A...
When to Use Cloud Computing?
> On-demand
> Scalability
> Performance
> High multi tenancy
> Vendor Specific Features
Examples
> Provide data management and analytical capabilities to
public
> Provision on-demand IT infrastructure for new p...
Things to keep in mind when Cloud Computing
> Always try to give all most all the client side doable stuff to be done in
t...
Concerns in Cloud Computing
Security, Security and Security!
> Why Security an Issue?
> Shared Resources
> Your data at their premises
> Not everyone ...
Windows Azure
PaaS
Amazon Web Services
IaaS
Amazon EC2 Features
> Amazon Elastic Block store
> Multiple Locations
> Amazon Cloud Watch
> Auto scaling
> Elastic Load B...
Amazon EC2 Usage
> Create Machine Image
> Build application on top of the EC2 instance
> Create multiple instances
>
Google Apps
SaaS
33
34
Different APIs available
> Application APIs
> Calendar API, Gmail API, Drive API, Sites API, Spreadsheets
API
> Auth AP...
Google App Engine
PaaS
36
Development Google App Engine
> Write your web program in Python or VM based
technologies including JAVA/ PHP and GO and s...
38
Datastore
> Based on BigTable, distributed column-store
• Entities and multi-valued properties
• Entities have unique k...
39
AppScale
> Platform that allows users to host their own Google App
Engine application in their own host (ex: Amazon EC2...
40
Mobile Backends
> Recently App Engine has Introduced Mobile Backends
> Currently Supports for Android
> Looking forward...
41
Creating Mobile Backend in GAE
42
Cont..
43
Back-end configuration in GAE
backends:
- name: memdb
class: B8
instances: 5
- name: crawler
instances: 10
start: crawl...
Demo – Python/ Google App Engine
Using Linux based machine (Windows is easier)
Demo Agenda
> Part One - “Hello World” in GAE
> Part Two - Application development in GAE
Which App you think Most Suitable for the Cloud?
> Engine where any List (integers/ strings) will be given by the
client a...
Lets do some coding..
Q & A*
* Refer Google for any Question we fail to answer!
www.99xtechnology.com
Thank You!
Introduction to Cloud Computing (New)
Introduction to Cloud Computing (New)
Introduction to Cloud Computing (New)
Introduction to Cloud Computing (New)
Introduction to Cloud Computing (New)
Introduction to Cloud Computing (New)
Introduction to Cloud Computing (New)
Introduction to Cloud Computing (New)
Upcoming SlideShare
Loading in...5
×

Introduction to Cloud Computing (New)

414

Published on

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

  • Be the first to like this

No Downloads
Views
Total Views
414
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
20
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Introduction to Cloud Computing (New)

  1. 1. Cloud Computing Python Based Scalable Cloud Application Development (GAE/ Amazon EC2/ Windows Azure) By Chathuranga Bandara & Kalanamith Mannapperuma 99X Technology
  2. 2. Introduction to Cloud Computing > “ Cloud computing is a model for enabling ubiquitous, convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction“ - NIST
  3. 3. > on-demand network > shared pool of configurable computing resources > rapidly provisioned and released with minimal management
  4. 4. Myths & Facts > Myths > Cloud Computing will eliminate the need for IT Infrastructure personnel > Cloud Computing will eliminate IT expense >
  5. 5. Myths & Facts (cont..) > Facts > This technology should not be ignored > Cloud technology is real > This presentation will assist you in understanding “The Cloud” :P
  6. 6. Real Facts > It is not Network Computing – > Application and Data are not confined to any specific Company’s Server > Encompasses multiple companies, multiple servers and multiple networks > It is not Traditional Outsourcing > Not a contract to host data by 3rdparty Hosting Business
  7. 7. Features? > Scalability > Performance > Reliability > Uptime > Security > Maintenance > Service Based Model
  8. 8. Three Types? > IaaS – (Infrastructure as a Service) – the consumer uses "fundamental resources" such as processing power, storage, networking components or middleware. The consumer can control the operating system, storage, applications and possibly networking > PaaS – (Platform as a Service) - the consumer uses a hosting environment for their applications and has control over the applications (and some control over the hosting environment), but does not control the infrastructure on which they are running > SaaS – (Software as a Service) - the consumer uses an application, but does not control the infrastructure on which it's running (OS, hardware)
  9. 9. 12 BaaS (Not the Mason!) > Backend as a Service > Although similar to other cloud-computing developer tools, such as software as a service (SaaS), infrastructure as a service (IaaS), and platform as a service (PaaS), BaaS is distinct from these other services in that it specifically addresses the cloud-computing needs of web and mobile app developers by providing a unified means of connecting their apps to cloud services
  10. 10. 13 BaaS (Cont..) > Among the most common services provided are push notifications, file storage and sharing, integration with social networks such as Facebook and Twitter, location services, messaging and chat functions, user management, running business logic, and usage analysis tools > Popular BaaS: > Built.io - Free since its Beta (with 1mil API Calls) > Kinvey - Free plan available > Backendless - Free plan available
  11. 11. Different Providers for each? > IaaS – > PaaS – > SaaS -
  12. 12. Other Type Definitions? > Public Cloud: a public cloud consists of a service or set of services that are purchased by a business or organization and delivered via the Internet by a third-party provider. These services use storage capacity and processor power that is not owned by the business itself. Instead, this capacity (in the form of servers and data centers) can be owned either by the primary vendor (e.g. an online storage/backup company) or by a cloud infrastructure vendor. > Private Cloud: A private cloud is essentially an extension of an enterprise's traditional datacenter that is optimized to provide storage capacity and processor power for a variety of functions. “Private” refers more to the fact that this type of platform is a non-shared resource than to any security advantage
  13. 13. Benefit Public Private Illusion of infinite resources on-demand Yes Unlikely Elimination of up-front commitment by users Yes No True pay-as-you-go on short-term basis Yes No Economy of scale Yes No Better utilization & simplified operations through virtualization Yes Yes
  14. 14. Private + Public = Hybrid > A hybrid cloud is a composition of at least one private cloud and at least one public cloud. A hybrid cloud is typically offered in one of two ways: a vendor has a private cloud and forms a partnership with a public cloud provider, or a public cloud provider forms a partnership with a vendor that provides private cloud platforms. > Ex: For example, an organization might use a public cloud service, such as Amazon Simple Storage Service (Amazon S3) for archived data but continue to maintain in-house storage for operational customer data. > Ideally, the hybrid approach allows a business to take advantage of the scalability and cost-effectiveness that a public cloud computing environment offers without exposing mission-critical applications and data to third-party vulnerabilities.
  15. 15. When to Use Cloud Computing? > On-demand > Scalability > Performance > High multi tenancy > Vendor Specific Features
  16. 16. Examples > Provide data management and analytical capabilities to public > Provision on-demand IT infrastructure for new projects > Provide agile high capacity computing > Provide on-demand online productivity tools > Provide secure and pre-certified software deployment platforms
  17. 17. Things to keep in mind when Cloud Computing > Always try to give all most all the client side doable stuff to be done in the client side > Do your database design very well. Make sure to eliminate data redundancy > Always use Open Standards (REST) > Always keep up-to date and try to take advantage of technologies like NoSQL /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!!
  18. 18. Concerns in Cloud Computing
  19. 19. 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 possible > There will be a Risk in Cloud Computing anyways.
  20. 20. Windows Azure PaaS
  21. 21. Amazon Web Services IaaS
  22. 22. Amazon EC2 Features > Amazon Elastic Block store > Multiple Locations > Amazon Cloud Watch > Auto scaling > Elastic Load Balancing
  23. 23. Amazon EC2 Usage > Create Machine Image > Build application on top of the EC2 instance > Create multiple instances >
  24. 24. Google Apps SaaS
  25. 25. 33
  26. 26. 34 Different APIs available > Application APIs > Calendar API, Gmail API, Drive API, Sites API, Spreadsheets API > Auth APIs > OpenID API > Domain Admin APIs > Audit APIs > Email Settings API > Reporting API
  27. 27. Google App Engine PaaS
  28. 28. 36
  29. 29. Development Google App Engine > Write your web program in Python or VM based technologies including JAVA/ PHP and GO and submit to Google. It will take care 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 = return message > Debug locally > Register for an application id > Submit your application to Google
  30. 30. 38 Datastore > Based on BigTable, distributed column-store • Entities and multi-valued properties • Entities have unique key & a type (kind) • Flexible schema • Queries by GQL
  31. 31. 39 AppScale > Platform that allows users to host their own Google App Engine application in their own host (ex: Amazon EC2) > Supports Python, Java, Go (no PHP support yet) > https://github.com/AppScale/appscale
  32. 32. 40 Mobile Backends > Recently App Engine has Introduced Mobile Backends > Currently Supports for Android > Looking forward to IOS
  33. 33. 41 Creating Mobile Backend in GAE
  34. 34. 42 Cont..
  35. 35. 43 Back-end configuration in GAE backends: - name: memdb class: B8 instances: 5 - name: crawler instances: 10 start: crawler.app - name: worker options: failfast - name: cmdline options: dynamic
  36. 36. Demo – Python/ Google App Engine Using Linux based machine (Windows is easier)
  37. 37. Demo Agenda > Part One - “Hello World” in GAE > Part Two - Application development in GAE
  38. 38. Which App you think Most Suitable for the Cloud? > Engine where any List (integers/ strings) will be given by the client and the server (cloud application) will compute and send back the sorted List > Guestbook which millions of people going to use and will grow, where it will keep the comments of each guest, either as Anonymous or Email Verified user > Web based system which will display the list of Items/ Inventory to the client computer. This will only serve one or two clients in the business.
  39. 39. Lets do some coding..
  40. 40. Q & A* * Refer Google for any Question we fail to answer!
  41. 41. www.99xtechnology.com Thank You!
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×