Amazon Redshift Serverless: Data Analysis

Introduction

Data warehouses have always been built around a rather uncomfortable compromise. You size the cluster for the busiest hour of the busiest day, and then you pay for that capacity every single hour of the year, including the night, the weekend, and the two weeks in August when the whole BI team is on vacation. With on-premises appliances, this was simply the price of doing analytics; with the Cloud, it slowly stopped looking like an inevitability and started to look like a bug.

Anyone who has managed a provisioned Amazon Redshift cluster knows the symptoms well: the cluster sized for the month-end reporting peak that sits half idle for the other three weeks, the nightly ETL batch fighting for the same nodes that the morning dashboards need, and the classic "we need a resize" conversation every time the business asks for a new data mart.

Amazon Redshift Serverless was designed precisely to remove this class of problems. There is no cluster to size and no node type to choose: you define a starting capacity, send your queries, and pay per second only for the time the warehouse is actually doing something.

In this article, we will look at how Redshift Serverless works under the hood, when it makes sense compared to a provisioned cluster, how to keep costs predictable, and how to work with it day by day, including querying and scheduling directly from the AWS console. As usual, we will also share some of the lessons we learned along the way on real projects.

What Redshift Serverless actually is

The first thing to understand about Redshift Serverless is that the familiar concept of "cluster" is gone, and it has been replaced by two separate objects: the namespace and the workgroup.The namespace is the container for your data: databases, schemas, tables, users, encryption keys, snapshots, and recovery points. It is the persistent part of the system, which stays in place even when no compute is running. The workgroup, on the other hand, is the container for compute: capacity, network configuration, security groups, endpoints, and usage limits. It is the ephemeral part, the one that wakes up when a query arrives and goes back to sleep when there is nothing left to do.The interesting consequence is that a single namespace can be served by more than one workgroup. This means that, for example, the nightly ETL batch and the interactive BI workload can run on two different workgroups with different capacity and different budgets, while working on the same data with no need to copy it.Compute capacity is measured in Redshift Processing Units (RPUs). Each RPU provides 16 GB of memory, and the base capacity of a workgroup can be set anywhere from 4 to 1024 RPUs. Storage lives in Redshift Managed Storage (RMS), the same storage layer used by provisioned RG and RA3 nodes: hot data sits on high-performance local SSDs, while colder data is automatically offloaded to Amazon S3, and you pay the same rate per GB in both cases.Putting it all together, the picture looks like this: storage grows on its own, compute is switched on only when needed, and the two dimensions are finally free from each other.

 Redshift Serverless architecture: two workgroups on one namespace

The two workgroups have their own endpoints, capacity, and spending limits, but they read and write the same namespace: no copies, and nothing to keep in sync.

Serverless or provisioned?

This is usually the first question customers ask us, and the honest answer is that it depends much more on the shape of your workload than on its size. A 100 TB warehouse queried for two hours a day is a perfect fit for Serverless, while a 2 TB warehouse hammered by dashboards 24/7 is very likely not.

The metric we find most useful is a simple one: how many hours per day is the warehouse really running queries? Below roughly 30-40% of the day, Serverless almost always wins, because idle time is simply not billed. When utilization gets above 70% with a steady and predictable load, provisioned nodes with Reserved Instances are still the cheaper option. In between, it is worth doing the math with real numbers.

It is also worth clearing up a common misunderstanding: Serverless is not the "dev account version" of Redshift, nor an automatic way to save money. It is a different operating model, perfectly suited to production, but on a flat, always-on workload it can actually cost more.

In our experience, by far the most common case is a large data warehouse with a very low baseline: a few occasional spikes during the day, for example while dashboards are being developed or refreshed, plus some infrequent but very heavy scheduled jobs. Put together, the warehouse is under real load well below 20% of the time, and this is exactly where Serverless pays off the most: the heavy jobs get all the capacity they need when they run, and the rest of the time the bill drops to almost nothing. Beyond this pattern, Serverless also shines in a few other recurring scenarios:

  • Development and test environments, which are active when somebody is working on them, not when somebody forgets to turn them off.
  • Departmental data marts, where each team gets its own workgroup, with its own capacity and budget, on top of a shared namespace.
  • Proofs of concept and migrations, where you want to start without guessing the final sizing.
  • Seasonal workloads such as month-end reporting, marketing campaigns, or fiscal year closings.

Provisioned clusters, on the other hand, still make sense for always-on warehouses with high and constant concurrency, for teams that need fine-grained control over workload management queues, or simply when you already have Reserved Instances running.

