Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions products/managed-postgres/scaling.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ Different workloads benefit from different resource configurations:
| **Memory optimized** (large working set) | Medium | High | Medium | Memory-optimized (high memory-to-CPU ratio) |
| **Storage optimized** (large datasets, heavy I/O) | Medium | Medium | High | Storage-optimized (high NVMe capacity) |

<Tip>
For safety reasons, you may not be able to switch to instance types whose storage is close to your current used storage capacity. Always opt for instance types with headroom over your current used capacity to avoid any issues.
</Tip>

## How scaling works {#how-scaling-works}

When you change instance types, Managed Postgres performs a vertical scaling operation that provisions new infrastructure and migrates your database with minimal downtime.
Expand Down
7 changes: 6 additions & 1 deletion products/managed-postgres/security.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ IP filters control which source IP addresses are permitted to connect to your Ma

### Configuring IP filters {#configuring-ip-filters}

For detailed information on configuring IP filters, see the [Settings](/products/managed-postgres/settings#ip-filters) page.
To configure IP filters:

1. Navigate to the **Settings** tab
2. Under **IP Filters**, click **Edit**
3. Add IP addresses or CIDR ranges that should be allowed to connect
4. Click **Save** to apply the changes

You can specify:
- Individual IP addresses (e.g., `203.0.113.5`)
Expand Down
36 changes: 8 additions & 28 deletions products/managed-postgres/settings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: /cloud/managed-postgres/settings
sidebarTitle: 'Settings'
title: 'Settings'
description: 'Configure PostgreSQL and PgBouncer parameters and manage instance settings for Managed Postgres'
keywords: ['postgres configuration', 'postgresql settings', 'pgbouncer', 'ip filters']
keywords: ['postgres configuration', 'postgresql settings', 'pgbouncer']
doc_type: 'guide'
---

Expand All @@ -14,14 +14,6 @@ import { Image } from "/snippets/components/Image.jsx";

You can modify configuration parameters and manage instance settings for your Managed Postgres instance through the **Settings** tab in the sidebar.

## Changing configuration parameters {#changing-configuration}

<Image img="/images/managed-postgres/postgres-parameters.png" alt="Postgres parameters configuration" size="md" border/>

To modify a parameter, select the **Edit parameters** button. Select the parameters you need to modify and change their values accordingly. Once you're satisfied with your changes, press the **Save Changes** button.

All changes made to the configuration parameters are typically persisted to the instance within one minute. Some parameters require a database restart to take effect. These changes will be applied after the next restart, which you can trigger manually from the **Service actions** toolbar.

## Service actions and scaling {#service-actions}

<Image img="/images/managed-postgres/service-actions.png" alt="Service actions and scaling" size="md" border/>
Expand All @@ -32,27 +24,15 @@ The **Service actions** toolbar provides controls for managing your Managed Post
- **Restart**: Restart the database instance (only when the instance is `Running`)
- **Delete**: Delete the instance

The **Scaling** section allows you to change the instance types of your primary and standbys to increase or decrease computing resources and storage capacity. Behind the scenes, new instances will be provisioned and then take over after they've caught up with the current primary. The failover process will interrupt all current connections and lead to brief downtime.
The **Scaling** section allows you to change the instance types of your primary and standbys to increase or decrease computing resources and storage capacity.
See [scaling page](/products/managed-postgres/scaling) for more details.

<Tip>
For safety reasons, you may not be able to switch to instance types whose storage is close to your current used storage capacity. Always opt for instance types with headroom over your current used capacity to avoid any issues.
</Tip>

## IP filters {#ip-filters}

IP filters control which source IP addresses are permitted to connect to your Managed Postgres instance.

<Image img="/images/managed-postgres/ip-filters.png" alt="IP Access List configuration" size="md" border/>
## Changing configuration parameters {#changing-configuration}

To configure IP filters:
<Image img="/images/managed-postgres/postgres-parameters.png" alt="Postgres parameters configuration" size="md" border/>

1. Navigate to the **Settings** tab
2. Under **IP Filters**, click **Edit**
3. Add IP addresses or CIDR ranges that should be allowed to connect
4. Click **Save** to apply the changes
To modify a parameter, select the **Edit parameters** button. Select the parameters you need to modify and change their values accordingly. Once you're satisfied with your changes, press the **Save Changes** button.

You can specify individual IP addresses or use CIDR notation for IP ranges (e.g., `192.168.1.0/24`). You can also select **Anywhere** or **Nowhere** as a shortcut for fully opening or closing the instance to the world.
All changes made to the configuration parameters are typically persisted to the instance within one minute. Some parameters require a database restart to take effect. These changes will be applied after the next restart, which you can trigger manually from the **Service actions** toolbar.

<Note>
If no IP filters are configured, connections from all IP addresses are permitted. For production workloads, we recommend restricting access to known IP addresses.
</Note>
Refer to the official [documentation](https://www.postgresql.org/docs/current/runtime-config.html) on the configuration parameters. The list of parameters available to set will be extended soon. In the meantime, contact [support](https://clickhouse.com/support/program) to request a parameter not currently supported.