SlideShare uma empresa Scribd logo
1 de 28
Baixar para ler offline
Cloud
Computing

Florian Wagner
NTDB November 2008
Varianten

• Infrastruktur
    Amazon EC2, Sun Grid, Skytap
• (Software-)Platform
    Google AppEngine, Mosso, Salesforce
Amazon EC2

• EC2 = „Elastic Compute Cloud“
• eng verknüpft mit „Simple Storage Service“ (S3)
• beides Teil von „Amazon Web Services“
• Paravirtualisierung auf Basis von Xen
EC2 Komponenten
• Amazon Machine Image (AMI)
    „Blueprint“ für neue Instanzen
    kein Schreibzugriff seitens der Instanz
• Instance
    laufende, virtuelle Maschine
• Instance Storage
    Festplattenspeicher einer Instanz
    verschwindet bei Herunterfahren der Instanz
Instanz-Typen
           CPU (CU)         RAM (GB)       Instance Storage (TB)
                                                             20,0




                                 15,0




                                 8,0
                      7,5
                                                             7,0

                                              5,0
                      4,0

     1,7                         1,7          1,7            1,7
     1,0              0,9
     0,2                                      0,4


 S               L             XL       High CPU M   High CPU XL


 Stand 11/2008, CU = Compute Unit
Softwareunterstützung

• Betriebssysteme
    RHEL, Oracle Enterprise Linux, openSUSE,
    Fedora, Debian, etc.
    Windows 2003 Server
• Software („building block“ AMIs)
    Oracel 11g, MSSQL Server 2005, JBoss, etc.
Administration

