SlideShare a Scribd company logo
1 of 31
Agenda
• Job Scheduling on Azure PaaS.
• SQL Service on Azure PaaS.
• Pricing for Azure PaaS.
Job Scheduling on Azure PaaS.
• Development in Visual Studio 2015 or Higher.
• Base on Web App Service.
• To deploy WebJobs by using the Azure Portal.
• Use scheduler to Trigger your Web Job.
Acceptable file types for scripts or programs.
• The following file types are accepted:
• .cmd, .bat, .exe (using windows cmd)
• .ps1 (using powershell)
• .sh (using bash)
• .php (using php)
• .py (using python)
• .js (using node)
• .jar (using java)
Create a scheduled WebJob using the Azure
Scheduler
• All settings are done at Azure
Portal.
• Support job Type:
– On-time Job.
• Now.
• At a specific time.
– Recurring Job.
• minutes.
• Hours.
• Days.
• Weeks.
• Months.
Create a scheduled WebJob using the Azure
Scheduler
• Sign in to Azure Portal.
– Click +New  type Scheduler in the
search box  select Scheduler in results
 click Create.
– Add a action settings (Default use HTTP
and HTTPS job action type).
– Adjust schedule.
• You may change the start date and time,
recurrence schedule, and the end date and
time.
Monitoring for WebJob
• Use azure portal.
• Use scm administration tool for WebApps.
– Enable diagnostics logging.
– Monitoring Quotas and Metrics in the Azure Portal.
• Alert in WebApps.
• Application insights.
• Troubleshooting using Visual Studio.
Pricing for Web App Service
SQL Service on Azure PaaS (SQL Database)
• Topic:
– Understand what's available in each service tier.
– DTU and eDTUs and DTU benchmark overview.
– Pricing for SQL Database.
– Migration Oracle database to Azure SQL Database.
Choosing a service tier
What are DTU?
• DTU = (Database Transaction Units)
• A DTU is a blended measure of CPU, memory, and data I/O and
transaction log I/O in a ratio determined.
What are eDTUs
• eDTUs = (elastic Database Transaction Units).
• An eDTU is a unit of measure of the set of resources (DTUs) that
can be shared between a set of databases on an Azure SQL server.
– If has unpredictable resource requirements for memory, IO, and CPU.
– called an elastic pool
What are eDTUs (2)
• Azure SQL Database elastic pools provide a simple cost
effective solution to manage the have widely varying and
unpredictable usage amount.
– A pool can have multiple Database.
– A pool allows these unused DTUs to be shared across multiple
databases, and so reduces the DTUs needed and overall cost.
Pricing for SQL Database.
Standard Service Tier
Premium Service Tier
Standard elastic pool limits
Standard elastic pool limits (2)
How to determine the number of DTUs required
• You want to migrate an existing on-premises or SQL Server
virtual machine workload to the Azure SQL Database
– you can use the DTU calculator to estimate the amount of DTU
required.
– Use the SQL Database Advice or use Load Test Tool to queries limits
are reached.
What happens when the DTU limits is reached.
• If your workload reaches one of the (CPU / data) (IO / log IO)
limits are reached.
– You may experience a longer query delay
– But these restrictions do not cause any errors
• But during peak loads when the application either sends too
many requests or the database reaches its resource limits and
starts piling up worker threads due to longer running queries,
errors can be encountered.
Migration Oracle database to Azure SQL Database.
• Recommended migration process:
– Use SSMA (SQL Server Migration Assistant)
• Create a new SSMA Project.
– For information about GUI settings, see Project Settings (GUI) (OracleToSQL).
• Mapping Oracle and SQL Server Data Types (OracleToSQL)
• Convert Oracle database schemas into SQL Server schemas.
• Load the converted database objects into SQL Server.
– Save a script and run it in SQL Server .
– Synchronize the database objects.
• Migrate data to SQL Server.
Migration SQL Server to Azure SQL Database
• Use Data Migration Assistant.
• Create a database snapshot.
– Ensure no further changes.
• Export the database copy to a .BACPAC.
• Import the .BACPAC file as a new Azure SQL database.
Use (import/Export) tool SqlPackage.exe
1. 匯出資料
sqlpackage /Action:Export /ssn:GELISMACMSSQLSERVER2016 /sdn:[DatabaseName]/tf:"D:bacbupFile.bacpac"
/su:sa /sp:[yourpassword]
2. 匯入資料
sqlpackage /Action:Import /tsn:cxclab.database.windows.net /tdn:[DatabaseName] /sf:"D:backupFile.bacpac"
/tu:cxclab /tp:[yourpassword]
References:
• https://docs.microsoft.com/en-us/sql/ssma/oracle/migrating-oracle-databases-to-sql-server-oracletosql
• http://beyondrelational.com/modules/2/blogs/82/posts/13177/ssma-sql-server-migration-assistant.aspx
Pricing for Azure PaaS.
• If you expect a lower traffic load, you can use the shared
service (F1, D1 free and shared pricing layer)
• If the loading is high, you can select from a number of special
services (basic [B1 ~ B2], standard [S1 ~ S3] and advanced [P1 ~
P3])
Azure pricing calculator
• Price and configure Azure features for your scenarios.
• https://azure.microsoft.com/zh-
tw/pricing/calculator/?service=sql-database
Azure PaaS (WebApp & SQL Database) workshop solution

