Installing SQL database in Azure

Posted: June 10, 2018 in Azure

From Azure portal Click SQL Databases-new SQL Database-click on Server-Create new server-enter server name and credentials

 

1.PNG

Select Pricing Tier

1-2.PNG

Select tier

 

1-3.PNG

 

After database is created go to Connection String to see string for connecting to database

 

2.PNG

Connecting to the database

in DB settings click Query editor (preview)-Login

 

5.png

Enter credentials

 

6

Enter some T-SQL query and click Run

 

7.PNG

Firewall settings

On SQL database click Overview-Set server firewall

8.png

Add client IP-rule for allowing connection from Your local machine will be allowed to the SQL database

9.png

Configuring Geo-Replication

Active geo-replication enables configuring up to four readable secondary databases in the same or different data center locations (regions). Secondary databases are available for querying and for failover if there is a data center outage or the inability to connect to the primary database.On database settings click Geo-Replication, with blue check mark is selected current database region, click on any green circle where you want to create read-only database copy

10.PNG

 

Next windows will appear

11.PNG

 

SQLServer security settings

On SQL server settings click Advanced Threat Protection-Enable Advanced Threat Protection-click On-save

15.PNG

Click on storage details to configure Retentions

 

16.PNG

Click Threat Detection Type to select what you want to audit

 

17.PNG

Masking data

If you want to hide some database column, on database settings click Dynamic Data Masking

18.PNG

 

19.PNG

Creating Elastic Pool

It’s technique where you can place multiple Azure databases in to a pool where they all share resources. The pool is configured to over a maximum and minimum amount of computing resources. Microsoft has defined these available resources as a Database Throughput Unit, or DTU. In the case of elastic pools, they are defined as an Elastic Database Throughput Unit, or eDTU. DTUs and eDTUs are calculated essentially the same and are determined through a calculation of measured disk reads, disk writes, processor time and transaction log flushes.

Again, click on the SQL database

 

20.png

From overview click New Pool

 

21.png

 

22.PNG

 

23.PNG

Adding database to Pool

 

Once pools is created,click Configure

24

Click Database

 

25.PNG

select database

26.PNG

 

 

 

 

 

 

 

 

Advertisement
Comments
  1. Hvala Dragan!!
    Može tutorial kako SQL bazu backupirat na Azure?

    Liked by 1 person

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s