On paper, switching between provisioned and Serverless is easy: you take a snapshot of the provisioned cluster and restore it into a serverless namespace, and the only automatic transformation is that interleaved sort keys are converted to compound sort keys. On a big enterprise warehouse, though, the restore is the easy part. You need to agree on a cutover window and explain the downtime to the business, point every client, BI tool, and pipeline to the new endpoint, re-run regression and performance tests, and double-check permissions and workload behavior under the new scaling model. It is perfectly doable, but it is a project in its own right, so it is much better to make the right choice at the start than to plan on switching later.

How much does it cost?

Compute is billed in RPU-hours, charged per second with a 60-second minimum each time the warehouse becomes active. Startup time is not billed, and when no queries are running the workgroup scales down and the meter simply stops. The rate depends on the region: in Europe (Ireland) it is $0.387 per RPU-hour. This means that at the minimum base capacity of 4 RPUs you start at roughly $1.55 per hour of activity.

A nice detail is that several things that are billed separately on provisioned clusters are already included here: automatic scaling, Concurrency Scaling, security features, and queries on external data in Amazon S3 are all part of the RPU-hour price. Storage, instead, is billed separately on RMS at the same rates as provisioned clusters ($0.024 per GB-month in Ireland, $0.0256 in Frankfurt), while recovery points, which are created automatically every 30 minutes, are free as long as they are less than 24 hours old.

If part of your workload is predictable, you can also commit to it with Serverless Reservations. They are managed at the payer account level, can be shared across accounts, and bring the compute cost down by up to 24% on a one-year term and up to 45% on a three-year term, while anything above the reserved capacity is simply billed on demand. It is a good way to narrow the gap with provisioned Reserved Instances without giving up the flexibility of the serverless model.

The three knobs that matter

To control both performance and spending, Redshift Serverless gives you three settings, and it is worth understanding each of them well before going to production.

The base capacity is the amount of RPUs the workgroup uses to start serving queries. Raising it improves performance, but it also raises the floor of your bill whenever the workgroup is active. As an alternative to setting it manually, you can define a price-performance target and let Redshift's AI-driven scaling adjust resources automatically, learning from the patterns of your workload throughout the day.

The maximum capacity (MaxRPU) is the ceiling for automatic scaling: once it is reached, the workgroup stops adding resources. It protects your budget, but on highly concurrent workloads you pay for it in throughput.

Finally, usage limits are expressed in RPU-hours over a daily, weekly, or monthly period, and they can trigger automatic actions when they are reached. They are the safety net that prevents you from discovering a problem when the monthly invoice arrives.

A worked example

The dashboarding example published by AWS on the pricing page gives a good feeling of how the model works. The workgroup has a base capacity of 64 RPUs, scales up during the morning and early afternoon peaks, and sees no activity at all between 10 PM and 5 AM. Over the whole day, it consumes 1,344 RPU-hours, for a total of $504 at N. Virginia prices; the same day would cost about $520 in Ireland and about $606 in Frankfurt.

Hourly capacity over one day in the AWS dashboarding example

The interesting part is not the total but its shape: the hours without queries simply do not appear on the bill, and that is exactly where the serverless model pays off compared to a cluster that would have been billed around the clock.

Provisioned vs Serverless, with and without reservations

To put the options side by side, let's take a small cluster of two rg.4xlarge nodes (256 GiB of memory) and its Serverless counterpart of 16 RPUs, using AWS's rule of thumb of 16 GiB per RPU. We compare three workload profiles: a spiky one with no steady baseline that peaks at 16 RPUs for 10% of the time; one with an always-on baseline of 4 RPUs plus peaks at 16 RPUs for 25% of the time; and a warehouse busy at 16 RPUs around the clock. On Serverless, reservations cover only the steady baseline and everything above it is billed on demand. Figures are monthly compute costs in Europe (Ireland); storage is the same for every option and is left out.

OptionSpiky, no baseline4 RPU baseline + peaks 25%16 RPU 24/7
Provisioned, on-demand$4,914, whatever the usage
Provisioned, 1-year reserved (no upfront)$3,440, whatever the usage
Provisioned, 3-year reserved (all upfront)$1,843, whatever the usage
Serverless, on-demand$452$1,978$4,520
Serverless, 1-year reservation of the baselinenothing to reserve$1,706$3,435
Serverless, 3-year reservation of the baselinenothing to reserve$1,469$2,486