More Related Content

What's hot

What's hot (20)

Intro to Azure Static Web Apps
Intro to Azure Static Web AppsIntro to Azure Static Web Apps
Intro to Azure Static Web Apps
 
Toyko azure meetup # 1 azure paa s overview
Toyko azure meetup # 1   azure paa s overviewToyko azure meetup # 1   azure paa s overview
Toyko azure meetup # 1 azure paa s overview
 
Serverless with Azure Functions
Serverless with Azure FunctionsServerless with Azure Functions
Serverless with Azure Functions
 
Azure functions
Azure functionsAzure functions
Azure functions
 
Azure web apps
Azure web appsAzure web apps
Azure web apps
 
Azure fundamental -Introduction
Azure fundamental -IntroductionAzure fundamental -Introduction
Azure fundamental -Introduction
 
Azure functions
Azure functionsAzure functions
Azure functions
 
SERVERLESS MIDDLEWARE IN AZURE FUNCTIONS
SERVERLESS MIDDLEWARE IN AZURE FUNCTIONSSERVERLESS MIDDLEWARE IN AZURE FUNCTIONS
SERVERLESS MIDDLEWARE IN AZURE FUNCTIONS
 
Intro to docker and kubernetes
Intro to docker and kubernetesIntro to docker and kubernetes
Intro to docker and kubernetes
 
CREATING REAL TIME DASHBOARD WITH BLAZOR, AZURE FUNCTION COSMOS DB AN AZURE S...
CREATING REAL TIME DASHBOARD WITH BLAZOR, AZURE FUNCTION COSMOS DB AN AZURE S...CREATING REAL TIME DASHBOARD WITH BLAZOR, AZURE FUNCTION COSMOS DB AN AZURE S...
CREATING REAL TIME DASHBOARD WITH BLAZOR, AZURE FUNCTION COSMOS DB AN AZURE S...
 
Azure API Manegement Introduction and Integeration with BizTalk
Azure API Manegement Introduction and Integeration with BizTalkAzure API Manegement Introduction and Integeration with BizTalk
Azure API Manegement Introduction and Integeration with BizTalk
 
Monitor Azure Kubernetes Cluster With Prometheus by Mamta Jha
Monitor Azure Kubernetes Cluster With Prometheus by Mamta JhaMonitor Azure Kubernetes Cluster With Prometheus by Mamta Jha
Monitor Azure Kubernetes Cluster With Prometheus by Mamta Jha
 
Azure Update, July 2016
Azure Update, July 2016Azure Update, July 2016
Azure Update, July 2016
 
Go Serverless with Java and Azure Functions
Go Serverless with Java and Azure FunctionsGo Serverless with Java and Azure Functions
Go Serverless with Java and Azure Functions
 
Azure serverless architectures
Azure serverless architecturesAzure serverless architectures
Azure serverless architectures
 
Azuresatpn19 - An Introduction To Azure Data Factory
Azuresatpn19 - An Introduction To Azure Data FactoryAzuresatpn19 - An Introduction To Azure Data Factory
Azuresatpn19 - An Introduction To Azure Data Factory
 
