amazon ec2 / eucalyptus

45
© 2011 Mayflower GmbH http://dev.mysql.com/common/logos/logo-mysql-110x57.png Amazon EC2 / Eucalyptus Daniel Hallmann I 7 July 2011

Upload: mayflower-gmbh

Post on 05-Dec-2014

3.370 views

Category:

Technology


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Amazon EC2  / Eucalyptus

© 2011 Mayflower GmbHhttp://dev.mysql.com/common/logos/logo-mysql-110x57.png

Amazon EC2 / Eucalyptus

Daniel Hallmann I 7 July 2011

Page 2: Amazon EC2  / Eucalyptus

Amazone EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 2

I Daniel Hallmann Dipl.-Inf. (FH)

I Developer

I Since 3 ½ years working for Mayflower

I Working fields: Development in PHP, JS and MySQL

Referent

Page 3: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 3

“Cloud computing is like sex in high school: Everyone is talking about it, not many are actually doing it, and none are doing it well.”2:25 PM Jun 9th from TweetDeck

jack_danielJack Daniel

Page 4: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 4

“Cloud computing is a model for enabling convenient, on-demand network access to a shared pool of configurable computing.”http://en.wikipedia.org/wiki/Cloud_Computing

“Cloud computing is a general term for anything that involves delivering hosted services over the Internet..”http://searchcloudcomputing.techtarget.com/definition/cloud-computing

Page 5: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus Mayflower GmbH I 7 July 2011 I 5

PaaS

Vorführender
Präsentationsnotizen
Platform as Service Runtime Environment Development Environment Pitfalls Vendor lock in Security Advantages Easily scalable Only include programmatically logic without self administration Google App Engine, Force.com (Salesforce.com) und Windows Azure
Page 6: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 6

Runtime/DevelopmentEnvironment

Application 1 Application 2

Vorführender
Präsentationsnotizen
Pitfalls Vendor lock in Security Advantages Easily scalable
Page 7: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus Mayflower GmbH I 7 July 2011 I 7

SaaS

Page 8: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 8

Runtime-Environment

Application 1 Application 2

Application 3Application 4

Vorführender
Präsentationsnotizen
Pitfalls Vendor lock in Security Advantages Easily scalable Examples zoho.com (chat, docs, mail) google.com (docs, mail, translate)
Page 9: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus Mayflower GmbH I 7 July 2011 I 9

IaaS

Vorführender
Präsentationsnotizen
Infrastructure as a Service Computer infrastructure typically a platform virtualization environment
Page 10: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 10

Server 1 Server 2 Server 3

Storage 1 Storage 2

Webservice

Db-Layer

Application 1 Application 1 Application 1

Vorführender
Präsentationsnotizen
Pitfalls Vendor lock in Security Integrity of the service provider Advantages Easily scalable Don’t worry about hardware
Page 11: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 11

CLOUDS

Page 12: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 12

PUBLIC

Vorführender
Präsentationsnotizen
Customer and Provider are not under the same organisatorical unit Pitfalls Vendor lock in Security Costs Advantages Easily scalable (Tech perf, storage perf) Reliable 99,9% High End machines
Page 13: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 13

Public Cloud

Customer Provider

Page 14: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 14

Vorführender
Präsentationsnotizen
Customer and Provider are under the same organisatorical unit
Page 15: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 15

Private Cloud

Customer Provider

Vorführender
Präsentationsnotizen
Pitfalls Partial Vendor lock in Partial Security More Costs Additional administration Advantages Lower security risks
Page 16: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 16

Hybrid

Vorführender
Präsentationsnotizen
Hybrid solution Mixing of public and private cloud
Page 17: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 17

Public CloudPrivate Cloud

Customer Provider

Vorführender
Präsentationsnotizen
Pitfalls Partial Vendor lock in Partial Security More Costs Connections to public cloud Additional overhead Advantages Handle performance picks Do not need expensive hardware Increase flexibility
Page 18: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 18

AMAZON.COM

Vorführender
Präsentationsnotizen
Christmas Presents for children Replication of storage and available servers
Page 19: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus Mayflower GmbH I 7 July 2011 I 19

WHY?

Page 20: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 20

HIGH PRESSURE

Vorführender
Präsentationsnotizen
Heavy Load Load picks Spread storage for replication Provide functionality through web services
Page 21: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus Mayflower GmbH I 7 July 2011 I 21

