2. What is cloud?
• A "cloud" is a set of machines and web
services that implement cloud computing.
• User is allowed to use the services regardless
physical location and organization of the
equipment hosting the resources.
• Runs on a VM(s) over a single/multiple
Hypervisor
4. Cloud Service Styles
• Infrastructure as a Service (IaaS)
– basic compute and storage resources (Amazon EC2,
VMWare vCloud)
• Platform as a Service (PaaS)
– With PaaS, users develop and execute their own
applications within an environment offered by the service
provider. (Azure, Amazon, Salesforce Etc.)
• Software as a Service (SaaS)
– Access The software as a service (Gmail, Microsoft Office
Web Companions)
5. Windows Azure
• Compute: runs applications in the cloud. Those applications largely
see a Windows Server environment, although the Windows Azure
programming model isn’t exactly the same as the on- premises
Windows Server model.
• Storage: stores binary and structured data in the cloud (database)
• Fabric Controller: deploys, manages, and monitors applications.
The fabric controller also handles updates to system software
throughout the platform.
• Content Delivery Network (CDN): speeds up global access to binary
data in Windows Azure storage by maintaining cached copies of
that data around the world.
• Connect: allows creating IP-level connections between on-premises
computers and Windows Azure applications.
6. Azure Service Model
• There are currently three role types:
– Web Role: IIS7 and ASP.NET in Windows Azure-supplied OS
– Worker Role: arbitrary code in Windows Azure-supplied OS
– VM Role: uploaded VHD with customer-supplied OS
i.e.: Roles can be increased or decreased based on data volume and user requirement.
7. Roles And Instances
• A Role can have more than Once instance
• A instance is a state of the object, which can
be increased decreased on demand
• Best practice to device the roles in to worker
roles and web roles.
• Why?
8. Creating a new Cloud Application
• Open visual studio 2010 and click new project.
• Give a proper name to the project and click Ok.
9. Creating a new Cloud Application
• Add the necessary web roles and the worker/WCF roles to the
application.
• Change the role names to appropriate names
10. Creating a new Cloud Application
• Final application as follows. Please note there are 2 roles in
the application shown in the Roles folder.
11. Deploying to Azure
• You may choose the 90 day trial from the
windowsazure site.
• Once account created, You can get the Ip, Dsn
Etc from the console site
• Deploy the application from your VS2010 or
console
12. Database Tools
• SQL Azure Migration Wizard v3.8.9 & v4.0.2
• SQL Azure Migration Wizard (SQLAzureMW) is
designed to help you migrate your SQL Server
2005/2008/2012 databases to SQL Azure.
• SQLAzureMW will analyse your source database for
compatibility issues and allow you to fully or partially
migrate your database schema and data to SQL
Azure.
13. Deploying existing App to Azure
• Right-click on the Web Application project and
select “Unload project”
• Create a new blank Cloud Service
• Add the un loaded solution by right clicking on
the solution and selection Add –> Existing
Project
• Write click roles -> add-> Web role In project
Solution
• Done!
14. Thank you. Questions?
References:
1. “Security Best Practices For Developing Windows Azure Applications” 2011, http://www.windowsazure.com/en-
us/develop/net/other-resources/white-papers. Viewed on 10-05-2012.
2. “Windows Azure Security Overview”, 2011, http://www.windowsazure.com/en-us/develop/net/other-resources/white-
papers. Viewed on 14-04-2012.
3. “Windows Azure Table - Programming Table Storage” , http://www.windowsazure.com/en-us/develop/net/other-
resources/white-papers. Viewed on 13-04-2012.
4. “The Windows Azure Programming Model”,2011, http://www.windowsazure.com/en-us/develop/net/other-
resources/white-papers. Viewed on 04-04-2012.
5. http://www.windowsazure.com
6. http://youtube.com.
7. MSDNAA.