suse studio - linuxtag berlin 2010
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
June 10, 2010
James Tan ([email protected])Senior Software Engineer
SUSE StudioBuild appliances for the cloud and more
© Novell, Inc. All rights reserved.2
Outline
• About me
• Introduction of SUSE Studio
• Studio for Cloud– Amazon EC2
– Eucalyptus
• SUSE Gallery
• Studio API
• Questions
© 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
© 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…
© Novell, Inc. All rights reserved.7
Why not do most of that just once?
Studio demo
Building Cloud appliances for
Amazon EC2
Sneak preview!
© 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
Building Cloud appliances for
EucalyptusYour own private cloud
Sneak preview!
© Novell, Inc. All rights reserved.25
Eucalyptus architecture
© 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
SUSE GallerySneak preview!
© 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.
© 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