25. August 2006

First announcement

Page 22: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 22

DEVELOPMENT

Vorführender
Präsentationsnotizen
mostly developed by a team in Cape Town, South Africa lead Chris Pinkham Pinkham provided the initial architecture
Page 23: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 23

26. October

2008

Vorführender
Präsentationsnotizen
Add different instances e.g. High-CPU instances New features Static IP adresses, Available Zones, Elastic Block Storages
Page 24: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 24

Full production

level

Vorführender
Präsentationsnotizen
Dropped beta status
Page 25: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 25

Public Cloud

Customer Provider

Server 1

App 1

Server 2

App 1

Server 4

App 1

Server 3

App 1

Server 5

App 1

Server 6

App 1

Server 7

App 1

Server 8

App 1

Vorführender
Präsentationsnotizen
// Elastic feature Quickly scale and reduce time to boot new instances Run your image as many or few you desire Load custom applications // Flexible feature Select a configuration of memory, CPU storage Manage network access permissions Variety of operating systems
Page 26: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 26

Public Cloud

Customer Provider

Server 1

App 1

Vorführender
Präsentationsnotizen
// Additional services Simple Storage Service, Amazon Relational Database Service
Page 27: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 27

FEATURES

Page 28: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus Mayflower GmbH I 7 July 2011 I 28

elastic block storage

multiple locationscloud watch

auto scaling

elastic load balancing vm import

Vorführender
Präsentationsnotizen
Elastic block storage (offers persistent storage) Multiple locations (provide instances to multiple locations and protect applications from failures) Elastic IP Addresses (IP address can be mapped to any instance of your account) Virtual Private Cloud (connect existing infrastructures with the AWS resources) Cloud Watch (monitor your cloud resources) Auto Scaling (scale up or down your cloud instances according to conditions you define) Elastic Load Balancing (distributes incoming application traffic across cloud instances) High performance computing (cloud can be programmatically launched into cluster) Vm import (easy import your existing virtual machines)
Page 29: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 29

Reliable

Vorführender
Präsentationsnotizen
99.95% availability SLA
Page 30: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 30

R H E LW i n d o w s S e r v e rO r a c l e E n t e r p r i s e L i n u xO p e n S o l a r i sA m a z o n L i n u x A M IU b u n t u

Page 31: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 31

ApacheSoftware

Page 32: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 32

EC2