Shift Remote AI: Build and deploy PyTorch Models with Azure Machine Learning ...
Shift Remote AI: Build and deploy PyTorch Models with Azure Machine Learning ...Shift Remote AI: Build and deploy PyTorch Models with Azure Machine Learning ...
Shift Remote AI: Build and deploy PyTorch Models with Azure Machine Learning ...
 
Infrastructure as Code for Azure: ARM or Terraform?
Infrastructure as Code for Azure: ARM or Terraform?Infrastructure as Code for Azure: ARM or Terraform?
Infrastructure as Code for Azure: ARM or Terraform?
 
Azure DevOps Multistage YAML Pipelines – Top 10 Features
Azure DevOps Multistage YAML Pipelines – Top 10 FeaturesAzure DevOps Multistage YAML Pipelines – Top 10 Features
Azure DevOps Multistage YAML Pipelines – Top 10 Features
 
Develop enterprise-ready applications for Microsoft Teams
Develop enterprise-ready applications for Microsoft TeamsDevelop enterprise-ready applications for Microsoft Teams
Develop enterprise-ready applications for Microsoft Teams
 

Viewers also liked

架構設計好簡單系列 設計符合團隊的範本精靈 (Project template)
架構設計好簡單系列   設計符合團隊的範本精靈 (Project template)架構設計好簡單系列   設計符合團隊的範本精靈 (Project template)
架構設計好簡單系列 設計符合團隊的範本精靈 (Project template)
Gelis Wu
 

Viewers also liked (11)

架構設計好簡單系列 設計符合團隊的範本精靈 (Project template)
架構設計好簡單系列   設計符合團隊的範本精靈 (Project template)架構設計好簡單系列   設計符合團隊的範本精靈 (Project template)
架構設計好簡單系列 設計符合團隊的範本精靈 (Project template)
 
Architecture of exadata database machine – Part II
Architecture of exadata database machine – Part IIArchitecture of exadata database machine – Part II
Architecture of exadata database machine – Part II
 
Database Trends for Modern Applications: Why the Database You Choose Matters
Database Trends for Modern Applications: Why the Database You Choose Matters Database Trends for Modern Applications: Why the Database You Choose Matters
Database Trends for Modern Applications: Why the Database You Choose Matters
 
Distributed database system
Distributed database systemDistributed database system
Distributed database system
 
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
 
How to generate customized java 8 code from your database
How to generate customized java 8 code from your databaseHow to generate customized java 8 code from your database
How to generate customized java 8 code from your database
 
Oracle 12.2 sharded database management
Oracle 12.2 sharded database managementOracle 12.2 sharded database management
Oracle 12.2 sharded database management
 
Should I move my database to the cloud?
Should I move my database to the cloud?Should I move my database to the cloud?
Should I move my database to the cloud?
 
What's new with Azure Sql Database
What's new with Azure Sql DatabaseWhat's new with Azure Sql Database
What's new with Azure Sql Database
 
Relational Database Design - Lecture 4 - Introduction to Databases (1007156ANR)
Relational Database Design - Lecture 4 - Introduction to Databases (1007156ANR)Relational Database Design - Lecture 4 - Introduction to Databases (1007156ANR)
Relational Database Design - Lecture 4 - Introduction to Databases (1007156ANR)
 
團隊開發永遠的痛 談導入團隊開發的共同規範(Final)
團隊開發永遠的痛   談導入團隊開發的共同規範(Final)團隊開發永遠的痛   談導入團隊開發的共同規範(Final)
團隊開發永遠的痛 談導入團隊開發的共同規範(Final)
 

Similar to Azure PaaS (WebApp & SQL Database) workshop solution

Azure from scratch part 3 By Girish Kalamati
Azure from scratch part 3 By Girish KalamatiAzure from scratch part 3 By Girish Kalamati
Azure from scratch part 3 By Girish Kalamati
Girish Kalamati
 

Similar to Azure PaaS (WebApp & SQL Database) workshop solution (20)

Azure from scratch part 3 By Girish Kalamati
Azure from scratch part 3 By Girish KalamatiAzure from scratch part 3 By Girish Kalamati
Azure from scratch part 3 By Girish Kalamati
 