For the spiky, low-baseline workloads we see most often, Serverless costs a fraction of any provisioned option, and there is simply nothing worth reserving. When there is a steady baseline, reserving it brings the Serverless bill down by roughly 14-26%, while peaks stay on demand. Only for a warehouse that is genuinely busy all day does a 3-year provisioned reservation remain the cheapest choice.

The column worth a second look is the 4 RPU baseline + peaks at 16 RPUs for 25% of the time. This is already a demanding profile: a warehouse that is never idle, plus a full-size spike for about six hours every day, and most of the workloads we see stay well below it. Even here, plain on-demand Serverless, with no commitment at all, costs $1,978 a month: less than half of provisioned on-demand, over $1,400 less than a 1-year reserved cluster, and on par with a 3-year, all-upfront reservation.

A couple of caveats: the Serverless reservation rows assume the maximum discounts AWS advertises (24% and 45%), and a real workgroup may scale above 16 RPUs during peaks, so treat these figures as an order of magnitude rather than a quote. On-demand and reserved prices are from the AWS price list as of November 2026.

There are a few mistakes we see quite often on new Serverless projects:

  • Setting the base capacity too high "just to be safe". Every RPU of base capacity is ready, and billed, whenever the workgroup is active. Start low and increase it only when the numbers tell you to.
  • Forgetting usage limits. A badly written query on an unpartitioned table can scale up to MaxRPU and stay there for a long time.
  • Ignoring data transfer. Cross-region data sharing and snapshot copies are billed separately at standard AWS transfer rates.

Setting things up

From the console, the default settings create a namespace and a workgroup in a few minutes. That is perfectly fine for a demo, but for an environment that is meant to live, we strongly suggest starting with infrastructure as code from day one.

Before writing any template, though, check your VPC: Redshift Serverless needs three subnets in three different Availability Zones and at least three free IP addresses. If the creation of a workgroup fails, nine times out of ten this is the reason.

A minimal CloudFormation setup with a namespace and a workgroup looks like this:

Resources:
  AnalyticsNamespace:
    Type: AWS::RedshiftServerless::Namespace
    Properties:
      NamespaceName: analytics-prod
      DbName: warehouse
      AdminUsername: !Sub '{{resolve:secretsmanager:${AdminSecret}:SecretString:username}}'
      AdminUserPassword: !Sub '{{resolve:secretsmanager:${AdminSecret}:SecretString:password}}'
      IamRoles:
        - !GetAtt RedshiftServerlessRole.Arn
      DefaultIamRoleArn: !GetAtt RedshiftServerlessRole.Arn
      KmsKeyId: !Ref WarehouseKey
      LogExports:
        - userlog
        - connectionlog
        - useractivitylog
 
  BiWorkgroup:
    Type: AWS::RedshiftServerless::Workgroup
    Properties:
      WorkgroupName: bi-wg
      NamespaceName: !Ref AnalyticsNamespace
      BaseCapacity: 16
      MaxCapacity: 64
      PubliclyAccessible: false
      EnhancedVpcRouting: true
      SubnetIds: !Ref PrivateSubnetIds
      SecurityGroupIds:

A few parameters deserve some attention. BaseCapacity and MaxCapacity are the knobs we discussed above, so start conservatively. PubliclyAccessible: false should be the rule rather than the exception. EnhancedVpcRouting: true forces traffic to Amazon S3 to stay inside the VPC, which is a prerequisite if you want to apply VPC endpoint policies to your buckets. Finally, choosing a customer-managed KMS key and enabling LogExports at creation time will save you some painful work later on.

Now, if you remember the namespace/workgroup split, you can probably guess where this is going. Adding a second workgroup on the same namespace takes just a few more lines, and it is the pattern we recommend most often:

  EtlWorkgroup:
    Type: AWS::RedshiftServerless::Workgroup
    Properties:
      WorkgroupName: etl-wg
      NamespaceName: !Ref AnalyticsNamespace
      BaseCapacity: 8
      MaxCapacity: 128
      SubnetIds: !Ref PrivateSubnetIds
      SecurityGroupIds:
        - !Ref RedshiftSecurityGroup

The two workgroups have different endpoints, so you can hand them to different users and pipelines and tag them separately for cost allocation, while the namespace, and therefore the data and its permissions, stays exactly the same.

Getting data in

The options are the same as on provisioned clusters; what changes on Serverless is how they are billed, and that shifts which one makes more sense.

COPY from S3 is still the way to go for bulk loads, but on Serverless the file format shows up directly on the invoice. One huge gzipped CSV cannot be split and is loaded by a few slices while the rest of the capacity waits; many reasonably sized Parquet files load in parallel and read faster. Same data, fewer RPU-seconds.

