2. Create Shared Infrastructure
Create the ar-shared-infrastructure Resource Group
az group create --location eastus --resource-group ar-shared-infrastructure
Create the avocarisk Container Registry
az acr create \
--name avocarisk \
--resource-group ar-shared-infrastructure \
--sku Premium
Create the avocarisktfstorage Storage Account
az storage account create \
--name avocarisktfstorage \
--resource-group ar-shared-infrastructure \
--allow-blob-public-access false \
--min-tls-version TLS1_2
Create the ar-sonar-psql-db PostgreSQL Database
Create a strong, randomly generated password. Use that password to create a new Azure Database for PostgreSQL single server, using the command below, by replaceing <password> with the value you generated:
az postgres server create \
--name ar-sonar-psql-db \
--resource-group ar-shared-infrastructure \
--location "eastus" \
--admin-user pgadmin \
--admin-password <password> \
--sku-name "B_Gen5_2"