Reader small image

You're reading from  Learning Microsoft Azure Storage

Product typeBook
Published inNov 2017
PublisherPackt
ISBN-139781785884917
Edition1st Edition
Tools
Right arrow

Automating the tasks

As usual, at the end of each chapter, we get our hands dirty with automation.

Creating an elastic database pool using PowerShell

To create an elastic database pool, you must have an Azure SQL Server. You can use the one created in the previous chapter using PowerShell or create a new one yourself.

Then, you can run the following cmdlet to build an elastic database pool:

New-AzureRmSqlElasticPool -ResourceGroupName PacktPub -ServerName "packtpubsqlps" -ElasticPoolName "EDPPS" -Dtu 400 -DatabaseDtuMin 10 -DatabaseDtuMax 100

Where:

  • -Dtu is the maximum number of eDTUs in the pool
  • -DatabaseDtuMin is the minimum number of eDTUs assigned to a database
  • -DatabaseDtuMax is the maximum number...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Learning Microsoft Azure Storage
Published in: Nov 2017Publisher: PacktISBN-13: 9781785884917