• Vollständige Steuerung über
    Command-line Tools
    API
     ✦   SOAP bzw. REST
     ✦   Libraries verfügbar (für Ruby, Java, C#, ...)
Features

• Availability Zones
    Unterteilung von Regionen in geographisch
    verteilte und technisch unabhängige
    „availability zones“.
    erhöhte Ausfallsicherheit bei Nutzung
    mehrerer „availability zones“
Features
• Elastic Block Store
    „Amazon EBS volumes are highly available,
    highly reliable volumes that can be attached to
    a running Amazon EC2 instance and are
    exposed as standard block devices.“
    Lebenszyklus unabhängig von Instanz
    Snapshot nach S3, repliziert über alle
    „availability zones“
Features

• Elastic IP Addresses
    IP-Adresse verknüpft mit Account, nicht mit
    konkreter Instanz
    programmatisches remapping der IP-Adresse
    via API
    kein „propagation delay“
Simple Storage Service
• bis zu 100 Buckets pro Benutzer
• Objects (Dateien) werden identifiziert durch
  Bucket + Key (Dateiname)
• flache Hierarchie, aber Key darf „/“ enthalten
• z.B. Bucket „foobar“, Key „foo/bar.txt“
    http://foobar.s3.amazonaws.com/foo/bar.txt

• Administration via REST oder SOAP API
• BitTorrent-Unterstützung (/foo/bar.txt?torrent)
Szenario
S3          EC2
                          Client
  AMI         Instanz
            (AppServer)
                          Client
  AMI         Instanz
            (AppServer)
  AMI                     Client
              Instanz
               (DB)
   EBS
 Snapshot
                  EBS
Kosten
EC2                     min              max
Instanz (pro h)        $0,10             $1,20
1GB Transfer           $0,10             $0,17

S3
1GB Storage            $0,12             $0,15
1GB Transfer           $0,10             $0,17
1k Requests            $0,01             $0,10
Transfer zwischen EC2 und S3 (US) ist kostenlos
Stand 11/2008
Getting Started

• http://aws.amazon.com/ec2/
• http://aws.amazon.com/s3/
• „Stunden-Server“, c't 14/08, Seite 168
• „Eimerweise Online-Speicher“, c't 23/08,
  Seite 186
Google AppEngine
• Framework für Python
• Platform beinhaltet persistenten Speicher
  („Datastore“)
• Unterstützung für weitere Sprachen in
  Entwicklung
• Django-Unterstützung (mittelmäßig)
• Unterstützung für SSO durch Google-Accounts
• lokale Entwicklungsumgebung inkl. Datastore
API-Komponenten
• Datastore
• Images
• Mail
• Memcache
• URL Fetch
• Users
Datastore
• Models
   Subklasse von db.Model
   enthält ein oder mehrere Properties
    ✦   StringProperty, TextProperty, ListProperty,
        CategoryProperty, ...
    ✦   ReferenceProperty
   zur Laufzeit für jedes Entity veränderlich
Datastore API

• get(keys)
• put(entities)
• delete(entities)
• run_in_transaction(function, args, kwargs)
Datastore

• Google Query Language GQL
 SELECT * FROM <kind>
     [WHERE <condition> [AND <condition> ...]]
     [ORDER BY <property> [ASC | DESC] [, ...]
     [LIMIT [<offset>,]<count>]
     [OFFSET <offset>]

 <condition> := <property> {< | <= | > | >= | = | != } <value>
 <condition> := <property> IN <list>
 <condition> := ANCESTOR IS <entity or key>
Limits / Quotas
• 1MB-Limit für Datenstrukturen
• 10-Sekunden-Limit für Antwortzeit
• „short term high CPU quota“
• 1000-Records-Limit für Queries
• max. 1000 Dateien/500MB pro Anwendung
• diverse Request- und Call-Limits
Demo
Getting Started


• http://code.google.com/appengine/
• http://code.google.com/appengine/docs/
  gettingstarted/
• http://aptana.com/python

Mais conteúdo relacionado

Destaque

En La Sierra De Otontepec
En La Sierra De OtontepecEn La Sierra De Otontepec
En La Sierra De Otontepecflorenciaitalia
 
Pocket Informant
Pocket InformantPocket Informant
Pocket Informantguest29520e
 
Dar y recibir es a menudo mejor que todo o nada
Dar y recibir es a menudo mejor que todo o nadaDar y recibir es a menudo mejor que todo o nada
Dar y recibir es a menudo mejor que todo o nadaAndrés Vázquez
 
Ejercicio contaminaciones artisticas
Ejercicio contaminaciones artisticasEjercicio contaminaciones artisticas
Ejercicio contaminaciones artisticasmi_re_ia
 
Hotels in der Nähe des BrandGym
Hotels in der Nähe des BrandGymHotels in der Nähe des BrandGym
Hotels in der Nähe des BrandGymHelmut Kazmaier
 
Unsere Leistungen
Unsere LeistungenUnsere Leistungen
Unsere LeistungenHagen Wenk
 
clasificacion de redes
clasificacion de redesclasificacion de redes
clasificacion de redesMONTERO12FN16
 
Física moderna
Física modernaFísica moderna
Física modernaasktri
 
Ventajas de realizar presentaciones en prezi
Ventajas de realizar presentaciones en preziVentajas de realizar presentaciones en prezi
Ventajas de realizar presentaciones en preziStef So Ov
 
Tecnología educativa
Tecnología educativaTecnología educativa
Tecnología educativajose1101
 
betterplace lab Metriken Mai 2011
betterplace lab Metriken Mai 2011betterplace lab Metriken Mai 2011
betterplace lab Metriken Mai 2011betterplace lab
 
Ecuaciones diferenciales
Ecuaciones diferencialesEcuaciones diferenciales
Ecuaciones diferencialesoxi5010
 
Wie NGOs Videos einsetzen, um ihre Unterstützer emotional zu erreichen
Wie NGOs Videos einsetzen, um ihre Unterstützer emotional zu erreichenWie NGOs Videos einsetzen, um ihre Unterstützer emotional zu erreichen
Wie NGOs Videos einsetzen, um ihre Unterstützer emotional zu erreichenVolker Gaßner
 

Destaque (20)

En La Sierra De Otontepec
En La Sierra De OtontepecEn La Sierra De Otontepec
En La Sierra De Otontepec
 
Pocket Informant
Pocket InformantPocket Informant
Pocket Informant
 
praesentation_aquabasilea
praesentation_aquabasileapraesentation_aquabasilea
praesentation_aquabasilea
 
Comunicación
Comunicación Comunicación
Comunicación
 
Dar y recibir es a menudo mejor que todo o nada
Dar y recibir es a menudo mejor que todo o nadaDar y recibir es a menudo mejor que todo o nada
Dar y recibir es a menudo mejor que todo o nada
 
FinalVocab
FinalVocabFinalVocab
FinalVocab
 
Matriz tpak
Matriz tpakMatriz tpak
Matriz tpak
 
Ejercicio contaminaciones artisticas
Ejercicio contaminaciones artisticasEjercicio contaminaciones artisticas
Ejercicio contaminaciones artisticas
 
Hotels in der Nähe des BrandGym
Hotels in der Nähe des BrandGymHotels in der Nähe des BrandGym
Hotels in der Nähe des BrandGym
 
Unsere Leistungen
Unsere LeistungenUnsere Leistungen
Unsere Leistungen
 
clasificacion de redes
clasificacion de redesclasificacion de redes
clasificacion de redes
 
Física moderna
Física modernaFísica moderna
Física moderna
 
Ventajas de realizar presentaciones en prezi
Ventajas de realizar presentaciones en preziVentajas de realizar presentaciones en prezi
Ventajas de realizar presentaciones en prezi
 
Wissen und horizonte 2011
Wissen und horizonte 2011Wissen und horizonte 2011
Wissen und horizonte 2011
 
Gaye 13
Gaye 13Gaye 13
Gaye 13
 
Recomendaciones
RecomendacionesRecomendaciones
Recomendaciones
 
Tecnología educativa
Tecnología educativaTecnología educativa
Tecnología educativa
 
betterplace lab Metriken Mai 2011
betterplace lab Metriken Mai 2011betterplace lab Metriken Mai 2011
betterplace lab Metriken Mai 2011
 
Ecuaciones diferenciales
Ecuaciones diferencialesEcuaciones diferenciales
Ecuaciones diferenciales
 
Wie NGOs Videos einsetzen, um ihre Unterstützer emotional zu erreichen
Wie NGOs Videos einsetzen, um ihre Unterstützer emotional zu erreichenWie NGOs Videos einsetzen, um ihre Unterstützer emotional zu erreichen
Wie NGOs Videos einsetzen, um ihre Unterstützer emotional zu erreichen
 

Semelhante a Cloud Computing

Tech Talk: Cloud Computing
Tech  Talk: Cloud ComputingTech  Talk: Cloud Computing
Tech Talk: Cloud Computingrjtg
 
Webinar Neues von der re:invent 2013 Teil 1: PostgreSQL RDS, CloudTrail, neue...
Webinar Neues von der re:invent 2013 Teil 1: PostgreSQL RDS, CloudTrail, neue...Webinar Neues von der re:invent 2013 Teil 1: PostgreSQL RDS, CloudTrail, neue...
Webinar Neues von der re:invent 2013 Teil 1: PostgreSQL RDS, CloudTrail, neue...AWS Germany
 
Best Practices SharePoint and SQL Installation
Best Practices SharePoint and SQL InstallationBest Practices SharePoint and SQL Installation
Best Practices SharePoint and SQL InstallationSamuel Zürcher
 
DWX 2016 - Load Testing mit Visual Studio richtig gemacht
DWX 2016 - Load Testing mit Visual Studio richtig gemachtDWX 2016 - Load Testing mit Visual Studio richtig gemacht
DWX 2016 - Load Testing mit Visual Studio richtig gemachtMarc Müller
 
Meet Magento - High performance magento
Meet Magento - High performance magentoMeet Magento - High performance magento
Meet Magento - High performance magentoAOE
 
Ajax hands on - Refactoring Google Suggest
Ajax hands on - Refactoring Google SuggestAjax hands on - Refactoring Google Suggest
Ajax hands on - Refactoring Google SuggestBastian Feder
 
Cloud Deployment und (Auto)Scaling am Beispiel von Angrybird
Cloud Deployment und (Auto)Scaling  am Beispiel von AngrybirdCloud Deployment und (Auto)Scaling  am Beispiel von Angrybird
Cloud Deployment und (Auto)Scaling am Beispiel von AngrybirdAOE
 
Sql Server GrundlagenfüR Share Point Admins
Sql Server GrundlagenfüR Share Point AdminsSql Server GrundlagenfüR Share Point Admins
Sql Server GrundlagenfüR Share Point AdminsSharepointUGDD
 
Sql Server Grundlagen für Sharepoint Administratoren
Sql Server Grundlagen für Sharepoint AdministratorenSql Server Grundlagen für Sharepoint Administratoren
Sql Server Grundlagen für Sharepoint AdministratorenCommunardo GmbH
 
Webanwendungen mit Apache HBase entwickeln
Webanwendungen mit Apache HBase entwickelnWebanwendungen mit Apache HBase entwickeln
Webanwendungen mit Apache HBase entwickelnRoman Roelofsen
 
SQL oder NoSQL - Die Auswahl der richtigen Datenbankplattform für die Cloud
SQL oder NoSQL - Die Auswahl der richtigen Datenbankplattform für die CloudSQL oder NoSQL - Die Auswahl der richtigen Datenbankplattform für die Cloud
SQL oder NoSQL - Die Auswahl der richtigen Datenbankplattform für die CloudAWS Germany
 
Do´s and Dont´s mit Oracle RDS
Do´s and Dont´s mit Oracle RDS Do´s and Dont´s mit Oracle RDS
Do´s and Dont´s mit Oracle RDS esentri AG
 
Cloud Deployment und (Auto)Scaling am Beispiel von Angrybird
Cloud Deployment und (Auto)Scaling am Beispiel von AngrybirdCloud Deployment und (Auto)Scaling am Beispiel von Angrybird
Cloud Deployment und (Auto)Scaling am Beispiel von AngrybirdAOE
 
OOP 2014 SQL oder NoSQL - die Auswahl der richtigen Datenbankplattform für di...
OOP 2014 SQL oder NoSQL - die Auswahl der richtigen Datenbankplattform für di...OOP 2014 SQL oder NoSQL - die Auswahl der richtigen Datenbankplattform für di...
OOP 2014 SQL oder NoSQL - die Auswahl der richtigen Datenbankplattform für di...AWS Germany
 
Auszug Seminarunterlagen "Tomcat 6.x"
Auszug Seminarunterlagen "Tomcat 6.x"Auszug Seminarunterlagen "Tomcat 6.x"
Auszug Seminarunterlagen "Tomcat 6.x"schellsoft
 
Wordpress on steroids
Wordpress on steroidsWordpress on steroids
Wordpress on steroidsBlogwerk AG
 
Goobi Präsentation Darmstadt 2009
Goobi Präsentation Darmstadt 2009Goobi Präsentation Darmstadt 2009
Goobi Präsentation Darmstadt 2009Ralf Stockmann
 

Semelhante a Cloud Computing (20)

Tech Talk: Cloud Computing
Tech  Talk: Cloud ComputingTech  Talk: Cloud Computing
Tech Talk: Cloud Computing
 
Webinar Neues von der re:invent 2013 Teil 1: PostgreSQL RDS, CloudTrail, neue...
Webinar Neues von der re:invent 2013 Teil 1: PostgreSQL RDS, CloudTrail, neue...Webinar Neues von der re:invent 2013 Teil 1: PostgreSQL RDS, CloudTrail, neue...
Webinar Neues von der re:invent 2013 Teil 1: PostgreSQL RDS, CloudTrail, neue...
 
Best Practices SharePoint and SQL Installation
Best Practices SharePoint and SQL InstallationBest Practices SharePoint and SQL Installation
Best Practices SharePoint and SQL Installation
 
DWX 2016 - Load Testing mit Visual Studio richtig gemacht
DWX 2016 - Load Testing mit Visual Studio richtig gemachtDWX 2016 - Load Testing mit Visual Studio richtig gemacht
DWX 2016 - Load Testing mit Visual Studio richtig gemacht
 
node.js
node.jsnode.js
node.js
 
Meet Magento - High performance magento
Meet Magento - High performance magentoMeet Magento - High performance magento
Meet Magento - High performance magento
 
Ajax hands on - Refactoring Google Suggest
Ajax hands on - Refactoring Google SuggestAjax hands on - Refactoring Google Suggest
Ajax hands on - Refactoring Google Suggest
 
Cloud Deployment und (Auto)Scaling am Beispiel von Angrybird
Cloud Deployment und (Auto)Scaling  am Beispiel von AngrybirdCloud Deployment und (Auto)Scaling  am Beispiel von Angrybird
Cloud Deployment und (Auto)Scaling am Beispiel von Angrybird
 
JBoss ESB
JBoss ESBJBoss ESB
JBoss ESB
 
Sql Server GrundlagenfüR Share Point Admins
Sql Server GrundlagenfüR Share Point AdminsSql Server GrundlagenfüR Share Point Admins
Sql Server GrundlagenfüR Share Point Admins
 
Sql Server Grundlagen für Sharepoint Administratoren
Sql Server Grundlagen für Sharepoint AdministratorenSql Server Grundlagen für Sharepoint Administratoren
Sql Server Grundlagen für Sharepoint Administratoren
 
Webanwendungen mit Apache HBase entwickeln
Webanwendungen mit Apache HBase entwickelnWebanwendungen mit Apache HBase entwickeln
Webanwendungen mit Apache HBase entwickeln
 
SQL oder NoSQL - Die Auswahl der richtigen Datenbankplattform für die Cloud
SQL oder NoSQL - Die Auswahl der richtigen Datenbankplattform für die CloudSQL oder NoSQL - Die Auswahl der richtigen Datenbankplattform für die Cloud
SQL oder NoSQL - Die Auswahl der richtigen Datenbankplattform für die Cloud
 
Do´s and Dont´s mit Oracle RDS
Do´s and Dont´s mit Oracle RDS Do´s and Dont´s mit Oracle RDS
Do´s and Dont´s mit Oracle RDS
 
Debugging und Profiling
Debugging und ProfilingDebugging und Profiling
Debugging und Profiling
 
Cloud Deployment und (Auto)Scaling am Beispiel von Angrybird
Cloud Deployment und (Auto)Scaling am Beispiel von AngrybirdCloud Deployment und (Auto)Scaling am Beispiel von Angrybird
Cloud Deployment und (Auto)Scaling am Beispiel von Angrybird
 
OOP 2014 SQL oder NoSQL - die Auswahl der richtigen Datenbankplattform für di...
OOP 2014 SQL oder NoSQL - die Auswahl der richtigen Datenbankplattform für di...OOP 2014 SQL oder NoSQL - die Auswahl der richtigen Datenbankplattform für di...
OOP 2014 SQL oder NoSQL - die Auswahl der richtigen Datenbankplattform für di...
 
Auszug Seminarunterlagen "Tomcat 6.x"
Auszug Seminarunterlagen "Tomcat 6.x"Auszug Seminarunterlagen "Tomcat 6.x"
Auszug Seminarunterlagen "Tomcat 6.x"
 
Wordpress on steroids
Wordpress on steroidsWordpress on steroids
Wordpress on steroids
 
Goobi Präsentation Darmstadt 2009
Goobi Präsentation Darmstadt 2009Goobi Präsentation Darmstadt 2009
Goobi Präsentation Darmstadt 2009
 

Cloud Computing

  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8. Varianten • Infrastruktur Amazon EC2, Sun Grid, Skytap • (Software-)Platform Google AppEngine, Mosso, Salesforce
  • 9. Amazon EC2 • EC2 = „Elastic Compute Cloud“ • eng verknüpft mit „Simple Storage Service“ (S3) • beides Teil von „Amazon Web Services“ • Paravirtualisierung auf Basis von Xen
  • 10. EC2 Komponenten • Amazon Machine Image (AMI) „Blueprint“ für neue Instanzen kein Schreibzugriff seitens der Instanz • Instance laufende, virtuelle Maschine • Instance Storage Festplattenspeicher einer Instanz verschwindet bei Herunterfahren der Instanz
  • 11. Instanz-Typen CPU (CU) RAM (GB) Instance Storage (TB) 20,0 15,0 8,0 7,5 7,0 5,0 4,0 1,7 1,7 1,7 1,7 1,0 0,9 0,2 0,4 S L XL High CPU M High CPU XL Stand 11/2008, CU = Compute Unit
  • 12. Softwareunterstützung • Betriebssysteme RHEL, Oracle Enterprise Linux, openSUSE, Fedora, Debian, etc. Windows 2003 Server • Software („building block“ AMIs) Oracel 11g, MSSQL Server 2005, JBoss, etc.
  • 13. Administration • Vollständige Steuerung über Command-line Tools API ✦ SOAP bzw. REST ✦ Libraries verfügbar (für Ruby, Java, C#, ...)
  • 14. Features • Availability Zones Unterteilung von Regionen in geographisch verteilte und technisch unabhängige „availability zones“. erhöhte Ausfallsicherheit bei Nutzung mehrerer „availability zones“
  • 15. Features • Elastic Block Store „Amazon EBS volumes are highly available, highly reliable volumes that can be attached to a running Amazon EC2 instance and are exposed as standard block devices.“ Lebenszyklus unabhängig von Instanz Snapshot nach S3, repliziert über alle „availability zones“
  • 16. Features • Elastic IP Addresses IP-Adresse verknüpft mit Account, nicht mit konkreter Instanz programmatisches remapping der IP-Adresse via API kein „propagation delay“
  • 17. Simple Storage Service • bis zu 100 Buckets pro Benutzer • Objects (Dateien) werden identifiziert durch Bucket + Key (Dateiname) • flache Hierarchie, aber Key darf „/“ enthalten • z.B. Bucket „foobar“, Key „foo/bar.txt“ http://foobar.s3.amazonaws.com/foo/bar.txt • Administration via REST oder SOAP API • BitTorrent-Unterstützung (/foo/bar.txt?torrent)
  • 18. Szenario S3 EC2 Client AMI Instanz (AppServer) Client AMI Instanz (AppServer) AMI Client Instanz (DB) EBS Snapshot EBS
  • 19. Kosten EC2 min max Instanz (pro h) $0,10 $1,20 1GB Transfer $0,10 $0,17 S3 1GB Storage $0,12 $0,15 1GB Transfer $0,10 $0,17 1k Requests $0,01 $0,10 Transfer zwischen EC2 und S3 (US) ist kostenlos Stand 11/2008
  • 20. Getting Started • http://aws.amazon.com/ec2/ • http://aws.amazon.com/s3/ • „Stunden-Server“, c't 14/08, Seite 168 • „Eimerweise Online-Speicher“, c't 23/08, Seite 186
  • 21. Google AppEngine • Framework für Python • Platform beinhaltet persistenten Speicher („Datastore“) • Unterstützung für weitere Sprachen in Entwicklung • Django-Unterstützung (mittelmäßig) • Unterstützung für SSO durch Google-Accounts • lokale Entwicklungsumgebung inkl. Datastore
  • 22. API-Komponenten • Datastore • Images • Mail • Memcache • URL Fetch • Users
  • 23. Datastore • Models Subklasse von db.Model enthält ein oder mehrere Properties ✦ StringProperty, TextProperty, ListProperty, CategoryProperty, ... ✦ ReferenceProperty zur Laufzeit für jedes Entity veränderlich
  • 24. Datastore API • get(keys) • put(entities) • delete(entities) • run_in_transaction(function, args, kwargs)
  • 25. Datastore • Google Query Language GQL SELECT * FROM <kind> [WHERE <condition> [AND <condition> ...]] [ORDER BY <property> [ASC | DESC] [, ...] [LIMIT [<offset>,]<count>] [OFFSET <offset>] <condition> := <property> {< | <= | > | >= | = | != } <value> <condition> := <property> IN <list> <condition> := ANCESTOR IS <entity or key>
  • 26. Limits / Quotas • 1MB-Limit für Datenstrukturen • 10-Sekunden-Limit für Antwortzeit • „short term high CPU quota“ • 1000-Records-Limit für Queries • max. 1000 Dateien/500MB pro Anwendung • diverse Request- und Call-Limits
  • 27. Demo
  • 28. Getting Started • http://code.google.com/appengine/ • http://code.google.com/appengine/docs/ gettingstarted/ • http://aptana.com/python