Quantcast
Channel: Kubernetes Overview, News and Trends | The New Stack
Viewing all articles
Browse latest Browse all 243

Modern PostgreSQL Deployment: 3 Cloud Native Approaches You Should Know

$
0
0

PostgreSQL has solidified its position as one of the world’s most popular databases, currently ranking fourth, according to Statista. Its adoption is not just steady but accelerating, as found by the 2023 State of PostgreSQL Survey. Since its initial release in 1990, the methods for installing, deploying, and managing PostgreSQL have evolved.

In this article, I’ll explore three cloud native and open source approaches to deploying PostgreSQL.

Kubernetes Deployment with CloudNativePG

Deploying PostgreSQL on Kubernetes is the obvious choice in today’s cloud native landscape. Helm charts will make the deployment straightforward but will not cover day two operations for stateful workloads such as scaling, backups, failovers, and upgrades. This is where Kubernetes operators come into play.

CloudNativePG, an open source Kubernetes operator, is gaining significant traction due to its robustness and because it is vendor-neutral and owned by the community. Two years ago, the company behind the project, EDB, donated the IP to the community.

The operator stands shoulder to shoulder with other operators like Crunchy Data and Zalando but with a strong emphasis on simplicity and data safety. One of the standout features of CloudNativePG is its focus on data integrity and high availability. It supports synchronous replication and automated failover, ensuring that your data remains consistent and accessible even in the event of node failures. The project’s recent submission as a CNCF Sandbox project reflects its commitment to open source principles and collaborative development.

Self-Service with Cloud Foundry Marketplace for Korifi

The rise of platform engineering has amplified the demand for self-service capabilities, allowing developers to deploy and manage services without heavy reliance on operations teams. Cloud Foundry has long been a pioneer in providing a developer-centric PaaS experience.

Korifi delivers the same developer experience that Cloud Foundry is known for but leverages Kubernetes under the hood instead of virtual machines. Korifi abstracts the complexities of Kubernetes, providing a seamless interface that is well-known and familiar to developers.

One of its key historic features is the Cloud Foundry Marketplace, where platform operators and developers can deploy pre-built applications and services, including PostgreSQL, which is now available for Korifi. A simple cf create-service postgresql command is all that’s needed to deploy a PostgreSQL instance.

Separating Compute and Storage with Neon

Traditional PostgreSQL deployments couple compute and storage resources, which can lead to scalability and resource utilization challenges. Neon offers a serverless approach, separating storage and computing.

Positioned as a serverless alternative to AWS Aurora PostgreSQL, the standard storage layer is replaced with a distributed architecture that redistributes data across a cluster of nodes. This separation allows computing and storage to scale independently, optimizing performance and cost.

One of Neon’s most liked features is its instant cloning and branching of databases, similar to how Git handles code branches. This allows developer teams to create isolated database instances quickly and efficiently.

Conclusion

While this article is not meant to be an exhaustive list of modern ways to deploy PostgreSQL, the methods discussed reflect three significant trends.

The first is the shift of infrastructure towards cloud native principles. Running stateful workloads on Kubernetes was once considered impractical, but it has now become standard practice, requiring additional effort that Kubernetes Operators fulfill.

The second trend is the growing demand for self-service solutions aligned with platform engineering principles, allowing developers to provision and manage resources independently.

Lastly, companies are increasingly looking to move away from managed services — for reasons ranging from cost to compliance and security — and adopt open source or private SaaS solutions that offer the same level of features but allow them to completely control their data.

The post Modern PostgreSQL Deployment: 3 Cloud Native Approaches You Should Know appeared first on The New Stack.

Deploying PostgreSQL on Kubernetes is the obvious choice in today's cloud native landscape.

Viewing all articles
Browse latest Browse all 243

Trending Articles