Introduction to Cloud Computing and the Amazon Cloud   1st CloudCamp Athens   Colab Athens Oct 1, 2011  Fotis Stamatelopou...
About the Presentation <ul><li>     20' presentation </li></ul><ul><li>  </li></ul><ul><ul><ul><li>What is Cloud Computing...
What is Cloud Computing ?
&quot;The Cloud&quot; <ul><li>Different meaning: (a) user perspective, (b) software engineer / systems perspective </li></...
Cloud Computing <ul><ul><li>The natural evolution of widely used technologies and computing paradigms, like: </li></ul></u...
 
Type of  Cloud Computing Services <ul><ul><li>Based on the service offered: </li></ul></ul><ul><li>  </li></ul><ul><ul><ul...
the goal of cloud computing is to provide          on demand ,  scalable  access               to computing resources     ...
How ? <ul><li>     IaaS: you built your software and rent </li></ul><ul><ul><ul><li>Virtual machines (time based) </li></u...
 
What, how, why in 3 bullets... <ul><ul><li>What's Amazon Web Services: pay-as-you-go access to cloud infrastructure and el...
... in a picture
Snapshot of the management console
AWS products & services <ul><ul><li>  EC2: your virtual machines in predefined HW configurations </li></ul></ul><ul><li>  ...
AWS products & services (cont'd) <ul><ul><li>  SQS: distributed queue </li></ul></ul><ul><li>  </li></ul><ul><ul><li>  SNS...
Costs <ul><ul><li>There is a free usage tier: new user sign-up, one year for a Linux micro instance </li></ul></ul><ul><li...
Expensive? Why should I use it? <ul><ul><li>Cost effective high availability </li></ul></ul><ul><li>  </li></ul><ul><ul><l...
Real world case study MyNeworkFolders.com
<ul><ul><li>SaaS offering implemented by EBS.gr </li></ul></ul><ul><li>  </li></ul><ul><ul><li>A distributed, scalable and...
 
High level architecture requirements <ul><ul><li>MyNetworkFolders requires multiple servers for hosting its software compo...
Hosted  vs the Cloud <ul><ul><li>Old school hosting solution: private or rented physical servers in a data center: </li></...
Hosted vs  the Cloud <ul><ul><li>Having mynetworkfolders.com hosted in the cloud: </li></ul></ul><ul><ul><ul><li>use and p...
AWS Technologies & Products Used <ul><ul><li>Currently using in production:  </li></ul></ul><ul><li>  </li></ul><ul><ul><u...
Thank you! Questions? @fstama http://linkedin.com/in/fstamatelopoulos
Upcoming SlideShare
Loading in...5
×

Introduction To Cloud Computing And The Amazon (CloudCamp Athens)

599

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

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

No notes for slide
  • «Green Clouds and Energy Efficient Software» The presentation discusses the impact of cloud computing on designing and building energy efficient software. The focus is on distributed and scalable information systems that employ server clusters and consist of multiple software components. An actual information system is used as an example for discussing details on architectural decisions and ways to improve the &amp;quot;greenness&amp;quot; of distributed cloud-based software systems. The case study is a SaaS (Software as a Service) implementation developed by EBS.gr, current deployed on the Amazon cloud.
  • Introduction To Cloud Computing And The Amazon (CloudCamp Athens)

    1. 1. Introduction to Cloud Computing and the Amazon Cloud   1st CloudCamp Athens   Colab Athens Oct 1, 2011 Fotis Stamatelopoulos @fstama http://linkedin.com/in/fstamatelopoulos
    2. 2. About the Presentation <ul><li>     20' presentation </li></ul><ul><li>  </li></ul><ul><ul><ul><li>What is Cloud Computing </li></ul></ul></ul><ul><li>  </li></ul><ul><ul><ul><li>The Amazon Cloud </li></ul></ul></ul><ul><li>  </li></ul><ul><ul><ul><li>Case study </li></ul></ul></ul>
    3. 3. What is Cloud Computing ?
    4. 4. &quot;The Cloud&quot; <ul><li>Different meaning: (a) user perspective, (b) software engineer / systems perspective </li></ul>source: shanghaiwebhosting.com source: wikipedia.org
    5. 5. Cloud Computing <ul><ul><li>The natural evolution of widely used technologies and computing paradigms, like: </li></ul></ul><ul><ul><ul><li>the client-server model </li></ul></ul></ul><ul><ul><ul><li>virtualization (dynamic multiple &quot;virtual&quot; machines contained into a physical one) </li></ul></ul></ul><ul><ul><ul><li>the service oriented architecture </li></ul></ul></ul><ul><ul><ul><li>utility computing </li></ul></ul></ul><ul><li>  </li></ul><ul><ul><li>The &quot;Cloud Computing&quot; buzzword focuses more on the business model than on the technologies involved </li></ul></ul><ul><ul><ul><li>computing/network resources consumed on demand </li></ul></ul></ul><ul><ul><ul><li>elasticity - scalability </li></ul></ul></ul><ul><ul><ul><li>service, resources managed by the provider </li></ul></ul></ul><ul><li>  </li></ul>
    6. 7. Type of  Cloud Computing Services <ul><ul><li>Based on the service offered: </li></ul></ul><ul><li>  </li></ul><ul><ul><ul><li>Infrastructure-as-a-Service (IaaS) - Amazon AWS </li></ul></ul></ul><ul><ul><ul><li>Platform-as-a-Service (PaaS) - Google Appengine </li></ul></ul></ul><ul><ul><ul><li>may also include Software-as-a-Service (SaaS) - SalesForce.com </li></ul></ul></ul><ul><li>  </li></ul><ul><ul><li>  Based on ownership: </li></ul></ul><ul><li>  </li></ul><ul><ul><ul><li>Public clouds - offer services to everyone </li></ul></ul></ul><ul><ul><ul><li>Private clouds - in-house solutions </li></ul></ul></ul><ul><ul><ul><li>Hybrid clouds - little bit of both </li></ul></ul></ul>
    7. 8. the goal of cloud computing is to provide          on demand , scalable access              to computing resources                   & IT services
    8. 9. How ? <ul><li>     IaaS: you built your software and rent </li></ul><ul><ul><ul><li>Virtual machines (time based) </li></ul></ul></ul><ul><ul><ul><li>Storage (e.g. bytes per month) </li></ul></ul></ul><ul><ul><ul><li>Traffic in/out (per month) </li></ul></ul></ul><ul><ul><ul><li>Additional services (via API calls) </li></ul></ul></ul><ul><ul><ul><li>Deploy your software components and you manage elasticity & scalability </li></ul></ul></ul><ul><li>     PaaS: </li></ul><ul><ul><ul><li>Deploy your specially designed application and the service handles elastic usage of resources / scaling </li></ul></ul></ul><ul><li>    SaaS: you rent the usage of a software product </li></ul><ul><ul><ul><li>on a subscription basis (per user cost) </li></ul></ul></ul><ul><ul><ul><li>or on demand (time & per user cost) </li></ul></ul></ul><ul><ul><ul><li>some application customization is offered </li></ul></ul></ul>
    9. 11. What, how, why in 3 bullets... <ul><ul><li>What's Amazon Web Services: pay-as-you-go access to cloud infrastructure and elastic services via REST/SOAP and/or a Web-based console. </li></ul></ul><ul><li>  </li></ul><ul><ul><li>  How (simplified):  </li></ul></ul><ul><ul><ul><li>create machine images (AMIs) </li></ul></ul></ul><ul><ul><ul><li>launch VMs (boot from AMIs) </li></ul></ul></ul><ul><ul><ul><li>attach persistent volumes (EBS vols) </li></ul></ul></ul><ul><ul><ul><li>login and install software & applications </li></ul></ul></ul><ul><ul><ul><li>(optional) use other AWS services via REST/SOAP </li></ul></ul></ul><ul><li>  </li></ul><ul><ul><li>  Why: </li></ul></ul><ul><ul><ul><li>dynamic, elastic usage of resources </li></ul></ul></ul><ul><ul><ul><li>cost-effective high availability (e.g. S3) </li></ul></ul></ul><ul><ul><ul><li>pay on usage (hourly-rate) </li></ul></ul></ul>
    10. 12. ... in a picture
    11. 13. Snapshot of the management console
    12. 14. AWS products & services <ul><ul><li>  EC2: your virtual machines in predefined HW configurations </li></ul></ul><ul><li>  </li></ul><ul><ul><li>  EBS: persistent block storage (faster than S3, slower than volatile EC2 instance disks) </li></ul></ul><ul><li>  </li></ul><ul><ul><li>  S3: object (file) storage via REST/SOAP, high availability and geographical replication, also used for your AMIs </li></ul></ul><ul><li>  </li></ul><ul><ul><li>  CloudFront: Amazon's CDN </li></ul></ul><ul><li>  </li></ul><ul><ul><li>  Cloudwatch / Autoscaling: monitoring and scaling of EC2  </li></ul></ul><ul><li>  </li></ul><ul><ul><li>  Elastic Cache: distributed in-memory cache </li></ul></ul>
    13. 15. AWS products & services (cont'd) <ul><ul><li>  SQS: distributed queue </li></ul></ul><ul><li>  </li></ul><ul><ul><li>  SNS: notification service(messaging / topics & events) </li></ul></ul><ul><li>  </li></ul><ul><ul><li>  SES: scalable, bulk e-mail service </li></ul></ul><ul><li>  </li></ul><ul><ul><li>  SimpleDB / RDS: Amazon's NoSQL / RDBMS services </li></ul></ul><ul><li>  </li></ul><ul><ul><li>  Elastic MapReduce: Hadoop on EC2/S3  </li></ul></ul><ul><li>  </li></ul><ul><ul><li>  and more on deployment and management, payments/e-commerce, networking... etc </li></ul></ul>
    14. 16. Costs <ul><ul><li>There is a free usage tier: new user sign-up, one year for a Linux micro instance </li></ul></ul><ul><li>  </li></ul><ul><ul><li>Pay as you go for what you use </li></ul></ul><ul><ul><ul><li>pay usage per hour </li></ul></ul></ul><ul><ul><ul><li>pay for traffic (volume) </li></ul></ul></ul><ul><ul><ul><li>pay for storage (volume) </li></ul></ul></ul><ul><ul><ul><li>pay for I/O operations / transactions </li></ul></ul></ul><ul><li>  </li></ul><ul><ul><li>Much more expensive than the typical rented physical machines / VMs </li></ul></ul>
    15. 17. Expensive? Why should I use it? <ul><ul><li>Cost effective high availability </li></ul></ul><ul><li>  </li></ul><ul><ul><li>Elasticity, easy to scale up/down dynamically </li></ul></ul><ul><li>  </li></ul><ul><ul><li>REST-based infrastructure management & monitoring </li></ul></ul><ul><li>  </li></ul><ul><ul><li>Massive processing power for short periods </li></ul></ul><ul><ul><ul><li>e.g. launch 10.000 VMs for a week </li></ul></ul></ul><ul><ul><ul><li>MapReduce big data projects </li></ul></ul></ul><ul><li>  </li></ul><ul><ul><li>It's not cost-effective to use EC2 instances for your low-traffic web site (maybe on the free-tier) </li></ul></ul>
    16. 18. Real world case study MyNeworkFolders.com
    17. 19. <ul><ul><li>SaaS offering implemented by EBS.gr </li></ul></ul><ul><li>  </li></ul><ul><ul><li>A distributed, scalable and elastic file storage platform that: </li></ul></ul><ul><ul><ul><li>supports access via multiple user interfaces (web browser, mobile devices, desktop, WebDAV) </li></ul></ul></ul><ul><ul><ul><li>provides an API for building custom client applications </li></ul></ul></ul><ul><ul><ul><li>it is based on EBS's open source project gss-project.org </li></ul></ul></ul><ul><li>  </li></ul><ul><ul><li>It is designed for operating in the cloud, currently deployed at the Amazon cloud. </li></ul></ul>
    18. 21. High level architecture requirements <ul><ul><li>MyNetworkFolders requires multiple servers for hosting its software components: </li></ul></ul><ul><ul><ul><li>duplicated (for fault tolerance) front-end web server </li></ul></ul></ul><ul><ul><ul><li>cluster of (at least two)  application servers implementing the core business logic </li></ul></ul></ul><ul><ul><ul><li>database cluster for storing meta-data and other info </li></ul></ul></ul><ul><ul><ul><li>search / indexing server cluster for full text search </li></ul></ul></ul><ul><ul><ul><li>a secure, efficient and scalable file storage system </li></ul></ul></ul><ul><li>  </li></ul><ul><ul><li>All these add up to at least three virtual servers and can easily grow to clusters of tens of servers. </li></ul></ul>
    19. 22. Hosted vs the Cloud <ul><ul><li>Old school hosting solution: private or rented physical servers in a data center: </li></ul></ul><ul><ul><ul><li>always maintain and support a minimum number of servers even when the load is low </li></ul></ul></ul><ul><ul><ul><li>energy & cost efficient adaptation to fluctuating load is almost impossible to achieve </li></ul></ul></ul><ul><ul><ul><li>scaling up requires buying/renting and setting up new physical servers (and supporting equipment) </li></ul></ul></ul><ul><ul><ul><ul><li>for the application </li></ul></ul></ul></ul><ul><ul><ul><ul><li>for the storage subsystem </li></ul></ul></ul></ul><ul><ul><ul><li>high operating costs for a small company, especially for achieving a high level of fault tolerance / availability </li></ul></ul></ul>
    20. 23. Hosted vs the Cloud <ul><ul><li>Having mynetworkfolders.com hosted in the cloud: </li></ul></ul><ul><ul><ul><li>use and pay only what we need </li></ul></ul></ul><ul><ul><ul><li>easily and dynamically grow or shrink resource usage (and energy consumption) to meet fluctuating user demand during the day </li></ul></ul></ul><ul><ul><ul><li>easily scale up (more virtual servers) when the user base increases, or when new functionality is added </li></ul></ul></ul><ul><ul><ul><li>economy of scale offers high availability and fault tolerance in an affordable cost </li></ul></ul></ul><ul><ul><ul><li>minimize operational costs </li></ul></ul></ul>
    21. 24. AWS Technologies & Products Used <ul><ul><li>Currently using in production: </li></ul></ul><ul><li>  </li></ul><ul><ul><ul><li>EC2 for server instances (app, db, search,admin) </li></ul></ul></ul><ul><li>  </li></ul><ul><ul><ul><li>S3 - reliable, replicated file storage </li></ul></ul></ul><ul><ul><ul><ul><li>the main reason we used AWS </li></ul></ul></ul></ul><ul><li>  </li></ul><ul><ul><ul><li>CloudWatch (monitoring) </li></ul></ul></ul><ul><li>  </li></ul><ul><ul><li>Plan to use: </li></ul></ul><ul><ul><ul><li>Elastic Load Balancing </li></ul></ul></ul><ul><ul><ul><li>CloudFront </li></ul></ul></ul><ul><li>  </li></ul>
    22. 25. Thank you! Questions? @fstama http://linkedin.com/in/fstamatelopoulos

    ×