sydney 2015 azure bootcamp paas presentation

25
It’s a PaaS world… Designing and building applications to leverage Azure platform services. (or I don’t want to manage my own servers anymore) Aaron Saikovski Readify Lead Engineer – Platform April 2015

Upload: aaron-saikovski

Post on 19-Jul-2015

283 views

Category:

Software


2 download

TRANSCRIPT

It’s a PaaS world…Designing and building applications to

leverage Azure platform services.(or I don’t want to manage my own servers anymore)

Aaron Saikovski

Readify Lead Engineer – Platform

April 2015

Page

Agenda› Intros

› PaaS – Quick Overview

› Azure Services - Overview

› Azure Web Apps – Overview

› SQL Azure – Overview

› Demo

› Q & A/ Copyright ©2014 by Readify Pty Ltd2

Page

About Me› Readify Lead Engineer – Platform

› 20+ years in the IT industry

› Former Microsoftie (5+ year veteran)

› Ask me about Office365, Azure and AWS

› Follow me on Twitter @RuskyDuck72

› Email [email protected]

› MCPD, MCITP, MCTS, MCT (Alumni)

› AWS Solutions Architect - Associate

Page

PaaS – Quick Overview

Page

PaaS – Quick Overview

› Platform as a Service..

› “is a category of cloud computing services that provides

a platform allowing customers to develop, run and

manage Web applications without the complexity of

building and maintaining the infrastructure typically

associated with developing and launching an app”

Source: Wikipedia http://en.wikipedia.org/wiki/Platform_as_a_service

/ Copyright ©2014 by Readify Pty Ltd5

Page / Copyright ©2014 by Readify Pty Ltd6

Page

Azure Services - Overview

Page / Copyright ©2014 by Readify Pty Ltd8

Page / Copyright ©2014 by Readify Pty Ltd9

Page

Azure WebApps – Overview(Formerly Azure Websites)

Page

Overview

› Fast, easy to deploy enterprise scale web application

hosting platform

› Features Autoscale, A/B testing and deployment slots

› Supported .NET, Java, PHP, Python or Node.js

› Supports on-premises hybrid connections

› Available in Free, Shared, Basic and Standard editions

› Deploy code from Visual Studio Online, Git, FTP, Web

Deploy and Dropbox

/ Copyright ©2014 by Readify Pty Ltd11

Page

Deeper dive› Resource Groups

› Virtual container that defines your application

› Can contain Azure Websites, Redis cache, SQL Azure

› Manage and view billing

› Delete the resource group, deletes the app and all resources

› Web Hosting Plans/Pricing Tiers

› Group one or more websites in a hosting plan

› Manage website scaling and pricing tiers easily

› Configure Autoscale based on target metrics

› Monitor and configure alerts

/ Copyright ©2014 by Readify Pty Ltd12

Page

Under the hood

/ Copyright ©2014 by Readify Pty Ltd13

Page

Service Tiers

/ Copyright ©2014 by Readify Pty Ltd14

Page

Supported Features› Allowable Ports:

› 80 and 443 only

› Authentication:

› Anonymous

› Forms

› Windows AuthAzure AD and ADFS

› Basic Authnot supported

› GAC deployment not supported.

› Place assemblies into \bin folder

› IIS5 compatibility not supported

› COM component registration not supported

› ISAPI filters are supported

› Requires web.configchanges

/ Copyright ©2014 by Readify Pty Ltd15

Page

Tips and Tricks

› Sticky sessions/Server affinity – On by default› Can turn off in web.config

› Dynamic IP address restriction possible

› Enable always on › Keep website worker process alive – faster load times

› Connection strings override web.config settings

› PowerShell can be used to provision the “Stack”› But that’s for another session

/ Copyright ©2014 by Readify Pty Ltd16

Page

SQL Azure - Overview

Page

Overview

› Relational Database as a service offering (DBaaS)

› 99.99% SLA across all tiers

› Almost on parity with on-premises SQL Server

› SQL v12 provides better compatibility and

performance

› Quick and easy to setup and configure

› Three tiers – Basic, Standard and Premium

› An alternative to SQL on VMs (IaaS)/ Copyright ©2014 by Readify Pty Ltd18

Page

Key Features› Billed per hour regardless of usage/size

› Migration tools available e.g. SQL migration wizard

› Can use familiar SQL tools to export/import data

(.bacpac files)

› Performance measured in Database Throughput Units

(DTU)

› Mix of CPU, memory and read/write operations

› Geo-replication across regions and servers

› SQL Azure uses UTC DateTime by default/ Copyright ©2014 by Readify Pty Ltd19

Page

SQL Azure – Service Tiers

/ Copyright ©2014 by Readify Pty Ltd20

Page

SQL Azure – Service Tiers (explained)› Basic:

› Small databases

› Infrequently used/Low Performance

› 2GB Max

› Standard:

› General purpose use

› Supports concurrent connections

› 250GB Max

› Premium:

› High transactional volume

› large number of concurrent connections.

› Mission critical databases.

› 500GB Max/ Copyright ©2014 by Readify Pty Ltd21

PagePage / Copyright ©2014 by Readify Pty Ltd22

SQL Azure – Performance Tiers

Page

SQL Azure – Geo-replication› Standard geo-replication

› Standard and Premium tier

› Secondary offline replica

› Offline until an outage occurs

› Billed at 75% cost of primary database

› Active geo-replication

› Premium tier only

› Max. 4 geo-replicated online secondaries

› Readable secondaries

› Billed at 100% cost of primary database/ Copyright ©2014 by Readify Pty Ltd23

Page

SQL Azure – Active Geo-replication

/ Copyright ©2014 by Readify Pty Ltd24

Page

Demo:

Migration to Azure Web Apps and SQL Azure

Download the files from here:https://azbootcamp2015au.blob.core.windows.net/paas-lab1/lab1-labfiles.zip

http://bit.ly/1yS97r5

/ Copyright ©2014 by Readify Pty Ltd25