Scalable relational database with SQL Azure
Scalable relational database with SQL AzureScalable relational database with SQL Azure
Scalable relational database with SQL Azure
 
Azure Data Lake and Azure Data Lake Analytics
Azure Data Lake and Azure Data Lake AnalyticsAzure Data Lake and Azure Data Lake Analytics
Azure Data Lake and Azure Data Lake Analytics
 
AZURE Data Related Services
AZURE Data Related ServicesAZURE Data Related Services
AZURE Data Related Services
 
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018 Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
 
J1 T1 3 - Azure Data Lake store & analytics 101 - Kenneth M. Nielsen
J1 T1 3 - Azure Data Lake store & analytics 101 - Kenneth M. NielsenJ1 T1 3 - Azure Data Lake store & analytics 101 - Kenneth M. Nielsen
J1 T1 3 - Azure Data Lake store & analytics 101 - Kenneth M. Nielsen
 
Migrate a successful transactional database to azure
Migrate a successful transactional database to azureMigrate a successful transactional database to azure
Migrate a successful transactional database to azure
 
A lap around Azure Data Factory
A lap around Azure Data FactoryA lap around Azure Data Factory
A lap around Azure Data Factory
 
Azure Synapse Analytics Overview (r2)
Azure Synapse Analytics Overview (r2)Azure Synapse Analytics Overview (r2)
Azure Synapse Analytics Overview (r2)
 
Azure data platform overview
Azure data platform overviewAzure data platform overview
Azure data platform overview
 
Azure SQL DWH
Azure SQL DWHAzure SQL DWH
Azure SQL DWH
 
01_DP-300T00A-Intro.pptx
01_DP-300T00A-Intro.pptx01_DP-300T00A-Intro.pptx
01_DP-300T00A-Intro.pptx
 
Introducing Azure SQL Data Warehouse
Introducing Azure SQL Data WarehouseIntroducing Azure SQL Data Warehouse
Introducing Azure SQL Data Warehouse
 
NDC Minnesota - Analyzing StackExchange data with Azure Data Lake
NDC Minnesota - Analyzing StackExchange data with Azure Data LakeNDC Minnesota - Analyzing StackExchange data with Azure Data Lake
NDC Minnesota - Analyzing StackExchange data with Azure Data Lake
 
Store Data in Azure SQL Database
Store Data in Azure SQL DatabaseStore Data in Azure SQL Database
Store Data in Azure SQL Database
 
Deep Dive into Azure Data Factory v2
Deep Dive into Azure Data Factory v2Deep Dive into Azure Data Factory v2
Deep Dive into Azure Data Factory v2
 
Tech ED 2014 Running Oracle Databases and Application Servers on Azurev1
Tech ED 2014   Running Oracle Databases and Application Servers on Azurev1Tech ED 2014   Running Oracle Databases and Application Servers on Azurev1
Tech ED 2014 Running Oracle Databases and Application Servers on Azurev1
 
Data Migration - Activity slide.pptx
Data Migration - Activity slide.pptxData Migration - Activity slide.pptx
Data Migration - Activity slide.pptx
 
Moving to the cloud; PaaS, IaaS or Managed Instance
Moving to the cloud; PaaS, IaaS or Managed InstanceMoving to the cloud; PaaS, IaaS or Managed Instance
Moving to the cloud; PaaS, IaaS or Managed Instance
 
Building a Just-in-Time Application Stack for Analysts
Building a Just-in-Time Application Stack for AnalystsBuilding a Just-in-Time Application Stack for Analysts
Building a Just-in-Time Application Stack for Analysts
 

More from Gelis Wu

More from Gelis Wu (20)

Blazor in NET 8 的重大改變___________________
Blazor in NET 8 的重大改變___________________Blazor in NET 8 的重大改變___________________
Blazor in NET 8 的重大改變___________________
 
.NET 7 升級教戰手冊_V1.0.pdf
.NET 7 升級教戰手冊_V1.0.pdf.NET 7 升級教戰手冊_V1.0.pdf
.NET 7 升級教戰手冊_V1.0.pdf
 
顧問養成秘技 - 顧問服務實戰.pptx
顧問養成秘技 - 顧問服務實戰.pptx顧問養成秘技 - 顧問服務實戰.pptx
顧問養成秘技 - 顧問服務實戰.pptx
 
Net 6 的 blazor 開發新視界
Net 6 的 blazor 開發新視界Net 6 的 blazor 開發新視界
Net 6 的 blazor 開發新視界
 
軟體架構設計的技術養成之路
軟體架構設計的技術養成之路軟體架構設計的技術養成之路
軟體架構設計的技術養成之路
 
深入淺出領域驅動設計:以 .NET 5 與線上房貸申請系統為例
深入淺出領域驅動設計:以 .NET 5 與線上房貸申請系統為例深入淺出領域驅動設計:以 .NET 5 與線上房貸申請系統為例
深入淺出領域驅動設計:以 .NET 5 與線上房貸申請系統為例
 
Blazor Component 開發實戰
Blazor Component 開發實戰Blazor Component 開發實戰
Blazor Component 開發實戰
 
實踐 Clean Architecture(實作高可用性的軟件架構)
實踐 Clean Architecture(實作高可用性的軟件架構)實踐 Clean Architecture(實作高可用性的軟件架構)
實踐 Clean Architecture(實作高可用性的軟件架構)
 
該準備從 .NET Framework 4.x 遷移至 .NET Core 3.0 了嗎?
該準備從 .NET Framework 4.x 遷移至 .NET Core 3.0 了嗎?該準備從 .NET Framework 4.x 遷移至 .NET Core 3.0 了嗎?
該準備從 .NET Framework 4.x 遷移至 .NET Core 3.0 了嗎?
 
專業顧問的技能成長日記
專業顧問的技能成長日記專業顧問的技能成長日記
專業顧問的技能成長日記
 
你的軟體架構夠敏捷嗎?
你的軟體架構夠敏捷嗎?你的軟體架構夠敏捷嗎?
你的軟體架構夠敏捷嗎?
 
使用 .NET Standard 開發跨平台應用程式
使用 .NET Standard 開發跨平台應用程式使用 .NET Standard 開發跨平台應用程式
使用 .NET Standard 開發跨平台應用程式
 
一個 ASP.NET Core 2.1 開發指南
一個 ASP.NET Core 2.1 開發指南一個 ASP.NET Core 2.1 開發指南
一個 ASP.NET Core 2.1 開發指南
 
前端大型系統的基石 TypeScript
前端大型系統的基石 TypeScript前端大型系統的基石 TypeScript
前端大型系統的基石 TypeScript
 
Dot netstandard2.0與.net的未來發展
Dot netstandard2.0與.net的未來發展Dot netstandard2.0與.net的未來發展
Dot netstandard2.0與.net的未來發展
 
客製化的 Web api 的框架設計
客製化的 Web api 的框架設計客製化的 Web api 的框架設計
客製化的 Web api 的框架設計
 
Asp.net identity 2.0
Asp.net identity 2.0Asp.net identity 2.0
Asp.net identity 2.0
 
Asp.net mvc 基礎
Asp.net mvc 基礎Asp.net mvc 基礎
Asp.net mvc 基礎
 
軟體開發之路甘苦談(Gelis)
軟體開發之路甘苦談(Gelis)軟體開發之路甘苦談(Gelis)
軟體開發之路甘苦談(Gelis)
 
活用 Application insight
活用 Application insight活用 Application insight
活用 Application insight
 

Recently uploaded

CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 

Recently uploaded (20)

WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 

