Arnon Rotem-Gal-Oz VP Product Delivery: Migrating Applications To Azure Cloud
Arnon Rotem-Gal-Oz VP Product Delivery: Migrating Applications To Azure Cloud
VP Product Delivery
www.codevalue.net
Migrating
Applications to
Azure Cloud
Azure migration
is a porting project
Choosing a porting model
Web sites migrate into web roles
…Consider rewriting
<html> <head><title>Hello World
PHP</title></head> <body> <?php echo 'Today
is '. date('Y-m-d') ."\n"; ?> </body> </html>
Service 1 Service 1
Service 2 Service 2
Service 3 Service 3
DiagnosticMonitor.Start("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString",
config);
}
http://www.antipatterns.com/lavaflow.htm
The lavaflow apps
migrate into VM role
NT Service
IIS
Migrated SQL CLR Code
NT Service VM Role
Dbcc reindex X X X
CREATE UDX X
DB_NAME X X
IndexKey_Property X
Checkpoint X
SELECT INTO X X
Sp_helpfile * X
SQL Sys.allocation_units *
Sys.internal_tables *
Sys.partitions *
X
BACKUP
XP_CMDShell
X
X
X
SysJobs
Sp_addMessage
X
X
X
Sp_spaceused X
Sp_Xml_RemoveDocument X
OpenXml X
kill X
RESTORE FILELISTONLY X
DBCC InputBuffer X
sp_OA X
sysschedules X
Tip: SQL Retry
• SQL Connections: Retry on failure
– Connections can drop for variety of reasons
• Idleness
• Transient (network) errors
• Intentional throttling
http://blogs.msdn.com/b/simonince/archive/2010/04/13/checklist-discussing-an-azure-migration.aspx
E.g. Can’t host SMTP
server in the cloud