Azure Database for PostgreSQL - Single Server Documentation
This section provides detailed documentation for Azure Database for PostgreSQL - Single Server, a managed relational database service that enables you to run, manage, and scale PostgreSQL databases in the cloud. Explore our guides on deployment, configuration, performance tuning, security, and more.
Key Areas
- Getting Started: Learn how to create your first PostgreSQL server, connect to it, and manage basic configurations.
- Deployment Options: Understand the differences between Single Server, Flexible Server, and Hyperscale (Citus) to choose the best fit for your application.
- Performance Tuning: Discover strategies and tools to optimize your PostgreSQL database for maximum performance and efficiency.
- High Availability and Disaster Recovery: Implement robust solutions to ensure your data is always available and protected.
- Security Best Practices: Secure your database with network security, authentication, encryption, and auditing features.
- Monitoring and Management: Utilize Azure Monitor and other tools to track performance, manage costs, and maintain your database.
API and CLI Reference
Azure CLI Commands
Manage your Azure Database for PostgreSQL resources using the Azure Command-Line Interface.
Examples:
az postgres server create --resource-group myresourcegroup --name mydemoserver --location eastus --admin-user myadmin --admin-password mypassword
az postgres server firewall-rule create --resource-group myresourcegroup --server mydemoserver --name allow_all --start-ip-address 0.0.0.0 --end-ip-address 255.255.255.255
View Full CLI Reference
REST API Endpoints
Interact with Azure Database for PostgreSQL programmatically using the REST API.
Common Operations:
- Servers - Create, Get, List, Update, Delete
- Firewall Rules - Create, Get, List, Delete
- Databases - Create, Get, List, Delete