AZURE SERIES 2 – CREATING CLOUDSERVICE – WEB ROLESARAVANAN SJEEVAN TECHNOLOGIES
Agenda• Objective• Cloud Service - Web Role• Creating the Cloud Project• Creating Cloud Service in Management Portal• Depl...
Objective• Build a new ASP.NET MVC 4 Cloud project• Create a Cloud Service in Windows Azure• Deploy the application in to ...
Pre-requisites• VS2012 or VS2010 with Service Pack 1• ASP.NET MVC 4• Windows Azure SDK Tools (latest)• Microsoft Web Publi...
Cloud Service (Hosted Service)IIS <= Web Role(Instance)IIS <= Web Role(Instance)IIS <= Web Role(Instance)Web Role(Instance...
Creating the Cloud Project• Create Cloud project -> Web Role– MVC4 Web App project– Web Role project• Create a Home Contro...
Creating Cloud Service in Azure Portal• Login to Azure portal• Cloud Services -> Create Svc (*.cloudapp.net)• Deploy (pack...
Creating Cloud Service in Azure Portal• Cloud Services -> Create Svc
Creating Cloud Service in Azure Portal• Quick Create -> Provide URL -> Create Cloud Service
Creating Cloud Service in Azure Portal• Click on the created Cloud Service link• Click on ‘New production Deployment’
Creating Cloud Service in Azure Portal• Provide ‘Deployment Name’,• Select ‘Package file(*.cspkg)’ & Config file (*.cscfg)
Creating Cloud Service in Azure Portal• Tick the check box• Click the ‘Tick’ button
Creating Cloud Service in Azure Portal• Click on the ‘<deploymentname>’
Creating Cloud Service in Azure Portal• Click on ‘Instances’• Ensure the Status change to ‘Running’
Cloud Service Ready !!!
Azure series 2   creating a cloud service - web role
Azure series 2   creating a cloud service - web role
Upcoming SlideShare
Loading in …5
×

Azure series 2 creating a cloud service - web role

1,624 views

Published on

This presentation is about creating a Cloud project for hosting a simple ASP.Net MVC4 web application in a Web Role in Azure.

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,624
On SlideShare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Azure series 2 creating a cloud service - web role

  1. 1. AZURE SERIES 2 – CREATING CLOUDSERVICE – WEB ROLESARAVANAN SJEEVAN TECHNOLOGIES
  2. 2. Agenda• Objective• Cloud Service - Web Role• Creating the Cloud Project• Creating Cloud Service in Management Portal• Deployment in to Azure• Questions
  3. 3. Objective• Build a new ASP.NET MVC 4 Cloud project• Create a Cloud Service in Windows Azure• Deploy the application in to azure
  4. 4. Pre-requisites• VS2012 or VS2010 with Service Pack 1• ASP.NET MVC 4• Windows Azure SDK Tools (latest)• Microsoft Web Publish for Visual Studio 2010(August 2012)• A Windows Azure subscription with the WebSites Preview enabled
  5. 5. Cloud Service (Hosted Service)IIS <= Web Role(Instance)IIS <= Web Role(Instance)IIS <= Web Role(Instance)Web Role(Instance0)Web App – Web Role – Cloud ServiceASP.Net MVC4Web App(web.config)MVC4 WebProjectWeb RoleProject*.CloudApp.net
  6. 6. Creating the Cloud Project• Create Cloud project -> Web Role– MVC4 Web App project– Web Role project• Create a Home Controller with Index Action• Set Web project as “Startup Project”• Test MVC app• Set Web Role project as Startup• Test Web Role Project• Create ‘Package’– *. cspkg– *.cloud.cscfg
  7. 7. Creating Cloud Service in Azure Portal• Login to Azure portal• Cloud Services -> Create Svc (*.cloudapp.net)• Deploy (package) to Production/Staging– Deployment Name– Package– Config file
  8. 8. Creating Cloud Service in Azure Portal• Cloud Services -> Create Svc
  9. 9. Creating Cloud Service in Azure Portal• Quick Create -> Provide URL -> Create Cloud Service
  10. 10. Creating Cloud Service in Azure Portal• Click on the created Cloud Service link• Click on ‘New production Deployment’
  11. 11. Creating Cloud Service in Azure Portal• Provide ‘Deployment Name’,• Select ‘Package file(*.cspkg)’ & Config file (*.cscfg)
  12. 12. Creating Cloud Service in Azure Portal• Tick the check box• Click the ‘Tick’ button
  13. 13. Creating Cloud Service in Azure Portal• Click on the ‘<deploymentname>’
  14. 14. Creating Cloud Service in Azure Portal• Click on ‘Instances’• Ensure the Status change to ‘Running’
  15. 15. Cloud Service Ready !!!

×