MalcolmChalmers.com

Linux Tips and Tricks

HOME

Create Postgres Database or Server

========== CREATE A Postgres Database/Servers ===============

# create a resource group
az group create --name rg-postgres --location centralindia                                                                                                     

# create a database / server, using a template and parameters files (created via the web console and saved to disk)
az deployment group create --resource-group rg-postgres --template-file .\template.json --parameters parameters.json                                           

# remove the rg-postgres resource group and everything in it
az group delete --name rg-postgres --yes

HOME