how to rightscale-enable your images
TRANSCRIPT
2 2
Our Speakers Today
Presenting:
• Thorsten von Eicken, CTO and RightScale Founder
• Darryl Eaton, Product Management
• Raphael Simon, Senior Software Engineer
Q&A:• Matt Small, Account Manager
Please use the questions window to ask questions anytime!
3 3
Agenda
• Introduction to RightScale• RightScale-enabling Your Images• Demo – Enabling an Existing Image• RightLink Technology• Demo – RightLink• Q&A
4 4
RightScale Real Customers, Real Deployments, Real Benefits
Managed Cloud Deployments for over 3 Years
More than 30,000 users; launched over 1,000,000 servers
On-Demand with a range of customer service offerings
6 6
RightScale ServersWhat is a Server?
Software configuration -> what to install, how, where
Hardware resources -> cpu, memory, disk, network, …
Data -> data files produced over the server’s lifetime
Power of the cloud: hardware resources are plentiful, flexibleThe config and the data are key
The hardware can be turned off, upgraded, downgraded, replicated, etc.
RightScale Server abstraction: config, data, & history
HW
data
config
data
config
HW
data
config
HW
data
configHW
data
configHW
data
config
stop start replicate
7 7
RightScale ServerTemplates vs. Images
Big & opaque
Complex to reproduce
Static
Not cloud-portable
Slow sysadmin workflow Not cloud-agile
Modular & flexible
Reproducible & maintainable
Dynamic & agile
Multi-cloud enabled
Dev-like workflow Dynamic configuration
Virtual Machine Images RightScale ServerTemplates
8 8
ServerTemplates: Built-to-Order Servers
Virtual machine
OS
Storage volumes
Networking
MySQL/Apache/…
App Libraries
RightImages &Multi-Cloud Images• Standard image “API”
Cloud Portability• Standard API for
filesystems, networking, …
Application
Applications• Cloud independnt
Modular – Portable – Reproducible
9 9
Benefits to enabling your image with RightScale
Monitoring
Alerts and Escalations (Including Auto-Scaling)
Machine and User Action Auditing
Reporting and User Permissions
10 10
It is Easy to Enable Any Image
What does it take to RightScale-enable an image?1. Install RightLink Agent
# rpm -i rightscale_5.3.0-centos_5.4-i386.rpm
-or-
2. Rebundle
3. Tag the image as RS-enabledprovides:rs_agent_type=right_link
11 11
RightLink on Linux install Demo
1. Import RightLink Starter ServerTemplate
2. Switch ServerTemplate to use your image and launch
3. Site waits for RightLink to start (server shows “booting”)
4. Manually install RightLink and startmkdir /etc/rightscale.d;
echo ec2 > /etc/rightscale.d/cloud;
rpm –i http://mirror.rightscale.com/rightlink/5.3.0/centos/rightscale_5.3.0-centos_5.4-i386.rpm;
tail -f /var/log/messages;
5. Result: Full-fledged server with monitoring & automation
6. Rebundle for future launches
12 12
What is RightLink?
FunctionsReceive commands from RightScale
Query RightScale (instance API)
Locate related servers
Open-source AgentExtensible
Transparent
State-Aware
SecureSigned&encryptedAMQP transport
Deployment scope
RightScaleTagstore
server1
RL
server2
RL
serverA
RL
serverB
RL
Production Development
13 13
RightLink / Machine Tags Demo
Machine tag: 3-tuple of namespace:predicate=valueattach arbitrary meta-data to RightScale objects
Borrowed from Flickre.g.. geotagging: “geo:lat=35.145” “geo:long=-114.156”
WWW1
LB1
LB2
WWW2
WWW3
WWW4
?balance
register
14 14
RightLink / Machine Tags Demo
WWW1LB1
LB2WWW2
WWW3
WWW4
register withlb=marketing
app=marketingbackend_ip=1.2.3.4backend_id=www1
lb=marketing
app=marketingbackend_ip=1.4.3.8backend_id=www2
lb=marketing
app=marketingbackend_ip=1.2.3.5backend_id=www3
app=marketingbackend_ip=1.4.3.9backend_id=www4
locate whereapp=marketing RightScale
tag store
15 15
Windows Beta
Windows 2003, 2008 Coming Soon
Monitoring, Alerts,Escalations, Arrays…
4 Base RightImages:Base 32 & 64 Bit Windows 200332 Bit SQLServer 2005 Express64 Bit SQLServer 2005 Standard
ServerTemplate Support:PowerShell 2.0 RightScriptsChef Cookbooks
Installable RightLink Agent
17 17
Sign up for a free developer account and receive free support through May 31st
1. Go to www.RightScale.com/FreeTrial
2. Read user guide at:
http://support.rightscale.com/12-Guides/RightLink
3. For free support:
Email [email protected] with RightLink in the subject line
Access Webinar Archive: RightScale.com/Webinars
www.RightScale.com [email protected]
(866) 720-0208
Twitter: @rightscale
Q&A - Getting Started
19 19
Building a clean RightScale-Enabled Image
Reproducible, audited, clean, never-booted
Image building methods:
Getting started: ad-hoc method may be most expedient
Going to production: better have clean-room in place…
Public ServerTemplates available to automate clean-room builds
Ad-hoc image Clean-room image
• Launch something that boots• Futz around until it looks ok• Take a snapshot
• Clean OS install in loop-back filesystem• Add software• Bundle golden image
20 20
Options to RightScale-enable …
Option 1: Got an image already? Use ad-hoc methodInstall RightLink, test, rebundle, done
Option 2: Building a clean-room image?Start with RightScale ImageBuilder ServerTemplates
Customize software install
Run, test image, iterate
Option 3: Save work&trouble: use a RightImageImages built by RightScale, thousands of launches a day
Add your software using ServerTemplate
Quick
Safe
Quick&
Safe
21 21
RightScale Enable Any Image
What does it take to RightScale-enable an image?1. Install RightLink agent
2. Tag the image as RS-enabled
3. Rebundle -> RightScale-enabled image
Give some details about what we have (rpm/deb/msi)
RightLinkRightImages v5.0 …
RightScripts yes
Chef yes
Agent yes
SSH-less yes
EC2 yes
RackSpace yes
Private Clouds yes
Ubuntu 9.10/CentOS 5.4/RHEL 5.?/
yes
Windows 2003 & 2008 yes