22
HengtianSo ft Introducing Windows Azure By: Hu Yongjun 10-July-2012

I n troducing Windows Azure

Embed Size (px)

DESCRIPTION

I n troducing Windows Azure. By: Hu Yongjun 10-July-2012. Agenda. Windows Azure Platform Users Benefit from Windows Azure Development and Migration Tools Migration to Windows Azure Application Migration to Windows Azure Database Migration to SQL Azure Session Security. - PowerPoint PPT Presentation

Citation preview

HengtianSoft

Introducing Windows Azure

By: Hu Yongjun 10-July-2012

Agenda

Windows Azure PlatformUsers Benefit from Windows AzureDevelopment and Migration ToolsMigration to Windows Azure

Application Migration to Windows AzureDatabase Migration to SQL AzureSession

Security

Window Azure Platform

What Is Windows Azure?Windows Azure Platform is a Platform as a Service (PaaS) offering. It provides an organization with a platform for running Windows applications and storing their data in the cloud.Three key Parts: The Computer Service, The Storage Service, The Fabric

Window Azure Platform

The Computer Service

The Storage Service

The Fabric

Window Azure Platform Core Service

Storage

SQL Azure

Windows Azure Storage provides blobs, tables, and queues. Blobs - Used to store unstructured binary and text data; Queues - Used for storing messages; Tables - Used to store non-relational structured data.REST APIs and several client libraries

offers a relational database service.Data sync serviceReportingFamiliar programming model & tools

Local Development Environment

Windows Azure SDKs for .NET, Node.js, Java, and PHP provide common tools and resourcesScalable environment for running code, building, debugging, publishingComputer Emulator and Storage Emulator

Compute

Web role – A web role runs in a virtual machine and is customized for web application programming. It supports IIS 7 and ASP.NET.Worker role – A worker role runs in a virtual machine and use it to perform background processing VM role – A VM role enables you to define the configuration and updates of the operating system for the virtual machine.

Users Benefit from Windows Azure

How do Users Benefit from Windows Azure? Spend more time coding, less time managing hardware. Spend more time coding, less time deploying applications. Isolate your work from others. Scale your applications up and downEnsure your application is always available.

Applications

Runtimes

SOA Integration

Database

Server SW

Virtualization

Server HW

Storage

Networking

On Premises

Applications

Runtimes

SOA Integration

Database

Server SW

Virtualization

Server HW

Storage

Networking

Applications

Runtimes

SOA Integration

Database

Server SW

Virtualization

Server HW

Storage

Networking

On IaaS On PaaS

Users Benefit from Windows Azure

Reduce Management Efforts

Benefits to Use Window Azure

Web Role

InstanceIIS

Worker Role

Instance

VM

Storage

Table Queue BLOB

Easy Scalability

•Use only resources that you need;•Request more on demand;•Reduce resources if you do not need that many;•The fabric controller takes care of everything for running multiple instances;•Windows Azure makes adding and removing resources dynamic

Users

Development and Migration Tools

Visual Studio 2008 or better 2010 Windows Azure Tools for Microsoft Visual StudioWindows Azure Development FabricSQL Server 2008 Integration Services (SSIS)The bulk copy utility (BCP.exe)SQL Azure Migration Wizard

Migration to Windows Azure

Application Migration to Windows AzureConvert the ASP.NET application into a Web Role project.Make sure that your application is 64-bit compatible since Window azure is a 64-bit environment.Windows Azure runs IIS7 Integrated modeNot support Session, Membership, Roles and Profile. Use SQL Azure database / Azure Table storage to handle these, or Azure Caching Service – a more expensive way.Background jobs move to work roleHandle communication between app and background jobs by using Azure Queue or Service BusStorage usage – move large objects to Azure BLOBEmail service handlingLogging and Monitoring

ASP.Net App Migration General

Database Migration to SQL Azure DatabaseSQL Azure Database is compatible with SQL Server 2008 R2These account names are not allowed: admin, administrator, guest, root, and sa Maximum number of database is 150Maximum size: web edition, 5GB; Business edition: 150GBNot support Agent/Jobs Not support distributed transaction Not support tables without clustered indexesThe default collation: SQL_LATIN1_GENERAL_CP1_CI_ASNot support server level collation settingTCP connection via port 1433

Session

One of the essential aspect that we would need to take into account is session state. Traditionally, if you are running one single server, going for default InProc session state will just work fine. However, when you have more than one server hosting your application, this may be a challenge for us. Similarly this scenario applies to Cloud environment.

Session1. InProc Session

Advantages1.Very fast access since the session information is stored in memory (RAM)2.No extra cost as it will be using your VM’s memoryDisadvantagesThis will only valid for single instance. If you use more than one instance, the inconsistency will happen.

Session2.Table Storage Session Provider

AdvantagesCost effective. In essence, Windows Azure Storage only charge you $ 0.15 per GB per month.Disadvantages1.Not officially supported by Microsoft,2.Performance may not be very good,3.Need to clear unused session.

Session3. SQL Azure Session Provider

AdvantagesCost effective. Although it may not be cost effective compare to table storage, it’s still pretty affordable, especially when combining it into the main database.DisadvantagesNot official support by MicrosoftNeed to clear unused session

Session4.Windows Azure AppFabric Caching

Advantages1. In memory cache, very fast access2. Officially supported by MicrosoftDisadvantagesThe cost is relatively high. The pricing starts from $ 45 per month for 128 MB and all the way up to $ 325 per month for 4 GB.

Security

Access Control Service (ACS) Support external identity providers such as

Windows Live, Google, Facebook, and Open IDHTTP-based authentication mechanismAccount level control of access to Azure storageRequire SSL(Security Socket Layer) communication between app and SQL Azure database

Q&A

Thanks