Migrate an Existing Application to Microsoft Azure

1,036 views
797 views

Published on

First we will talk about what Microsoft Azure is and why you would want to use Microsoft’s cloud services.

Then we will take an existing on premise line of business (LOB) application with a SQL Server backend and walk through the process of moving the site to Microsoft Azure.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,036
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
26
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Migrate an Existing Application to Microsoft Azure

  1. 1. Migrate an Existing Application to Microsoft Azure Chris Dufour, ASP .NET MVP Software Architect, Changepoint Follow me@chrduf http://www.linkedin.com/in/cdufour
  2. 2. Agenda • Our scenario • Microsoft Azure Overview • Microsoft Azure SQL Database • Microsoft Azure Web Sites • Microsoft Azure Service Bus
  3. 3. Our Scenario
  4. 4. Our Scenario: Expense Reporting • Typical line-of-business application • Create & submit reports • View past reports • Approve reports (if manager) Corporate Network Expenses DB (SQL) Expenses services (WCF on Windows Server) UI (WPF) ActiveDirectory
  5. 5. demo Existing Application
  6. 6. MicrosoftAzure Overview
  7. 7. MicrosoftAzure SQL Database
  8. 8. Microsoft Azure data management options
  9. 9. Options for relational data services in the cloud
  10. 10. MicrosoftAzure SQL Database
  11. 11. Move on-prem SQL to Azure SQL • Create the database in Microsoft Azure SQL DB • Use SQL Server Management Studio to migrate the DB contents • This automates the process of exporting the data to a local bacpac and importing it to the cloud DB • Verify the Windows Azure SQL DB • Update connection strings to point to the new DB
  12. 12. demo Deploy Database to Microsoft Azure SQL Database
  13. 13. MicrosoftAzure Web Sites
  14. 14. MicrosoftAzure Websites Scalable Automated Flexible High-density and secure web hosting Open publishing methods and protocols Integrated and open solution Lowers customer onboarding costs and streamlines upselling Upsell from shared to reserved Support for ASP.NET, PHP, Node.js, and Java Metering and throttling of resources Fully integrated into Web App Gallery
  15. 15. Publishing in MicrosoftAzure Web Sites Upstream hardware load- balancers Front-end application request router Persistent storage Temporary per- app file storage Web application databases Web application file directories Web Sites Web Site End user HTTP/S Request Publisher services carry out various file operations against a web application's directory structure. Publishers FTP Service Web Deploy Service
  16. 16. Development tools and protocols support Developer tools and protocols ProtocolsDevelopment Tools Visual Studio, WebMatrix Source control integration Visual Studio Team Foundation Server 2010+ FTP, Git, WebDeploy, HTTP Upstream hardware load- balancers Front-end application request router Persistent storage Temporary per- app file storage Web application databases Web application file directories Web Sites Web Site End user HTTP/S Request
  17. 17. Move on-prem WCF to Azure Web Site • Create the Web Site in Microsoft Azure • Import the publish settings into Visual Studio • This will help us create a publish profile so we can automate deployments • Publish the application • It will deploy only changed files • Update the Expenses WPF client to use the new hosted service • Verify the application
  18. 18. demo Deploy Public WCF Service to Microsoft Azure Web Sites
  19. 19. MicrosoftAzure Service Bus
  20. 20. MicrosoftAzure Service Bus
  21. 21. What is Service Bus Relay • Enables hybrid applications that run in both an Azure datacenter and your own on-premises enterprise environment
  22. 22. Call internal service via Service Bus relay • Create a service bus relay • Add a service bus relay endpoint to the internal service • Update the WCF service to use the Service Bus relay endpoint for the internal service • Verify the Service Bus relay integration
  23. 23. demo Expose Private WCF Service Through Microsoft Azure Service Bus
  24. 24. Summary • Our scenario • Microsoft Azure Overview • Microsoft Azure SQL Database • Microsoft Azure Web Sites • Microsoft Azure Service Bus
  25. 25. Resources • Microsoft Azure Free Trial azure.microsoft.com/en-us/pricing/free-trial • Microsoft Virtual Academy: www.microsoftvirtualacademy.com • Microsoft Azure SQL Database: azure.microsoft.com/en-us/documentation/services/sql-database • Microsoft Azure Web Sites: azure.microsoft.com/en-us/documentation/services/web-sites • Microsoft Azure Service Bus: azure.microsoft.com/en-us/documentation/services/service-bus
  26. 26. Thank You

×