Zero-ETL integrations from Aurora, RDS, DynamoDB, and others have no fee of their own: you pay for the storage of the replicated data and for the RPUs spent processing the changes.

Redshift Spectrum is where Serverless really changes the picture: queries on external data in S3 are included in the RPU-hours, with no separate charge per scanned byte. Our usual pattern is to keep the last twelve to eighteen months in native tables and the long tail of history in partitioned Parquet on S3, with a view joining the two.

Data sharing lets a namespace expose read-only datasets to other namespaces, even in other accounts, without copies. It is the cleanest way to give a team its own workgroup and budget on top of the same production data.

Querying and scheduling from the console

For day-to-day work, the quickest entry point is Query Editor v2, the SQL workbench built into the Redshift console (Editor → Query editor v2). With Serverless it is particularly handy: it needs no driver and no network path to the workgroup, and it can authenticate with your IAM identity, generating temporary database credentials on the fly. Notebooks, quick charts, and CSV or JSON exports cover most ad hoc analysis without even opening a BI tool.

The editor is also the quickest way to schedule SQL: write it, click on Schedule, and fill in the form. Under the hood, the query is started by Amazon EventBridge and runs through the Redshift Data API, so there is nothing to host or maintain.

What happens when Query Editor v2 runs a scheduled query

Once saved, the schedule appears in the Scheduled queries view, where you can activate or deactivate it, edit it, delete it, and look at its run history. Be aware of two quirks here: the schedule history only keeps runs for 24 hours, and scheduled runs do not show up in the regular query history of the editor. If you need a longer audit trail, look at SYS_QUERY_HISTORY in the database or, better, enable the SNS notifications.

On the permissions side, the role used by the schedule must be attached to the namespace and trusted by EventBridge. Note also that the AmazonRedshiftDataFullAccess managed policy only allows redshift-serverless:GetCredentials on workgroups tagged with the key RedshiftDataFullAccess. If your scheduled query fails with an authorization error even though everything looks right, check the tags on the workgroup first. For production environments, we suggest writing a custom least-privilege policy scoped to the specific workgroup instead of relying on the full-access managed ones.

Schedules created in the editor are perfect for a handful of maintenance jobs, but they are made by hand in the console. When scheduled SQL becomes part of your platform, the same Data API call can be defined as code with Amazon EventBridge Scheduler, or orchestrated with AWS Step Functions when the job has several steps, dependencies, or retries.

Finally, before scheduling anything, ask yourself whether you need a schedule at all. If the goal is just keeping an aggregate up to date, a materialized view with automatic refresh (more on this in the next section) is often simpler and cheaper.

There is one thing to keep in mind with scheduled queries on Serverless: every run wakes up the workgroup, and every activation is billed for at least 60 seconds. A tiny query scheduled every five minutes therefore keeps the warehouse busy for a good part of the day.

Materialized views

Materialized views are probably the optimization with the best effort-to-benefit ratio. They precompute expensive aggregations and, with automatic refresh enabled, Redshift takes care of keeping them up to date when the underlying tables change:

CREATE MATERIALIZED VIEW mv_monthly_sales
AUTO REFRESH YES
AS
SELECT region_id,
       DATE_TRUNC('month', order_date) AS month,
       SUM(amount) AS total,
       COUNT(*) AS orders
FROM sales
GROUP BY 1, 2;

On Serverless, the benefit is twofold: a dashboard reading from a materialized view, instead of recomputing the same aggregation every time someone opens it, consumes fewer RPU-seconds and scales less. Less compute means, quite literally, a smaller bill.

Performance: what is still in your hands

Serverless takes node sizing off your plate, but it does not take away the responsibility for the data model. If anything, it makes it more visible: an inefficient query is no longer just slow, it consumes RPUs, and you will see it on the invoice.

Let the scaling learn, then adjust

Redshift Serverless scales capacity between the base and the MaxRPU depending on query complexity and concurrency, and with AI-driven scaling you can even let it pursue a price-performance target on its own. Our suggestion is to resist the temptation of sizing everything upfront: start with a low base, observe response times and actual consumption for a week or two, and only then raise the base or switch to a price-performance target. Guessing the sizing in advance is precisely the habit Serverless should help you lose.

The data model still matters

