Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: 2024-11-21a #6277

Merged
merged 21 commits into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
ee8262d
3.0.2 release update
djw-m Nov 11, 2024
5e40e57
MTK: added note on unquoted password for toolkit-properties
gvasquezvargas Nov 19, 2024
d6ea197
MTK: computed columns
gvasquezvargas Oct 21, 2024
217ef3c
Corrected use case example for virtual-to-regular flag.
gvasquezvargas Oct 22, 2024
ed2d399
Fixed headings
gvasquezvargas Oct 24, 2024
b25daf3
corrected example formatting
gvasquezvargas Oct 28, 2024
d87b0bd
MTK: updated support page to include 17 db versions
gvasquezvargas Nov 18, 2024
a5cf585
Removed 12 due to n-4 support
gvasquezvargas Nov 18, 2024
0fe7071
MTK 55.10 release notes
gvasquezvargas Nov 19, 2024
67c29aa
Implemented feedback from Matt and Zahid
gvasquezvargas Nov 20, 2024
65bec2e
Updated release date
gvasquezvargas Nov 20, 2024
676a027
Moved ssl bullet point in Cloud Service URL section up
gvasquezvargas Nov 20, 2024
b2f39a9
Merge pull request #6258 from EnterpriseDB/mtk/unquoted_pw
gvasquezvargas Nov 21, 2024
c3605de
Merge pull request #6225 from EnterpriseDB/docs/livecompare/release302
djw-m Nov 21, 2024
99999e1
Updated notes for EPAS re-release
gvasquezvargas Nov 21, 2024
b621ed7
Updated notes for PGE re-release
gvasquezvargas Nov 21, 2024
8a736c5
updated date in epas 16
gvasquezvargas Nov 21, 2024
c43b2b2
Merge pull request #6186 from EnterpriseDB/DOCS-1088-Tracking-55.10-work
gvasquezvargas Nov 21, 2024
568abe1
Merge pull request #6275 from EnterpriseDB/epas_pge_minor_rerelease
gvasquezvargas Nov 21, 2024
87205c6
upm link updates - use perma-urls
josh-heyer Nov 7, 2024
9b91dd5
Merge pull request #6222 from EnterpriseDB/docs/upm/purl-anchor-support
josh-heyer Nov 21, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ redirects:
- /purl/upm/cluster-settings-tab/
- /purl/upm/read-only-connections/
- /purl/upm/csp-auth/
- /purl/upm/csp-azure-ad-usermanagement/
- /purl/upm/csp-aws-ad-usermanagement/
- /purl/upm/create-a-cluster/
- /purl/upm/private-endpoints-info/
- /purl/upm/read-only-workloads/
Expand Down Expand Up @@ -173,7 +171,7 @@ The following options aren't available when creating your cluster:

