SUSE Studio - LinuxTag Berlin 2010

33
June 10, 2010 James Tan ([email protected]) Senior Software Engineer SUSE Studio Build appliances for the cloud and more

description

Today many companies are moving their server applications to the cloud. This includes both internally managed ones that are based on virtualization technologies like VMware, Xen, as well as those hosted by third-party providers such as Amazon EC2 and Linode. The process of creating the virtual machine appliances that run in these clouds, however, remain difficult and error-prone. In this presentation, James will show how quick and easy it is to create, test, and deploy such appliances using SUSE Studio, a free web service. In addition to virtual images, Studio can also create physical media such as live bootable ISOs and USB keys for both server and desktop use. He will also demostrate how you can integrate Studio into your build/release cycle using Studio's API or the command line client.

Transcript of SUSE Studio - LinuxTag Berlin 2010

Page 1: SUSE Studio - LinuxTag Berlin 2010

June 10, 2010

James Tan ([email protected])Senior Software Engineer

SUSE StudioBuild appliances for the cloud and more

Page 2: SUSE Studio - LinuxTag Berlin 2010

© Novell, Inc. All rights reserved.2

Outline

• About me

• Introduction of SUSE Studio

• Studio for Cloud– Amazon EC2

– Eucalyptus

• SUSE Gallery

• Studio API

• Questions

Page 3: SUSE Studio - LinuxTag Berlin 2010

© Novell, Inc. All rights reserved.3

About me

• James Tan, Sr. Software Engineer, Novell / SUSE Linux

• From Singapore

• Now living in Nuremberg, Germany

• Been working on SUSE Studio for past 2+ years

Page 4: SUSE Studio - LinuxTag Berlin 2010
Page 5: SUSE Studio - LinuxTag Berlin 2010

© Novell, Inc. All rights reserved.5

Pre-InstallationProper OS version

Proper OS patches

Application dependencies

Config and kernel parameters

Directories

Hardware dependencies

Services enabled

InstallationFile system location

Compile necessary modules

Address prerequisites

Permissions

Create users and groups

Application incompatibilities

Post-InstallationUpdates

App configuration

Services setup

Upgrades and patch

management

Traditional deployments repeat…

Page 6: SUSE Studio - LinuxTag Berlin 2010
Page 7: SUSE Studio - LinuxTag Berlin 2010

© Novell, Inc. All rights reserved.7

Why not do most of that just once?

Page 8: SUSE Studio - LinuxTag Berlin 2010
Page 9: SUSE Studio - LinuxTag Berlin 2010
Page 10: SUSE Studio - LinuxTag Berlin 2010

Studio demo

Page 11: SUSE Studio - LinuxTag Berlin 2010
Page 12: SUSE Studio - LinuxTag Berlin 2010
Page 13: SUSE Studio - LinuxTag Berlin 2010
Page 14: SUSE Studio - LinuxTag Berlin 2010
Page 15: SUSE Studio - LinuxTag Berlin 2010
Page 16: SUSE Studio - LinuxTag Berlin 2010
Page 17: SUSE Studio - LinuxTag Berlin 2010
Page 18: SUSE Studio - LinuxTag Berlin 2010

Building Cloud appliances for

Amazon EC2

Sneak preview!

Page 19: SUSE Studio - LinuxTag Berlin 2010

© Novell, Inc. All rights reserved.19

Amazon EC2

• Infrastructure as a Service (IaaS)

• Pay only for computing resources you need

• Billed by per instance hour

• Traditional steps:

– Create special Xen virtual appliance, with the software you need

– Install Amazon EC2 tools

– Bundle Xen image (together with the correct initrd and kernel)

– Upload bundled image to Amazon S3 (Simple Storage Service)

– Register uploaded bundle as a Amazon Machine Image

– Launch it, and hope it works

Page 20: SUSE Studio - LinuxTag Berlin 2010
Page 21: SUSE Studio - LinuxTag Berlin 2010
Page 22: SUSE Studio - LinuxTag Berlin 2010
Page 23: SUSE Studio - LinuxTag Berlin 2010
Page 24: SUSE Studio - LinuxTag Berlin 2010

Building Cloud appliances for

EucalyptusYour own private cloud

Sneak preview!

Page 25: SUSE Studio - LinuxTag Berlin 2010

© Novell, Inc. All rights reserved.25

Eucalyptus architecture

Page 26: SUSE Studio - LinuxTag Berlin 2010

© Novell, Inc. All rights reserved.26

Eucalyptus

• Front-end image– Cloud, Walrus, Cluster and Storage controllers

• Node image– Node controller

• Guest appliance– Any Xen appliance

– KVM support later

Page 27: SUSE Studio - LinuxTag Berlin 2010

SUSE GallerySneak preview!

Page 28: SUSE Studio - LinuxTag Berlin 2010
Page 29: SUSE Studio - LinuxTag Berlin 2010
Page 30: SUSE Studio - LinuxTag Berlin 2010
Page 31: SUSE Studio - LinuxTag Berlin 2010

© Novell, Inc. All rights reserved.31

SUSE Studio API

• REST APIs: http://susestudio.com/help/api/v1

• Ruby/command line client:

– Source: http://gitorious.net/suse-studio/ssc

– Gem: http://rubyforge.org/projects/ssc/

• Python library: http://code.google.com/p/pysusestudio/

• C++ (Qt) library: http://qsusestudio.sourceforge.net/

• Extended C++ library and native KDE 4 application.

Page 32: SUSE Studio - LinuxTag Berlin 2010
Page 33: SUSE Studio - LinuxTag Berlin 2010

© Novell, Inc. All rights reserved.33

Contact

• James Tan <[email protected]>

• IRC: #susestudio on freenode

• Questions, feedback: [email protected]

• Mailing list: http://listx.novell.com/mailman/listinfo/studio-users

• We're hiring! http://susestudio.com/jobs