Azure PaaS (WebApp & SQL Database) workshop solution

  • 1.
  • 2. Agenda • Job Scheduling on Azure PaaS. • SQL Service on Azure PaaS. • Pricing for Azure PaaS.
  • 3.
  • 4. Job Scheduling on Azure PaaS. • Development in Visual Studio 2015 or Higher. • Base on Web App Service. • To deploy WebJobs by using the Azure Portal. • Use scheduler to Trigger your Web Job.
  • 5. Acceptable file types for scripts or programs. • The following file types are accepted: • .cmd, .bat, .exe (using windows cmd) • .ps1 (using powershell) • .sh (using bash) • .php (using php) • .py (using python) • .js (using node) • .jar (using java)
  • 6. Create a scheduled WebJob using the Azure Scheduler • All settings are done at Azure Portal. • Support job Type: – On-time Job. • Now. • At a specific time. – Recurring Job. • minutes. • Hours. • Days. • Weeks. • Months.
  • 7. Create a scheduled WebJob using the Azure Scheduler • Sign in to Azure Portal. – Click +New  type Scheduler in the search box  select Scheduler in results  click Create. – Add a action settings (Default use HTTP and HTTPS job action type). – Adjust schedule. • You may change the start date and time, recurrence schedule, and the end date and time.
  • 8. Monitoring for WebJob • Use azure portal. • Use scm administration tool for WebApps. – Enable diagnostics logging. – Monitoring Quotas and Metrics in the Azure Portal. • Alert in WebApps. • Application insights. • Troubleshooting using Visual Studio.
  • 9.
  • 10. Pricing for Web App Service
  • 11.
  • 12. SQL Service on Azure PaaS (SQL Database) • Topic: – Understand what's available in each service tier. – DTU and eDTUs and DTU benchmark overview. – Pricing for SQL Database. – Migration Oracle database to Azure SQL Database.
  • 14. What are DTU? • DTU = (Database Transaction Units) • A DTU is a blended measure of CPU, memory, and data I/O and transaction log I/O in a ratio determined.
  • 15. What are eDTUs • eDTUs = (elastic Database Transaction Units). • An eDTU is a unit of measure of the set of resources (DTUs) that can be shared between a set of databases on an Azure SQL server. – If has unpredictable resource requirements for memory, IO, and CPU. – called an elastic pool
  • 16. What are eDTUs (2) • Azure SQL Database elastic pools provide a simple cost effective solution to manage the have widely varying and unpredictable usage amount. – A pool can have multiple Database. – A pool allows these unused DTUs to be shared across multiple databases, and so reduces the DTUs needed and overall cost.
  • 17. Pricing for SQL Database.
  • 21. Standard elastic pool limits (2)
  • 22. How to determine the number of DTUs required • You want to migrate an existing on-premises or SQL Server virtual machine workload to the Azure SQL Database – you can use the DTU calculator to estimate the amount of DTU required. – Use the SQL Database Advice or use Load Test Tool to queries limits are reached.
  • 23. What happens when the DTU limits is reached. • If your workload reaches one of the (CPU / data) (IO / log IO) limits are reached. – You may experience a longer query delay – But these restrictions do not cause any errors • But during peak loads when the application either sends too many requests or the database reaches its resource limits and starts piling up worker threads due to longer running queries, errors can be encountered.
  • 24. Migration Oracle database to Azure SQL Database. • Recommended migration process: – Use SSMA (SQL Server Migration Assistant) • Create a new SSMA Project. – For information about GUI settings, see Project Settings (GUI) (OracleToSQL). • Mapping Oracle and SQL Server Data Types (OracleToSQL) • Convert Oracle database schemas into SQL Server schemas. • Load the converted database objects into SQL Server. – Save a script and run it in SQL Server . – Synchronize the database objects. • Migrate data to SQL Server.
  • 25. Migration SQL Server to Azure SQL Database • Use Data Migration Assistant. • Create a database snapshot. – Ensure no further changes. • Export the database copy to a .BACPAC. • Import the .BACPAC file as a new Azure SQL database.
  • 26. Use (import/Export) tool SqlPackage.exe 1. 匯出資料 sqlpackage /Action:Export /ssn:GELISMACMSSQLSERVER2016 /sdn:[DatabaseName]/tf:"D:bacbupFile.bacpac" /su:sa /sp:[yourpassword] 2. 匯入資料 sqlpackage /Action:Import /tsn:cxclab.database.windows.net /tdn:[DatabaseName] /sf:"D:backupFile.bacpac" /tu:cxclab /tp:[yourpassword]
  • 28.
  • 29. Pricing for Azure PaaS. • If you expect a lower traffic load, you can use the shared service (F1, D1 free and shared pricing layer) • If the loading is high, you can select from a number of special services (basic [B1 ~ B2], standard [S1 ~ S3] and advanced [P1 ~ P3])
  • 30. Azure pricing calculator • Price and configure Azure features for your scenarios. • https://azure.microsoft.com/zh- tw/pricing/calculator/?service=sql-database