Vorführender
Präsentationsnotizen
1. Login (https://console.aws.amazon.com) 2. Boot instance 3. Show description 4. Show monitoring 5. Show Tags 6. Show volumes (ebs elastic block storage) 7. Show Sidebar - on demand instances (pay for hours with no long term commitments) - reserved instances (low one-time payment) - spot instances (bid on unused Amazon EC2 capacity)) 8. Login instance (ssh -i ~/.ec2/dhkey.pem [email protected]) Notes: RDS (Ralational Database Service); SNS (Simple Notification Service); IAM (Identity and Access Management)
Page 33: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus Mayflower GmbH I 7 July 2011 I 33

Eucalyptus

Page 34: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 34

PRIVATE

Vorführender
Präsentationsnotizen
Open source Modular(components have well designed interfaces) Flexible(can be installed on minimal setup, thousand of cores and TB of storage) Compatible (implemented EC2, S3 standard) Hybrid cloud(combine private and public cloud Eucalyptus compatibility with EC2 API)
Page 35: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 35

University Project in the MAYEM labs of UC Santa Barbara

Department of GRID, HPC and massive scalable systems

EUCALYPTUS Elastic Utility Computing Architecture for Linking Your Programs To Useful Systems

Page 36: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 36

Page 37: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 37

Vorführender
Präsentationsnotizen
CentOS, Fedora VMware, Xen, KVM, vSphere, ESX, ESXi
Page 38: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus Mayflower GmbH I 7 July 2011 I 38

FULL API compatibility

with EC2

Vorführender
Präsentationsnotizen
http://docs.amazonwebservices.com/AWSEC2/2009-04-04/DeveloperGuide/ e.g. commands to control cloud components ec2-run-instances ami-2bb65342 euca-run-instances emi-8A1119CC
Page 39: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 39

Vorführender
Präsentationsnotizen
Demo Login: https://ecc.eucalyptus.com:8443 euca-describe-instances euca-describe-keypairs euca-run-instances --kernel eki-D61714AE --ramdisk eri-1798159C -k mykey emi-8A1119CC ssh -i ~/.euca/mykey.private [email protected] euca-terminate-instances euca-describe-volumes euca-describe-availability-zones euca-create-volume --size 1 --zone open euca-attach-volume -i i-<instance> -d /dev/sdb vol-<id> sudo fdisk /dev/sdb mkfs –t ext2 /dev/sdb mkdir /media/storage mount -t ext2 /dev/sdb /media/storage/ df –h /media/storage
Page 40: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus Mayflower GmbH I 7 July 2011 I 40

Amazon EC2 Eucalyptus

Public Cloud Private Cloud / Hybrid Cloud

Commercial Open Source

Support Community

Scaling architecture Scaling architecture

Elastic storage Elastic storage

Multiple Hypervisors Multiple Hypervisors

Multiple OS Multiple OS

Monitoring Monitoring

Vorführender
Präsentationsnotizen
Block Storage (Eucalyptus) iSCSI, SAN, NAS Hypervisors (Eucalyptus) VMware, Xen, KVM, vSphere, ESX, ESXi OS (Eucalyptus, Amazon) RHEL, SLES, Ubuntu, Debian, Fedora Community (Eucalyptus) World wide user community
Page 41: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 41

Amazon EC2

Eucalyptus

FeaturesFeatures

Security

Security

Vorführender
Präsentationsnotizen
Features Elasticity, Storage, OS, Applications
Page 42: Amazon EC2  / Eucalyptus

Amazon EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 42

Page 43: Amazon EC2  / Eucalyptus

Amazone EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 43

Links

I aws.amazon.com/ec2/

I open.eucalyptus.com/

Vorführender
Präsentationsnotizen
Links
Page 44: Amazon EC2  / Eucalyptus

Amazone EC2 / Eucalyptus I Mayflower GmbH I 7 July 2011 I 44

I Index: http://1.2.3.10/bmi/open.eucalyptus.com/themes/eucalyptus/img/eucalyptus_logo_awh.pngI Index: http://1.2.3.9/bmi/d36cz9buwru1tt.cloudfront.net/logo_aws.gifI Pressure: http://www.flickr.com/photos/sharynmorrow/144297839/I Cloud: http://www.flickr.com/photos/kky/704056791/I Private: http://www.flickr.com/photos/loop_oh/5631953241/I Public: http://www.flickr.com/photos/utekoehler/4732012177I Hybrid: http://www.flickr.com/photos/chl/102448403I Development: http://www.flickr.com/photos/monjurulhoque/315359640I Reliable: http://www.flickr.com/photos/joelanman/367425390/I C64: http://data.motor-talk.de/data/galleries/509516/14975/c64-startbildschirm.jpgI Gollum: http://www.arteyfotografia.com.ar/5263/fotos/125592/I Ubuntu-Girls: http://www.flickr.com/photos/buggolo/446184392/I Ubuntu-Logo: http://www.voipnovatos.es/media/1/20050825-ubuntu.gifI RedHat-Girl: http://www.flickr.com/photos/hpnadig/4427294088/I RedHat-Logo: http://1.2.3.10/bmi/www.redhat.com/g/chrome/logo_rh_home.pngI Suse-Kameleon: http://www.flickr.com/photos/m4tik/1857974/I Suse-Logo: http://www.flickr.com/photos/techweet/5398030424/I Debian-Cake: http://www.flickr.com/photos/oskay/299949769/I Debian-Logo: http://www.debian.org/Pics/openlogo-50.pngI Microsoft: http://www.microsoft.com/germany/business/cloudservices/includes/images/msft_cloudservices_logo.gifI Racspace: http://www.rackspace.com/images/sprites/global_header.pngI Google: http://www.google.de/images/logos/ps_logo2.pngI Yahoo: http://irudiak.argazkiak.org/43977f0fcf55b56038924249a87aaa81_c.jpgI Apple: http://images.apple.com/icloud/images/overview_title.png

Table of Images

Page 45: Amazon EC2  / Eucalyptus

Vielen Dank für Ihre Aufmerksamkeit!

© 2010 Mayflower GmbH

Daniel [email protected]+49 (89) 24 20 54 - 1135

Mayflower GmbHMannhardtstrasse 680538 München

Referent