Skip to content

Update Azure PostgreSQL flexible server defaults#2391

Merged
davidfowl merged 1 commit intomicrosoft:mainfrom
eerhardt:MakePostgresCheaper
Feb 24, 2024
Merged

Update Azure PostgreSQL flexible server defaults#2391
davidfowl merged 1 commit intomicrosoft:mainfrom
eerhardt:MakePostgresCheaper

Conversation

@eerhardt
Copy link
Copy Markdown
Member

@eerhardt eerhardt commented Feb 24, 2024

Use the same defaults as the portal does for "Development" mode. This makes the default configuration cheaper for people who are developing/testing. It also uses the latest version (16) instead of 12 by default. Here's the current defaults in the portal:

image

Microsoft Reviewers: Open in CodeFlow

Use the same defaults as the portal does for "Development" mode. This makes the default configuration cheaper for people who are developing/testing. It also uses the latest version (16) instead of 12 by default.
@ghost ghost added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Feb 24, 2024
@eerhardt eerhardt added area-deployment and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Feb 24, 2024
Copy link
Copy Markdown
Member

@mitchdenny mitchdenny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@davidfowl davidfowl merged commit a93f85e into microsoft:main Feb 24, 2024
@eerhardt eerhardt deleted the MakePostgresCheaper branch February 24, 2024 04:03
param haMode string = 'Disabled'
param availabilityZone string = '1'
param version string = '12'
param version string = '16'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getting this error:

Deployment Error Details:
ParameterOutOfRange: The value of the 'Version' should be in: [13,14,15]. Verify that the specified parameter value is correct.

@vhvb1989
Copy link
Copy Markdown
Contributor

vhvb1989 commented Mar 5, 2024

The version might depend on the region...

@DamianEdwards
Copy link
Copy Markdown
Member

@vhvb1989 docs seem to indicate it should be available in all Azure regions: https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/concepts-supported-versions#postgresql-version-16

@eerhardt
Copy link
Copy Markdown
Member Author

eerhardt commented Mar 5, 2024

What region were you using?

@vhvb1989
Copy link
Copy Markdown
Contributor

vhvb1989 commented Mar 5, 2024

I tried eastus2 and australiaeast.
But, I guess my issue is that I had an already created Server using the previous version (15), from before this PR.
Now when I try to run azd up, it is trying to update the server... and it complains about the version and then about the disk size :)

UpsertServerManagementOperationDowngradeDiskSizeUnsupported: Requested data Disk size '32768' cannot be less than current size '131072'. Please make sure to request correct disk size. Refer to https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/concepts-compute-storage for more details.

Guess I need to delete the existing one and use a new one.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 21, 2024
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Mar 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants