rightscale webinar: servertemplate deep dive: the newest multi-cloud features

25
ServerTemplate Deep Dive: The Newest Multi-Cloud Features August 23, 2012 Watch the video of this webinar

Upload: rightscale

Post on 20-Aug-2015

623 views

Category:

Technology


0 download

TRANSCRIPT

ServerTemplate Deep Dive: The Newest Multi-Cloud Features

August 23, 2012

Watch the video of this webinar

# 2

Your Panel TodayPresenting• Tim Miller, Sr. Director, ServerTemplate Development, RightScale• Cary Penniman, Senior Software Engineer, RightScale

Q&A • Jared Marcell, Account Manager, RightScale

Please use the “Questions” window to ask questions any time!

# 3

Agenda• Overview• Multi-Cloud Templates• Deeper Dive• References• Q/A

# 4

Script Is a Script

# 5

Secret Is the Multi-Cloud Image

# 6

Code Once, Run Anywhere!

# 7

Why Multi-Cloud?

Want to run in both Public and Private Clouds

Compliance

PricePerformance

Features

DisasterRecovery SLAGeography

# 8

Putting It into PracticeApplication Portfolio

Requirements Filter

Resource Pools

App 1 App 2 App 3

Performance Cost Compliance ReliabilitySecurity

App N

# 9

RightScale Multi-Cloud ServerTemplates• Linux

• HA Proxy Load Balancer• PHP, Tomcat & Rails App Servers• MySQL 5.1 and 5.5 Database Managers• PostgreSQL Database Manager• Storage Toolbox• 4 different LAMP All-In-Ones • Linux Base

• Windows• IIS App Server• Active Directory• SQL Server Database Manager• Windows Base

# 10

RightScale ServerTemplate Release Methodology• Multiple lineages of STs to be used based on your requirements

• LTS Lineages – Stable releases that will only be updated with bugfixes and are supported for 18 months from initial release

• Infinity Lineage – Main development lineage with the latest features/clouds

# 11

v12.11-LTSMulti-Cloud Deep Dive

# 12

New Features: Machine Tags• Tags are a useful way of attaching useful metadata to Servers• Tool support to add, remove and query server tags• Three main parts: namespace, predicate and value• Syntax: namespace:predicate=value• Example:

• loadbalancer:www=lb • (a load balancer server for the 'www' vhost)

# 13

New Features: Remote Script Invocation• Invoked by one server, run on another• Uses tags for routing• Scoped to the current deployment (or account)• Example:

• rs_run_recipe --name “lb::do_attach_request" --recipient_tags "loadbalancer:www=lb" --json ~/my_info.json

# 14

Using tags and remote script invocation

MASTER DB SLAVE DB

REPLICATE

AUTOSCALE

APP SERVERS

LOAD BALANCERS

loadbalancer:www = app

lb::do_attach_requestloadbalancer:www= lb

lb::handle_attach

loadbalancer: www = lb

# 15

Demo

# 16

New Features: Storage Toolbox• It's all about persistence!• Primary Backup

• Uses local cloud persistence• Volumes snapshots preferred (i.e. EBS, Volumes)

• Secondary Backup• Uses remote cloud for redundancy• Useful in case of local cloud outage• LVM snapshot uploads to a Remote Object Store (i.e. Amazon S3, Azure

Storage, Google Cloud Storage, Rackspace CloudFiles)

• Built on our battle tested EBS Toolset

# 17

New Features: Storage Toolbox (cont.)

# 18

New Features: Built-In Chef Support• System Configuration Language • High Level, modular components• Idempotent (potential for)• External Source Control Management• Easier to customize (modules, pull requests)• Large pool of reusable content, community• Chef Language != Chef Platform• Now supporting Chef v0.10.10

# 19

Recipes• sys_firewall::default• sys_firewall::setup_rule • sys_firewall::do_list_rules

Resource• sys_firewall• actions

– update– update_request

New Features: Built-In Firewall Support

# 20

New Features: Update ActionTo open a local port to all servers with a given tag use:

sys_firewall "Open 3306 to all appservers" do machine_tag "appserver:active=true" port 3306 enable true action :update end

This can be useful as a server is booting to open up access for multiple systems at once.

# 21

New Features: Update Request ActionTo request all servers with a given tag close a port to a given IP address

use: sys_firewall "Request all close port 8000" do machine_tag "loadbalancer:www=app" port 8000 enable false ip_addr node[:cloud][:private_ips][0] action :update_request end

This can be useful when decommissioning a running server that had previously requested ports opened.

# 22

Update action and firewall support

MASTER DB SLAVE DB

REPLICATE

AUTOSCALE

APP SERVERS

LOAD BALANCERS

db::request_appserver_denydatabase:active=true

db::do_appservers_deny

database:active=true

# 23

Demo

# 24

New Features: Others• Multiple Block Devices • Load balancer supports multiple vhost pools• Application Servers code download options• Application Servers load balance options • Support for multiple DNS providers • Alert for “seconds behind master”• EC2 EBS Stop/Start support

http://feedback.rightscale.com