Reputation: 646
I have an Ecommerce application built on ASP.NET 4.0 Web Forms, I want to migrate the site onto Windows Azure.
I have 6 projects in my application :
- MyApp.UserWeb - *My Homepage project
- MyApp.AdminWeb - *Administrative web application
- MyApp.Services - WCF services used by both UserWeb and AdminWeb applications
- Other 3 are like different layers such as BusinessObjects, DataAccess and Security which are referenced in above 3 projects.
I want to deploy and publish MyApp.UserWeb as www.mysite.com and MyApp.AdminWeb as www.admin.mysite.com and host the services as services.mysite.com
Can you please suggest the steps to deploy and publish the site from Visual studio 2010?
Upvotes: 2
Views: 707
Reputation: 8988
You could publish the three component parts your application to their own web-role. In your DNS settings you can then setup a CNAME record for www, www.admin, and services to point to the respective Virtual IP of each web-role. The CNAMEs will also need to be configured in the Portal for each role.
Configuring a custom domain name for a Windows Azure cloud service or storage account
You may also required multiple instances for the front-end (or other mission critical areas) of your site to guarantee the SLA of 99.95% availability.
The above configuration will give you a decent amount of compute resources for your application and will scale nicely. If you'd prefer to start with a lower cost solution I would suggest running the 3 components on one web-role and adding the 3 CNAMEs.
Azure Websites will be even cheaper again, but this feature is still in preview and has no SLA.
For step-by-step deployment instructions have a look here.
You will also need to download the Azure SDK for Visual Studio 2010:
Upvotes: 3
Reputation: 3719
You could do this with either a Windows Azure Web Site (shared or reserved mode to allow for custom domain names) or a Web Role (Cloud Service). The choice on a Web Site or Cloud Service varies in what level of control and management you want.
Here is some info on setting up a custom domain name for a Web Site: http://www.windowsazure.com/en-us/develop/net/common-tasks/custom-dns-web-site/
Upvotes: 1