When provisioning database storage, not all of the storage space you specify is available for holding your data. Some space is reserved for other purposes. For a full explanation of the structure of a Postgres data directory, see [Database File Layout](https://www.postgresql.org/docs/current/storage-file-layout.html). You can make more storage space available for data if you specify separate storage for write ahead logs (WAL).

8. In the **Network, Logs, & Telemetry** section:
8. In the **Network, Logs, & Telemetry** section: <PurlAnchor urlPath="/purl/upm/private-endpoints-info" />

In **Connectivity Type**, specify whether to use private or public networking. Networking is set to **Public** by default. Public means that any client can connect to your cluster’s public IP address over the internet. Optionally, you can limit traffic to your public cluster by specifying an IP allowlist, which allows access only to certain blocks of IP addresses. To limit access, select **Use allowlists** and add one or more classless inter-domain routing (CIDR) blocks. CIDR is a method for allocating IP addresses and IP routing to a whole network or subnet. If you have any CIDR block entries, access is limited to those IP addresses. If none are specified, all network traffic is allowed.

Expand Down Expand Up @@ -224,8 +222,12 @@ For more information, see [Periodic maintenance](/edb-postgres-ai/cloud-service/

### Connections

<PurlAnchor urlPath="/purl/upm/connections/" />

#### Read-only workloads

<PurlAnchor urlPath="/purl/upm/read-only-connections/" />

!!! Note

The **Read-only Workloads** option is not available on single node clusters.
Expand Down Expand Up @@ -259,6 +261,8 @@ Use the **PgBouncer Configuration Settings** menu to set PgBouncer-specific sett

#### Identity and Access Management (IAM) Authentication

<PurlAnchor urlPath="/purl/upm/csp-auth" />

Enable **Identity and Access Management (IAM) Authentication** to turn on the ability to log in to Postgres using your AWS IAM credentials. For this feature to take effect, after you create the cluster, you must add each user to a role that uses AWS IAM authentication in Postgres. For details, see [IAM authentication for Postgres](/edb-postgres-ai/cloud-service/using_cluster/postgres_access/database_authentication/#iam-authentication-for-postgres).

#### Superuser Access
Expand All @@ -267,6 +271,8 @@ Enable **Superuser Access** to grant superuser privileges to the edb_admin role.

### Security

<PurlAnchor urlPath="/purl/upm/tde-security/" />

Enable **Transparent Data Encryption (TDE)** to use your own encryption key. This option is available for EDB Postgres Advanced Server and EDB Postgres Extended Server for version 15 and later. Select an encryption key from your project and region to encrypt the cluster with TDE. To learn more about TDE support, see [Transparent Data Encryption](/edb-postgres-ai/cloud-service/security/security/#your-own-encryption-key---transparent-data-encryption-tde).

!!!Note "Important"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: Connecting your Azure cloud
navTitle: Azure
redirects:
- /purl/upm/azure-subscription/
- /biganimal/latest/getting_started/02_connecting_to_your_cloud/connecting_azure/ #generated for BigAnimal URL path removal branch
- /biganimal/latest/getting_started/02_azure_market_setup/
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
title: Connecting your cloud
description: How to connect your own cloud account to the Cloud Service
redirects:
- /purl/upm/azure-subscription/
- /purl/upm/connect-your-cloud-overview/
- /purl/upm/connect-your-cloud/
- /biganimal/latest/getting_started/02_connect_cloud_account/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ You can activate a region ahead of time using the Regions page.

## Suspend, reactivate, or delete a region

<PurlAnchor urlPath="/purl/upm/reactivate-a-region" />
<PurlAnchor urlPath="/purl/upm/suspend-a-region" />

Before you suspend or delete a region, you must delete all clusters in that region.

1. On the left panel, select **Regions**.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ indexCards: simple
description: When using Your Cloud Account, how to ensure its readiness to work with EDB Postgres AI.
redirects:
- /purl/upm/cloud-readiness/
- /purl/upm/azure-raise-resource-limits/
- /biganimal/latest/getting_started/01_check_resource_limits/
- /biganimal/latest/getting_started/preparing_cloud_account/ #generated for BigAnimal URL path removal branch
navigation:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: "Preparing your Azure account"
description: Prepare your Azure account to manage databases on EDB Postgres AI Cloud Service.
redirects:
- /purl/upm/azure-raise-resource-limits/
- /biganimal/latest/getting_started/01_preparing_azure/
- /biganimal/latest/getting_started/preparing_cloud_account/01_preparing_azure/ #generated for BigAnimal URL path removal branch
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ To determine the replication lag, you can compare the last log sequence number (

## Restores

<PurlAnchor urlPath="/purl/upm/restore-a-cluster" />

If a restore is necessary—for example, in case of an accidental `DROP TABLE` statement—you can restore clusters to any point in the backup retention period.

Cluster restores aren't performed in place on an existing cluster. Instead, a new cluster is created and initialized with data from the backup archive. Restores must replay the transaction logs between the most recent full database backup and the target restore point. Thus restore times (that is, RTO) depend on the write activity in the source cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ Not all database configuration parameters are supported by Cloud Service. Some p

## Using formulas for parameter values

<PurlAnchor urlPath="/purl/upm/pg-config-formulas-info" />

In addition to entering specific values for parameters, for some parameters you can specify formulas to calculate a value. You can use formulas for parameters of type integer and real in ternary formulas, such as the [shared buffer example](#examples), using the following operators: `+ - / * > >= < <= == != && || ! ? : ( )`. Use `?` and `:` . Use `( )` to specify [order of operations](#order-of-operations), if needed. GUCs used in formulas must also be of type integer or real. All arithmetic is done on 64-bit floating point values rounded to an integer result if the target GUC is of type integer and not real.

BigAnimal has what we refer to as *psuedo GUCs* to help with creating equations. These read-only GUCs are:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ In some cases, these updates might terminate existing network connections to you

## Specifying maintenance windows

<PurlAnchor urlPath="/purl/upm/maintenance-window" />

If you want to control when the updates are pushed, you can specify a weekly maintenance window for each cluster or each data group in the case of a distributed high-availability cluster. BigAnimal displays a *scheduled maintenance* message on your cluster list four hours prior to the scheduled maintenance time to remind you of the upcoming maintenance window. This reminder allows you to make any necessary preparations, such as saving your work and closing any open connections. For more information on specifying maintenance windows, see [Maintenance](/edb-postgres-ai/cloud-service/getting_started/creating_cluster/creating_a_cluster/#maintenance).

## Maintenance for high-availability clusters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ Cross-cloud service provider witness nodes are available with AWS, Azure, and Go

## Read-only workloads

<PurlAnchor urlPath="/purl/upm/pgd-read-only-workloads" />

When you enable the read-only workloads option during the cluster creation, a read-only connection string is created for the data group. You can use this connection to allow your application or service to route read-only requests through the shadow nodes (non-write leaders) to lighten the load on the write leaders and improve the distributed high-availability cluster's performance.

If you have more than one data group, you can choose whether to enable the read-only workloads option on a per-data-group basis.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ We support the major Postgres versions from the date they're made available unti

## End-of-life policy

<PurlAnchor urlPath="/purl/upm/end-of-life" />

Cloud Service deprecates support for Postgres versions following the same timeline as PostgreSQL. PostgreSQL, EDB Postgres Advanced Server, and EDB Postgres Extended Server follow the same timelines. We recommend that you take action and upgrade your Postgres databases running on the deprecated version to a later version as soon as possible.

Six months before the PostgreSQL deprecation date, Cloud Service doesn't allow you to create new instances with the deprecated database version.
Expand All @@ -30,6 +32,8 @@ The only exception is customers who purchased Extended Life Support (ELS) prior

## Key dates

<PurlAnchor urlPath="/purl/upm/db-version-key-dates" />

While PostgreSQL officially deprecated version 11 on November 9, 2023, Cloud Service deprecated PostgreSQL 11 on November 20, 2023 in alignment with the broader EDB portfolio.

On November 20, 2023, Cloud Service deprecated support for PostgreSQL 11 and EDB Postgres Advanced Server 11 using the following schedule. We recommend that you take action and upgrade your Postgres databases running on major version 11 to a later version, such as PostgreSQL version 15.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ navigation:
- connect_using_dbeaver
- connecting_from_a_client
redirects:
- /purl/upm/ssl-production-recommendation/
- /biganimal/latest/free_trial/detail/connect_to_a_cluster/ #generated for BigAnimal URL path removal branch
- /biganimal/latest/using_cluster/02_connecting_your_cluster/connecting_from_a_client/
---
Expand All @@ -28,6 +29,8 @@ You can connect to your cluster using the client of your choice including:

## Recommended settings for SSL mode

<PurlAnchor urlPath="/purl/upm/ssl-production-recommendation/" />

Different clients can have different default TLS/SSL modes (sslmode). For example, `psql` defaults to `prefer`, which means the client attempts to establish a TLS connection but falls back to non-TLS if the server doesn't support it. In the `psql` example provided by EDB in the **Quick Connect** field, `sslmode` is explicitly set to `require`, which means the client attempts a TLS connection and fails if the connection to the server can't be encrypted.

For public connections and in most environments, EDB recommends setting `sslmode` to `verify-full`. This setting ensures that you connect to the server you specified and that the connection is encrypted.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title: "Connecting to your cluster"
description: Connect to your cluster from your applications, client apps, and EDB's tools.
redirects:
- /purl/upm/connect-to-cluster/
- /purl/upm/ssl-production-recommendation/
- /biganimal/latest/using_cluster/02_connect_to_cluster/
- connecting_your_cluster
- /biganimal/latest/using_cluster/02_connecting_your_cluster/ #generated for BigAnimal URL path removal branch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ You can create faraway replicas in any active regions in your cloud. There's no

## Modify a replica

<PurlAnchor urlPath="/purl/upm/manage-faraway-replicas" />

1. Sign in to the [Console](https://portal.biganimal.com/).

2. Go to the [Clusters](https://portal.biganimal.com/clusters) page. A list of previously created clusters appears.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ redirects:

## Metrics

<PurlAnchor urlPath="/purl/upm/metrics-doc/" />

You can access metrics in a [Prometheus format](https://prometheus.io/docs/concepts/data_model/) if you request this feature from Cloud Service Support. You can retrieve the hostname and port for your clusters by using the Prometheus URL available on the **Monitoring and logging** tab on each cluster's detail page in the Console.

These [example metrics](example_metrics/) can help you get started.
Expand All @@ -31,6 +33,8 @@ For more information on some common monitoring services, see:

## Logs

<PurlAnchor urlPath="/purl/upm/logs-doc" />

You can view your logs in your cloud provider's blob storage solution if you request this feature from Cloud Service Support. You can retrieve the location of your object storage on the **Monitoring and logging** tab on your cluster's detail page in the Console.

The general pattern for getting logs from blob storage into the cloud provider's solution is to write a custom serverless function that watches the blob storage and uploads to the desired solution.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ description: Setting up the database authentication for the Postgres clusters.
redirects:
- /purl/upm/csp-auth-use/
- /purl/upm/iam-auth-postgres/
- /purl/upm/csp-aws-ad-usermanagement/
- /purl/upm/csp-azure-ad-usermanagement/
- /biganimal/latest/using_cluster/01_postgres_access/ #generated for BigAnimal URL path removal branch
---

Expand Down Expand Up @@ -75,6 +77,10 @@ If you use a single database to host multiple schemas, create a database owner a

## IAM authentication for Postgres

<PurlAnchor urlPath="/purl/upm/iam-auth-postgres/" />
<PurlAnchor urlPath="/purl/upm/csp-aws-ad-usermanagement" />
<PurlAnchor urlPath="/purl/upm/csp-azure-ad-usermanagement" />

Any user with a supported cloud account connected to a BigAnimal subscription who has the Postgres IAM role iam_aws, iam_azure, or iam_gcp can authenticate to the database using their IAM credentials.

### Configuring IAM for Postgres
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ Step-by-step instructions for setting up specific identity providers are availab

### Add a domain

<PurlAnchor urlPath="/purl/upm/domain-doc/" />

You need a verified domain so your users can have a streamlined login experience with their email address.

1. On the **Domains** tab, enter the domain name and select **Next: Verify Domain**.
Expand Down Expand Up @@ -160,6 +162,8 @@ You add users through your identity provider. A user who you add in the identity

### Add a tile

<PurlAnchor urlPath="/purl/upm/idp-tiles/" />

Once you establish the identity provider, you can create a EDB Postgres AI tile for users to access the organization's EDB Postgres AI application. To do so, copy the quick sign-in URL from the **Settings > Identity Provider** page of the EDB Postgres AI portal. For details on how to add a tile, refer to your identify provider documentation for instructions on setting up SSO access to your application.

## Next steps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ navigation:
- settings
- migrate
redirects:
- /purl/upm/project-manage/
- /biganimal/latest/administering_cluster/projects/
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: Managing project users
navTitle: Users
description: Add users to projects and assign roles to control access to projects
deepToC: true
redirects:
- /purl/upm/project-manage/
---

The **Users** page displays all the users in the organisation in a table. Each users full name, email, project roles, identity provider, and on the right hand side, a pen icon. Selecting the pen icon on a user allows you to assign or remove roles from that user.
Expand Down
54 changes: 48 additions & 6 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,26 @@ exports.onPostBuild = async ({ graphql, reporter, pathPrefix }) => {
//
// additional headers
//
await addHeaders(graphql, reporter, pathPrefix);

//
// redirects cleanup
//
await rewriteRedirects(pathPrefix, reporter);
};

/**
* Adds content type headers for raw files
* @param {function} graphql
* @param {GatsbyReporter} reporter
* @param {string} pathPrefix
*/
async function addHeaders(graphql, reporter, pathPrefix) {
const contentHeaderTimer = reporter.activityTimer(
"adding content type headers",
);
contentHeaderTimer.start();

const publicFileData = await graphql(`
query {
allPublicFile {
Expand Down Expand Up @@ -699,17 +719,38 @@ exports.onPostBuild = async ({ graphql, reporter, pathPrefix }) => {
"public/_headers",
(await readFile("public/_headers")) + "\n" + newHeaders.join("\n"),
);
contentHeaderTimer.end();
}

/**
* Rewrites generated headers:
* - fix up unnecessary path prefix for legacy redirects
* - add hash for perma-URLs
* @param {string} pathPrefix
* @param {GatsbyReporter} reporter
*/
async function rewriteRedirects(pathPrefix, reporter) {
const redirectTimer = reporter.activityTimer("rewriting redirects");
redirectTimer.start();

//
// redirects cleanup
//
const originalRedirects = await readFile("public/_redirects");

// rewrite legacy redirects to exclude the /docs prefix
// rewrite perma-URL redirects to include hash
const prefixRE = new RegExp(`^${pathPrefix}/edb-docs/`);
const purlRE = new RegExp(
`^/docs/purl/(?<product>[^/]+)/(?<component>[^/]+)/?\\s+(?<destination>\\S+)\\s+\\d+`,
);
let rewrittenRedirects = originalRedirects
.split("\n")
.map((line) => line.replace(prefixRE, "/edb-docs/"))
.map((line) =>
line.replace(
purlRE,
pathPrefix +
"/purl/$<product>/$<component>/ $<destination>#$<product>_$<component> 302",
),
)
.join("\n");

if (rewrittenRedirects.length === originalRedirects.length) {
Expand Down Expand Up @@ -764,17 +805,18 @@ exports.onPostBuild = async ({ graphql, reporter, pathPrefix }) => {
# Netlify pathPrefix path rewrite
${pathPrefix}/* /:splat 200`,
);
};
redirectTimer.end();
}

/**
* Strip compilation hashes from generated HTML
* this speeds up Netlify deploys, as (otherwise unchanged) files don't change every build
* there probably should be a faster / more elegant way to do this, possibly by overriding one of the
* default webpack configs... But I've had no luck doing so up to now.
* @param {*} reporter Gatsby reporter
* @param {GatsbyReporter} reporter Gatsby reporter
*/
async function removeCompilationHashes(reporter) {
const hashTimer = reporter.createProgress("Removing compilation hashes");
const hashTimer = reporter.createProgress("removing compilation hashes");
hashTimer.start();

const { globby } = await import("globby");
Expand Down
Loading
Loading