Post on 09-Feb-2016
description
transcript
Windows Azure for SharePoint people
Dennis Mulder@dennismulder – dmulder@microsoft.com
Solution ArchitectMicrosoft Windows Azure Center of Excellence
Session Objectives And Takeaways
• Continue to discuss the different ways in which you can leverage Windows Azure in your SharePoint 2013 project
• Demonstrate how you build and deploy an advanced SharePoint 2013 cloud-hosted app
• Understand how to leverage Windows Azure as your development & testing environment
ScenariosWhen should I think about Windows Azure in the context of my SharePoint implementation?
Scenarios
• Cloud Hosted SharePoint apps• Apps natively integrated into SharePoint, but hosted
elsewhere• Developer, Test and Staging Environments
• Quickly provision and un-provision entire environments• Hybrid Applications
• Applications that span your data center and the cloud • SharePoint for Internet Sites (FIS)
• Public facing, anonymous access sites• Disaster Recovery
• Quickly recover from a disaster, only pay for use
This session!
Your Datacenter
Virtualization
O/S
Hardware
Network
Data
Applications
Firewall
Web Sites & Apps
Applications
Data
Cloud Services Applications
Firewall Rules
Data
Virtual Network
Virtual Machines
Virtual Network
Data
Applications
Firewall Rules
O/S
Focus on the Application
Windows Azure
Scenario: Cloud apps
SharePoint-hostedBuild and run your whole app inside of SharePoint
AutohostedWhen you need server code and SQL Azure for your app but don’t want to get into the hosting business.
Provider-hostedUse for apps requiring the greatest amount of flexibility and scalability and toolset and backend services that cross app instances.
Three hosting options to provide the flexibility and scalability your app needs
App models:SharePoint 2013 App models
Provider Hosted App - Advanced
Deploy yourapp
Windows Azure
Sharepoint App CatalogRegister your
app
SharePoint Online
Documents Search Workflow
Feeds User Profile
and more…
Retrieve data using OData/REST calls
Notify app usingevent receivers
Internet
SharePoint 2013
Client App Part (Trust)
Azure App
Bakery store
Provider-hosted
Azure Web Sites
Database….
O365
REST + OAuth and OData +
client object models
SharePoint O365 – Azure Integration
DemoRunning a cloud hosted SharePoint application in Windows Azure websites
Web RoleWeb Sites
* Cloud Apps (Web or Worker roles) can integrate with ClearDB’s MySQL as a Service via connection string but not via seamless portal/provisioning workflow
Access to Azure services like Caching, Service Bus, Storage, SQL Azure
Supports ASP.NET, classic ASP, Node.js, PHPShared content and configuration
GIT, FTPNear-instant deployment
Integrated MySQL as a service supportEnvironments/Staging
Network isolationRemote desktop access
Elevated permissionsStart-up tasks
Unsupported frameworks or librariesService Model
Azure Connect/VPN
*
Capabilities vs.
Windows Azure web sites offering
Shared instance• Limited egress, storage (1GB), DB
(20 MB)• Max 10 sites• Free during preview
Multi instance• Scale Out• Max 3 instances• Free during preview
Reserved Instance• Scale Up• Can buy multiple instances • Cost and sized same as Hosted Services
Web Role
* all can use other Azure services
multi-tiered enterprise connected
applications
Migration
web hosting focused
Scenario: Dev/Test
Developer & Test environment
Windows Server
SQL Server
SharePoint
Visual Studio
Frameworks Etc.
8 CPU, 16GB etc.
Windows Azure Virtual Machines
Persistent Disks and Highly Durable
Windows Azure Storage
Windows Azure Storage (Disaster Recovery)
Virtual Machine
Persistent Disks and Highly Durable
Windows Azure Storage
Windows Azure Storage (Disaster Recovery)
Virtual Machine
Virtual Machine
Disks and Images
OS Images• Microsoft• Partner • User
Disks• OS Disks • Data Disks
Base OS image for new Virtual MachinesSys-Prepped/Generalized/Read Only Created by uploading or by capture
Writable Disks for Virtual MachinesCreated during VM creation or during upload of existing VHDs.
Migrating a Simple Virtual Machine
On-Premises Virtual MachineMachine Name: APPSRV1Memory: 8 GB Cores: 4Ports: 80/443 for http/https
Guest: C:\Host: C:\VMs\APP-OS.vhdGuest: D:\Host: D:\VMs\APP-Data.vhdGuest: E:\Host: E:\VMs\APP-Logs.vhd
Cloud ServiceName: myapp1.cloudapp.net
Virtual MachineRole Name: appsrv14 Cores 7 GB Ram Windows
AzureStorageGuest: C:\
WAStorage\VMs\APP-OS.vhdGuest: E:\WAStorage\VMs\APP-Data.vhdGuest: F:\WAStorageVMs\APP-Logs.vhd
DeploymentSlot Production
Migration Steps1) Upload VHDs CSUpload or other Tools
2) Create VM OS Disk=APP-OS.vhd
3) Configure Data Disks Data Disk 1 = APP-Data.vhd Data Disk 2= App-Logs.vhd
4) Adjust App for Drive Letters
5) Add Input Endpoint(s) 80, TCP, http 443, TCP, https
TCP Endpoints 80 and 443
DemoMigrating a SharePoint environment in Windows Azure Virtual Machines
Demo - SharePoint configuration
LB
WFE/APP SQL
80
Cloud Svc – azurecoe.cloudapp.net
Azurecoe AD subnet
Virtual NetworkAzure
AD/DC/DNS
DemoA SharePoint environment in Windows Azure Virtual Machines
SharePoint Farm Configuration
AD/DC/DNS
OnPrem
LB WFE SQLAppSvr
80
2012
VPN Tunnel
Cloud Svc
Cloud Svc
Virtual NetworkAzure
AD/DC/DNS
Summary• Windows Azure is an easy friction free platform to
start with based on your existing knowledge
• Windows Azure functionality can be hosted in many different ways to support your SharePoint projects:• Running Cloud Hosted applications in Windows Azure Websites
and Web/worker roles supporting both on-prem, Virtual Machines and O365 based solutions
• Running dev/test/staging environments in Windows Azure Virtual Machines
• Leveraging all the other Windows Azure functionality inside your cloud hosted applications
• Windows Azure websites is a good platform to get started with your first SharePoint apps and start earning some money!
Resources• Windows Azure Virtual Machines• Windows Azure Training kit• Apps for Office and SharePoint Blog• How
to: Create a basic provider-hosted app for SharePoint
• How to: Create high-trust apps for SharePoint 2013 using the server-to-server protocol (advanced topic)