The classic Redshift best practices are as valid as ever:

  • Distribution keys: DISTSTYLE KEY on the join column for large fact tables, ALL for small dimensions, AUTO when you do not have enough information to decide. A join that redistributes tens of millions of rows is the fastest way to burn RPUs.
  • Sort keys: on the columns used in filters, usually dates, so that Redshift can skip entire blocks while reading.
  • Compression: run ANALYZE COMPRESSION on tables loaded without explicit encodings, since fewer bytes read means less compute time.
  • Statistics: run ANALYZE after bulk loads, because the query planner relies on them.

Security and networking: what changes

The usual Redshift security model (IAM, KMS encryption, Lake Formation, data sharing permissions) works exactly as on provisioned clusters. The differences on Serverless are few, but worth knowing:

  • Network settings live on the workgroup, not on a cluster: subnets, security groups, public accessibility, and Enhanced VPC Routing are configured per workgroup, so two workgroups on the same namespace can sit in different subnets with different rules.
  • Cross-account access goes through Redshift-managed VPC endpoints that you authorize on the workgroup, so consumers in other accounts can connect without anything exposed on the Internet.
  • Temporary credentials are requested per workgroup with redshift-serverless:GetCredentials, which is what makes IAM-based access from Query Editor v2, the Data API, and scheduled queries so straightforward, and also what you scope in least-privilege policies.
  • Audit logs (connection, user, and user activity) are exported to CloudWatch Logs and must be enabled explicitly with LogExports, as in the template above.

Monitoring usage and keeping costs under control

In a pay-per-use model, observability is not a nice-to-have: it is the only way to know whether your sizing holds up and whether money is going where it should.

CloudWatch metrics for the workgroup tell the most important part of the story, that is, the capacity actually allocated over time compared to the configured base. An alarm on daily RPU-hour consumption takes a few minutes to set up and saves you from the end-of-month surprise.

When something is slow or expensive, the system views are where you want to look. SYS_QUERY_HISTORY contains duration, status, and text of each query, SYS_QUERY_DETAIL goes down to the individual execution steps, and SYS_SERVERLESS_USAGE reports RPU consumption over time. A simple query like the following gives you a daily cost estimate for the last month:

SELECT TRUNC(start_time) AS day,
       SUM(charged_seconds) / 3600.0 AS rpu_hours,
       SUM(charged_seconds) / 3600.0 * 0.387 AS estimated_usd -- eu-west-1 rate
FROM sys_serverless_usage
WHERE start_time >= DATEADD(day, -30, GETDATE())
GROUP BY 1
ORDER BY 1 DESC;

And yes, this is a great candidate for a scheduled query that writes into a small cost table, with a Query Editor v2 chart on top of it.

Last but not least, usage limits should be configured before going to production, not after. A limit expressed in RPU-hours over a daily, weekly, or monthly period can trigger an automatic action: logging an event, sending an SNS notification, or turning off user queries until the next period. The rule we usually apply is quite simple: notify at around 70% of the expected budget, and block at 100% on non-production environments. In production, blocking should be discussed with the business, since stopping the company's reporting because of a spending limit may cost more than it saves.

Conclusion

Amazon Redshift Serverless is not the dev version of Redshift, but a different way of operating a data warehouse: it moves the focus from sizing the infrastructure to the efficiency of what runs on top of it. Anyone coming from provisioned clusters notices this quickly, because a badly written query stops being only a performance problem and becomes a line on the invoice.

If you are evaluating a migration, the simplest way to decide is to try it: restore a snapshot of your provisioned cluster into a test Serverless namespace, run a realistic workload against it for a week or two, and compare its cost with what the cluster costs you today.

Have you already moved an analytics workload to Redshift Serverless? What are your feelings about it? Let us know in the comments, we are curious to compare your numbers with ours!


About Proud2beCloud

Proud2beCloud is a blog by beSharp, an Italian APN Premier Consulting Partner expert in designing, implementing, and managing complex Cloud infrastructures and advanced services on AWS. Before being writers, we are Cloud Experts working daily with AWS services since 2007. We are hungry readers, innovative builders, and gem-seekers. On Proud2beCloud, we regularly share our best AWS pro tips, configuration insights, in-depth news, tips&tricks, how-tos, and many other resources. Take part in the discussion!

Matteo Moroni
DevOps and Solution Architect at beSharp, I deal with developing Saas, Data Analysis, and HPC solutions, and with the design of unconventional architectures with different complexity. Passionate about computer science and physics, I have always worked in the first and I have a PhD in the second. Talking about anything technical and nerdy makes me happy!

Leave a comment

You could also like

Nightmare Infrastructures part 5