22
Websites in the Cloud Brian Blanchard – Chief Architect / CIO - HyperVize

Websites in the cloud

Embed Size (px)

DESCRIPTION

Covers the basics of building a website to be hosted on Microsoft's Azure Platform. Lab and demo can be found on devrevival.com. Material pulled from Window's Azure BootCamp. Additional presentations & labs available on AzureBootCamp.com

Citation preview

Page 1: Websites in the cloud

Websites in the Cloud

Brian Blanchard – Chief Architect / CIO - HyperVize

Page 2: Websites in the cloud

Web Roles

• In this session- What is a web role?- What can we do with them?- Basic role configuration.- Local debugging.

Page 3: Websites in the cloud

What is the web role?

A web role hosts an IIS based web site or service.• Supports HTTP and HTTPS and certificates• Automatically load balanced by Azure• Can be internal only, but usually public facing• Runs on IIS7• Usually runs an ASP.NET site.

Page 4: Websites in the cloud

DevFabric

The DevFabric is a local simulation of the real fabric and fabric controller.

• Based on 90% of the real fabric code• Uses a local SQL instance to simulate storage• Only way to debug your application• Use the DevFabric UI to watch your processes

Page 5: Websites in the cloud

DevFabric Icon

Page 6: Websites in the cloud

DevFabric UI

Page 7: Websites in the cloud

DevStorage UI

Page 8: Websites in the cloud

Are we running in the fabric?

Page 9: Websites in the cloud

Hello cloud.

Page 10: Websites in the cloud

Debugging locally

• You can debug locally just like a normal ASP.NET application.

• Full support for multiple instances.

Page 11: Websites in the cloud

Debugging in the cloud?

No. No debug for you.

Page 12: Websites in the cloud

Looking at configuration.

• Configuration is handled by two files.– ServiceDefinition.csdef– ServiceConfiguration.cscfg

Service Specific

Role Specific

Page 13: Websites in the cloud

Service Definition

Page 14: Websites in the cloud

Service Configuration

Page 15: Websites in the cloud

GUI

Double click on Role Name in Azure Project

Page 16: Websites in the cloud

Settings

Page 17: Websites in the cloud

Certificates

Page 18: Websites in the cloud

Endpoints

Page 19: Websites in the cloud

Hello Cloud

• demo

Page 20: Websites in the cloud

Deploying to the cloud

• We can deploy from the portal or from script• VS builds two files.

– Encrypted package of your code– Your config file

• You must create an Azure account, then a service, and then you deploy your code.

• Can take up to 20 minutes – (which is better than six months)

Page 21: Websites in the cloud

Deploying to the cloud

Brian Prince (DPE)
Need to provide screen shots for deployment.cover service account, both slots, and how to deploy a package.
Page 22: Websites in the cloud

Q & A