What is the cost to download/transfer data from Azure SQL database to local? - azure

I am new to Azure SQL Server.
We have SQL Server database in Azure. We are stopping the Azure subscription as the web application that uses the Azure SQL database has been terminated.
We need to download/transfer the web application data from Azure SQL Server to our local storage.
Will it cost us to download/transfer/export the data present in Azure SQL Server database?

Yes, outbound data transfer costs but it is usually quite minimal.
Here is the pricing page: https://azure.microsoft.com/en-us/pricing/details/bandwidth/.
It'll depend slightly on your region, but the first 5 GB are free each month.

Related

"Turn off" an Azure App Service and Azure SQL Server to reduce cost

I have a client with a web app running in Azure App Services and a SQL Azure database that the web app uses.
This client will not be using these for the foreseeable future and would like to minimize costs. I know I can "turn off" the app service, but I'm not sure what impact that has on pricing. Also I'm not sure if there are similar options for the SQL Azure database.
Is there a way to reduce the costs for these services (hopefully to zero) without deleting them from the Azure subscription?
For Azure SQL Database (DTU-model) you can scale down the database service tier to Basic (if the database has less than 2 GB in size) which cost USD$5 a month or to S0 if the database has 256 GB or less) which cost USD$15 a month.
You can also export the Azure SQL Database (as bacpac) to an Azure Storage Account and then delete the database. If you need the database in the future, you just import the database from the storage account.
To spend less with App Service you can lower pricing tier for the App Service Plan and apply it as shown on the image below:

Azure SQL Database and SQL Server PAAS - why need both?

In Azure PAAS , When I create a SQL Database , it asks me to create a SQL Server why is this? Also as there are elastic pools why need a SQL Server?
Azure SQL Database and SQL Server PAAS - why need both?
Before answer this, let's see what is an Azure SQL logical server.For more information about Azure SQL logical server, please refer to this tutorial.
A logical server acts as a central administrative point for multiple single or pooled databases, logins, firewall rules, auditing rules, threat detection policies, and failover groups. A logical server can be in a different region than its resource group. The logical server must exist before you can create the Azure SQL database. All databases on a server are created within the same region as the logical server.
So the Azure SQL server is the dependency of the azure database. If you want to create an Azure sql database, an existing Azure SQL server is required. It is similar to a SQL Server instance that you may be familiar with in the on-premises world.

MS Azure PaaS Web App Service + Local Deployment

My application is running on Azure PaaS (BLOB Storage, Azure SQL, Web App)
One of my clients requires having the sql database and storage account to be on his premises.
What is the best topography you would recommend? is there a way to replicate the BLOB storage in real-time?
How can I assert high availability knowing that his SQL and his Storage are subject for failure?
Unfortunately there isn't a 1:1 on-premise equivalent of either Azure blobs or Azure web apps. Specifically for SQL DB, you can use SQL Server in it's place.
I hope this helps.
One of my clients requires having the sql database and storage account
to be on his premises.
SQL Database is easy. It is just replacing the connection string.
Storage is tricky. You might be able to modify local storage emulator, and allow access from outside, but I have never tried it.
Your application will be quite slow, since it has to access SQL and Storage from on-premise. My thought will be to host it on-premise where all resources are there.

AZURE SQL Database vs SQL Server

I have a "pay as you go" Azure subscription. I am trying to keep costs down.... Do I need the resource "SQL Server" when using the SQL database resource? As I read all the supporting documents SQL Server will be used on Azure VMs to extend on-premises SQL Server. I am not doing this, I am hosting a web application on the Cloud services (Classic) resource that is connecting to the Azure SQL database.
Thanks for the help!
Azure SQL Database gives you most of the functionalities of a "Standard" SQL Server database and is (in most cases) the choise with the lower costs.
It also provides you a set of additional functionalities (some of them needs to be enabled first or are part of the higher service tiers) like an out of the box 3-node failover cluster, geo-redundancy, automated backups, etc.
If you need additional SQL Server features like SQL Server Analysis Services, which are not part of Azure SQL DB or aren't provided as another Azure service, you need to create a Virtual Maschine with a real SQL Server installed.
The "SQL Server", which is hosting your Azure SQL DB, is just a wrapper and provides you only minimal features like user and role management or your firewall settings.
If your application is connecting only to Azure SQL database and using its features, you don't need SQL Server license. You just need to have the Azure subscription and pay for the SQL database(s) that you are using. However when you create an Azure SQL database, it will prompt you to create a "Server" resource which acts as a logical group for all of your SQL databases that you create within that "server". This server is NOT charged separately and just provides a logical grouping as well as a common connection point for your SQL databases. Your billing is always based on the SQL Database(s) that you create and use.
hope this helps.
Srini Acharya

Can I output to a VM running SQL Server from Azure Analytics job?

Generating output to a Azure SQL database is supported, but I was shocked when I found that the portal does not allow to specify a SQL Server database running on a VM. Is not this supported?
We need to store lots of data coming through the ASA jobs, and use SQL Jobs, that's why we were planning to use a SQL Server VM.
Thanks!
You cannot configure the SQL Database running on VM as an output to the ASA job.
However, Azure provides SQL services with 2 variants
Microsoft Azure SQL Database (Azure SQL Database) as PaaS
where lower stack is managed by Microsoft Azure and billed as pay-as-you-go model.
and
SQL Server in Azure Virtual Machine (VM) as IaaS where user owns the VM and make any changes, including licences for the SQL database.
the Microsoft Azure SQL Database provided as PaaS is configurable as
ASA output.
one idea might be to create and Event Hub output for the ASA and then consume it from there using any sort of application to write into an IaaS SQL DB. The application that consumes the data can also be hosted as a Web App as well.
Hope this helps.

Resources