Вы находитесь на странице: 1из 42

Designing and Developing

Applications on the Cloud


CT071-3-3-DDAC & Version VC1

SQL Database in Cloud


Environment
Topic & Structure of The Lesson

1. Overview
2. Architecture
3. Starting With The Basics
4. Create And Deploy Your Database
5. Secure Your Database
6. Exploring Advanced Capabilities

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 2 of 43


Learning Outcomes

• At the end of this topic, You should be


able to
• Evaluate SQL Database architecture in Azure
Cloud.
• Implement and deploy database on Azure SQL
Database.

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 3 of 43


Key Terms You Must Be Able To
Use
• If you have mastered this topic, you should be able to use the
following terms correctly in your assignments:
• Azure SQL

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 4 of 43


OVERVIEW

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 5 of 43


SQL Database

• SQL Database is a general-purpose


relational database managed service in
Microsoft Azure that supports structures
such as relational data, JSON, spatial, and
XML.

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 6 of 43


SQL Database

• SQL Database delivers dynamically


scalable performance within two different
purchasing models: a vCore-based
purchasing model and a DTU-based
purchasing model.

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 7 of 43


vCore Vs. DTU

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 8 of 43


CT071-3-3-DDAC SQL Database in Cloud Environment Slide 9 of 43
SQL Database

• SQL Database also provides options such


as column store indexes for extreme
analytic analysis and reporting, and in-
memory OLTP for extreme transactional
processing.

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 10 of 43


SQL Database
• Azure provides the following deployment options
for an Azure SQL database:

1. As a single database with its own set of resources managed via


a logical server
2. As a pooled database in an elastic pool with a shared set of
resources managed via a logical server
3. As a part of a collection of databases known as a managed
instance that contains system and user databases and sharing
a set of resources

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 11 of 43


Elastic pools to maximize
resource utilization

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 12 of 43


SQL Database

• SQL Database delivers predictable performance with


multiple resource types, service tiers, and compute sizes
that provides dynamic scalability with no downtime, built-
in intelligent optimization, global scalability and
availability, and advanced security options — all with
near-zero administration.
• These capabilities allow you to focus on rapid app
development and accelerating your time to market,
rather than allocating precious time and resources to
managing virtual machines and infrastructure.

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 13 of 43


SQL Database

• The SQL Database service is currently in


38 data centers around the world, with
more data centers coming online regularly,
which enables you to run your database in
a data center near you.

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 14 of 43


ARCHITECTURE

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 15 of 43


A Server Is Not A Machine

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 16 of 43


How It Works

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 17 of 43


STARTING WITH THE BASICS

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 18 of 43


The Basics

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 19 of 43


Server Provisioning

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 20 of 43


Learn How To Create a SQL
Database on Azure
• https://azure.microsoft.com/en-
us/resources/videos/create-sql-database-
on-azure/

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 21 of 43


CREATE AND DEPLOY
YOUR DATABASE

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 22 of 43


Create Database…

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 23 of 43


Enhanced Tooling

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 24 of 43


Database Deployment

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 25 of 43


SECURE YOUR DATABASE

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 26 of 43


There Are Two
Ways To Secure
A Database:

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 27 of 43


Server Benefits

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 28 of 43


Database Benefits

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 29 of 43


SQL Database Firewall

IP Address-based access control for


SQL Database
Rules can be defined at the server and
database
No IP authorized by default
Configurable using the SQL Database
Portal and REST API
Option to disable/enable access from
applications hosted in Windows Azure

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 30 of 43


Application Connectivity

1.

1.
2.
2.
3.
3.
4.

<connectionStrings> 5.
<addname="AdventureWorks"connectionString= 6.
"Data
Source=[server].database.windows.net; 7.
Integrated Security=False;
Initial Catalog=ProductsDb; 8.
User Id=[login]; 9.
Password=[password];
Trusted_Connection=False;
Encrypt=true;"
providerName="System.Data.SqlClient"/>
</connectionStrings>

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 32 of 43


EXPLORING ADVANCED
CAPABILITIES

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 33 of 43


Explore Advanced Capabilities

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 34 of 43


SQL Reporting

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 35 of 43


SQL Data Sync

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 36 of 43


SQL Data Sync

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 37 of 43


SQL Data Sync

•The Hub Database must be an Azure SQL Database.

•The member databases can be either SQL Databases, on-


premises SQL Server databases, or SQL Server instances on
Azure virtual machines.

•The Sync Database contains the metadata and log for Data
Sync. The Sync Database has to be an Azure SQL Database
located in the same region as the Hub Database. The Sync
Database is customer created and customer owned.

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 38 of 43


How does Data Sync work?

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 39 of 43


Quick Review Question

• Identify and explain the THREE (3)


deployment options for an Azure SQL
database.

• Describe the Advanced Capabilities in


Azure SQL database.

• Explain the Data Synchronization in Azure


SQL Database.

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 40 of 43


Summary of Main Teaching Points

- Understand what is Azure SQL Database.


- Understand how to create and deploy your
database to Azure SQL Database.
- Understand how to secure your database.

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 41 of 43


Question and Answer Session

Q&A

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 42 of 43


What we will cover next

• Storing SQL Data In Azure

CT071-3-3-DDAC SQL Database in Cloud Environment Slide 43 of 43

Вам также может понравиться