Launch .NET Applications in the Cloud

18
Launch .NET Apps in the Cloud Raphael Simon - Senior Systems Architect, RightScale Shivan Bindal - Product Manager, RightScale June 8 th , 2011

Transcript of Launch .NET Applications in the Cloud

Page 1: Launch .NET Applications in the Cloud

1

Launch .NET Apps in the Cloud

Raphael Simon - Senior Systems Architect, RightScale

Shivan Bindal - Product Manager, RightScale

June 8th, 2011

Page 2: Launch .NET Applications in the Cloud

2

Real Cloud Experience. Shared.

# 2

How to choose your cloud?• PaaS vs. IaaS - Both great options, but what works for you?

CriteriaPaaS

(Azure)

IaaS(EC2, Rackspace, Private Cloud, …)

Do you need to use custom software? No Yes

Do you need to manage network traffic? No Yes

Do you have legacy systems? No Yes

Are you planning on leveraging the PaaS built-in services

(SQL Azure, App Fabric, etc.)?Yes No

Page 3: Launch .NET Applications in the Cloud

3

Real Cloud Experience. Shared.

# 3

Challenges in the Cloud

• Images and their contents• Lack of standardization and consistency across versions, regions and

clouds• No software license management• Often do not follow best practices• By design, open to security vulnerabilities

• Pre-install required software and applications• Custom configuration in “baked” images• Long development iterations

• Lack of Automation• Trust relationships hard-coded• No automated orchestration (How do I set up my application?)

Page 4: Launch .NET Applications in the Cloud

4

Real Cloud Experience. Shared.

# 4

RightImages in the Cloud• Images and their contents

• RightScale RightImages

MVP >

• RightImages are optimized for performance and security• RightImages all contain:

• RightLink• Powershell 2.0• .NET Framework 3.5/4.0• Critical Windows Updates• Application Service Packs• Windows Install Media for Windows Server 2003

• RightImages serve as a secure reusable base from which you create automated configuration and orchestration

Operating System BaseIIS / SQL Server

ExpressSQL Server

Standard

2003 Server X X X

2008 Server X X X

2008 Server R2 X X X

Page 5: Launch .NET Applications in the Cloud

5

Real Cloud Experience. Shared.

# 5

MultiCloud Image• Collection of RightImages that represent a standard

configuration across multiple clouds

MCI: Windows Server 2008

AWS AP-Singapore

AWS AP-Tokyo

AWS EUAWS US-

EastAWS US-

WestRackspace

Page 6: Launch .NET Applications in the Cloud

6

Real Cloud Experience. Shared.

# 6

ServerTemplates

Virtual machine

OS

Storage volumes

Networking

SQL Server/ASP.NET…

App Libraries

RightImages &Multi-Cloud Images• Standard image

configurations

Cloud Portability• Standard configurations

that work across clouds

Application

Applications• Cloud independent

deployment

Modular – Portable – Reproducible

Page 7: Launch .NET Applications in the Cloud

7

Real Cloud Experience. Shared.

# 7

Images vs. RightScale ServerTemplates

• Big & opaque• Complex to reproduce• Static• Not cloud-portable

Slow workflow Not cloud-agile

• Modular & flexible• Reproducible &

maintainable• Dynamic & agile• w/ MCI - Multi-cloud enabled

Dev-like workflow Dynamic configuration

Virtual Machine Images RightScale ServerTemplates

Page 8: Launch .NET Applications in the Cloud

8

Real Cloud Experience. Shared.

# 8

ServerTemplates: A Closer Look

• Starts with a multicloud image• Defines base software

• Adds:• Boot, operational and decommission RightScripts and/or recipes for

configuration• Monitoring with alert definitions for automation

• ServerTemplates are versioned• Reproduce exact configuration

• ServerTemplates can be published/imported• Sharing / reuse

Page 9: Launch .NET Applications in the Cloud

9

Real Cloud Experience. Shared.

# 9

How does this all work?

RightScaleSecure and Fault-Tolerant Protocol

RightLink runs with Admin privileges on the Server and talks to RightScale through a secure and fault-tolerant protocol.

RightLink runs with Admin privileges on the Server and talks to RightScale through a secure and fault-tolerant protocol.

Page 10: Launch .NET Applications in the Cloud

10

Real Cloud Experience. Shared.

# 10

RightLink Deep Dive

• Open-Source Agent• Installer is available to RightLink-enable your images

• Functions• Receive commands from RightScale

• Runs RightScripts on the local instance• Can identify itself and other servers using tags and take

actions based on that• Delegate actions to RightScale management via internal API

• Secure• Signed & encrypted AMQP transport• Scoped to the Deployment

Page 11: Launch .NET Applications in the Cloud

11

Real Cloud Experience. Shared.

# 11

Where are we?

Page 12: Launch .NET Applications in the Cloud

12

Real Cloud Experience. Shared.

# 12

Where are we?

• Tangible ServerTemplates• Microsoft IIS ServerTemplate• Microsoft SQL Server ServerTemplate

• Automated Configuration• RightLink 5.7

• Many bug fixes• Support for ‘repose’ (configuration assets mirror)• Orderly EBS volumes attachments• Ability to do ‘clean’ reboots

Page 13: Launch .NET Applications in the Cloud

13

Real Cloud Experience. Shared.

# 13

Automated Configuration - RightScale

• Best Practice configuration for network security and isolation• Pre-configured Monitoring and Alerts (cpu, memory, disk)

• Create custom monitors as well• Faster boot times with performance enhancements

• Reduced number of reboots when launching a server• Reliable Volume Management

• Guarantee that a volume attaches as predefined drive letter every time

• Advanced Snapshot capability using Microsoft Volume Shadow Services• Reliable and fast backup mechanism with restore

capabilities

Page 14: Launch .NET Applications in the Cloud

14

Real Cloud Experience. Shared.

# 14

IIS ServerTemplate – Deep Dive• Powershell based RightScripts:

• Register Load Balancer (HAProxy or Elastic Load Balancer)• Automatically download and deploy Application on boot• Connects to database tier on boot• Built in monitoring and alerts on cpu, memory and disk

Page 15: Launch .NET Applications in the Cloud

15

Real Cloud Experience. Shared.

# 15

SQL Server ServerTemplate – Deep Dive• Smart Volume Configuration• VSS backed safe snapshot policy for DB Backups• Best practice disk configuration for system and user databases• Best practice SQL Server configuration

• Mixed authentication mode• Tempdb

• Built in monitoring and alerts on cpu, memory and disk

Page 16: Launch .NET Applications in the Cloud

16

Real Cloud Experience. Shared.

# 16

Demo – Scalable .NET App• IIS deploying .NET Application at boot with HAProxy LB• SQL Server DB tier with EBS volume snapshots for backup

Browser

LB

Master DB

DNS

App 1 App 2 App N…

Page 17: Launch .NET Applications in the Cloud

17

Real Cloud Experience. Shared.

# 17

What’s our priority next?• More and more ServerTemplates! (Tell us what you want)• Windows in Private Cloud• RightLink

Page 18: Launch .NET Applications in the Cloud

18

Questions?

Raphael Simon - Senior Systems Architect, RightScale

Shivan Bindal - Product Manager, RightScale

June 8th, 2011