---
title: "Neon Autoscaling is Generally Available"
description: "Neon's Postgres autoscaling is now generally available on all plans, including Free (up to 2 CPU, 8 GB RAM), adjusting CPU and memory to load between user-set minimum and maximum limits, with scale-to-zero."
url: "https://swe.quest/articles/neon-autoscaling-is-generally-available-f402e1eef903aa23"
canonical: "https://neon.com/blog/neon-autoscaling-is-generally-available"
source: "Neon"
published: "2024-08-26"
difficulty: "easy"
kind: "Announcement"
reading_minutes: 6
tags: ["postgres","serverless","capacity-planning","kubernetes","virtualization"]
---

# Neon Autoscaling is Generally Available

A post on [Neon](https://swe.quest/sources/neon.md), published 2024-08-26, 6 min read, Announcement. Original: [https://neon.com/blog/neon-autoscaling-is-generally-available](https://neon.com/blog/neon-autoscaling-is-generally-available)

## Summary

Neon's Postgres autoscaling is now generally available on all plans, including Free (up to 2 CPU, 8 GB RAM), adjusting CPU and memory to load between user-set minimum and maximum limits, with scale-to-zero. Each Postgres instance runs in its own VM managed inside Kubernetes by NeonVM, which supports live migration. A per-node autoscaler-agent checks metrics every 5 seconds, and a modified scheduler must pre-approve every upscale. Memory scaling moved from unstable cgroup memory.high signals to polling every 100ms, with swap added for bursty allocations. A resizable local file cache extends shared buffers and feeds scaling decisions. The recommended setup is a high limit with scale-to-zero disabled for production, and a low limit with scale-to-zero enabled for dev branches.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [Serverless](https://swe.quest/tags/serverless.md) (Backend & APIs)
- [Capacity planning](https://swe.quest/tags/capacity-planning.md) (Reliability & operations)
- [Kubernetes](https://swe.quest/tags/kubernetes.md) (Infrastructure)
- [Virtualization](https://swe.quest/tags/virtualization.md) (Infrastructure)

## Prerequisites

- PostgreSQL basics ([easy posts on PostgreSQL](https://swe.quest/tags/postgres.md?difficulty=easy))
- Kubernetes basics ([easy posts on Kubernetes](https://swe.quest/tags/kubernetes.md?difficulty=easy))

## Keywords

Neon, NeonVM, autoscaler-agent, Kubernetes, cgroups, Local File Cache

## Related posts

- [Scaling serverless Postgres: How we implement autoscaling](https://swe.quest/articles/scaling-serverless-postgres-how-we-implement-autoscaling-6cecd10b4a114371.md): Neon · 2023-03-29 · Medium · 9 min read · PostgreSQL, Serverless, Kubernetes, Virtualization, Capacity planning
  Neon autoscales serverless Postgres by running each compute endpoint in a QEMU/KVM VM on Kubernetes (via its NeonVM controller) and hot-adding or removing CPU and memory based on load average.
- [1 Year of Autoscaling Postgres: How it’s going, and what’s next](https://swe.quest/articles/1-year-of-autoscaling-postgres-how-it-s-going-and-what-s-next-a75ce75d92118903.md): Neon · 2024-04-15 · Hard · 8 min read · PostgreSQL, Virtualization, Capacity planning, Memory management, Kubernetes
  Neon autoscales Postgres by running each instance as a VM in Kubernetes (NeonVM), with a per-node autoscaler-agent, a modified scheduler, and an in-VM vm-monitor that resizes the Local File Cache.
- [Autoscaling Lakebase Postgres](https://swe.quest/articles/autoscaling-lakebase-postgres-63257ef0753db067.md): Neon · 2026-08-31 · Hard · 12 min read · PostgreSQL, Capacity planning, Virtualization, Algorithms, Kubernetes
  Neon's Lakebase Postgres resizes compute in place about once every 81 seconds by taking the maximum of three target sizes: CPU load (one-minute average kept under 90%), memory (polled every 100 ms by an in-VM monitor and kept under 75%), and the working set of the compute cache.
- [How to reduce Postgres compute costs as you scale](https://swe.quest/articles/how-to-reduce-postgres-compute-costs-as-you-scale-00db750fe1e313ab.md): Neon · 2024-04-29 · Medium · 12 min read · PostgreSQL, Cost optimization, Capacity planning, Cloud platforms, Serverless
  Compute, not storage, usually dominates managed Postgres bills, and allocation-based services like Amazon RDS leave most provisioned capacity idle.
- [RAG With Autoscaling: Better Performance With Lower Costs For pgvector](https://swe.quest/articles/rag-with-autoscaling-better-performance-with-lower-costs-for-pgvector-52ce2e1857682b4f.md): Neon · 2024-08-27 · Medium · 4 min read · Vector search, PostgreSQL, Capacity planning, RAG & retrieval, Cost optimization
  Neon's autoscaling lets a Postgres instance scale up temporarily for the heavy memory and CPU demands of pgvector HNSW index builds, then scale back down, instead of being permanently overprovisioned.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
