Switch to:
SST: the future of serverless on AWS

SST: the future of serverless on AWS

Finding tools that combine simplicity, power, and flexibility in the cloud world is far from straightforward. Today we want to share our experience with SST (Serverless Stack), an open-source framework that has profoundly changed our approach to serverless development on AWS, allowing us to build cloud native applications with a speed and level of control we had never experienced with comparable tools.

SST drastically simplifies the development of serverless applications on AWS, but its most distinctive characteristic is not simplicity in itself, but rather the way it manages to preserve simplicity without sacrificing power. Unlike tools such as AWS SAM or raw CDK, SST offers a well-calibrated level of abstraction: it exposes high-level constructs for the most common resources, including API Gateway, DynamoDB, S3, and SQS queues, while retaining full access to the underlying CDK configurations when the project requires it. This balance between convenience and control is precisely what is missing from most available serverless tools.

The philosophy behind SST is clear: eliminate the gap between the local development environment and the cloud production environment. The Live Lambda Development feature is the concrete implementation of this idea. Rather than redeploying Lambda functions every time a change is made, SST intercepts invocations in real time and routes them to the code running on the developer’s local machine, with the response times of a normal local server and logs accessible directly in the terminal. Development times in our team dropped significantly thanks to this feature, primarily because hot-reloading allowed us to iterate on complex logic without waiting for deploy cycles that previously interrupted the workflow dozens of times a day.

HeroHubs adopted SST for some key projects and the results exceeded expectations. Onboarding new collaborators, which with other frameworks required weeks of familiarization with often poorly documented cloud tools, now happens in a matter of days. Infrastructure code is written in TypeScript with full type support, meaning configuration errors are caught at compile time instead of during a failed deploy at two in the morning. SST-based deployments proved more reliable and free of surprises, because the system of distinct environments ensures that what works locally works in staging and production too, drastically reducing the post-deploy debugging sessions that were previously the norm.

Advantages

The advantages of SST are distributed across multiple levels. On the technical side, type-safe infrastructure configuration is one of the most appreciated aspects: defining an API with its Lambda handlers, connecting a DynamoDB table, and configuring the necessary IAM permissions takes a few lines of TypeScript, and the compiler verifies the consistency of these definitions before the code even reaches AWS. This drastically reduces the most costly category of errors, those that only manifest in the cloud environment after a deploy. The ability to define the entire infrastructure as code has also made it possible to quickly replicate the entire pipeline for new clients or use cases, accelerating implementation times and reducing the risk of configuration errors that with the AWS console would have been difficult to trace.

On the economic side, the pay-per-use serverless approach optimized by SST has reduced operational costs compared to architectures based on dedicated servers. Applications scale automatically based on load without requiring manual intervention, and during periods of low usage the cost drops proportionally, freeing up budget for other areas of the project. Scalability does not require managing load balancers, auto-scaling groups, or reserved capacity: everything is handled by the underlying AWS infrastructure, with SST exposing these capabilities in a consistent and testable way. This means teams can reason about cost and performance at the same level of abstraction where they write application code, rather than having to switch mental models between business logic and infrastructure concerns.

Ecosystem and learning curve

Those approaching SST for the first time find well-structured documentation and an active community, which grew rapidly around the project after the transition from version 2 to Ion, an architecture even more oriented toward native CDK constructs. The project’s Discord channels are among the most responsive in the AWS serverless ecosystem, which matters in practice when facing unexpected behavior in production.

The learning curve is real, particularly for those without experience with CDK or TypeScript, but it is manageable and concentrated in the first few days. Once this initial phase is passed, the framework becomes a productivity multiplier: it allowed us to say yes to projects we would have refused before for timing or technical complexity reasons, because the structure that SST imposes on infrastructure code makes predictable even what in other contexts would have remained opaque.

Our experience confirms that moving to SST is not just a change of tool, but a shift in the way of thinking about the relationship between application code and cloud infrastructure. The two things live in the same repository, speak the same language, and are tested with the same rigor, and this coherence translates into fewer surprises and a greater capacity to focus on the business logic that generates real value.

Ranieri Vannozzi

The author

Ranieri Vannozzi

Freelance software developer and consultant

I have been writing code since 2008, working on enterprise development, cloud-native architectures and technical leadership. On HeroHubs I write about what I run into every day on real projects, from code to architecture and artificial intelligence.

Article written with AI assistance and reviewed by the author.

Related Posts

Canary vs Blue Green: how to eliminate downtime

Architecture

March 2026

Canary vs Blue Green: how to eliminate downtime

A guide to software release strategies: discover how Blue Green and Canary deployment can protect your business and improve user experience.

Hexagonal architectures: a new perspective with ports and adapters

Architecture

October 2025

Hexagonal architectures: a new perspective with ports and adapters

Discover hexagonal architecture (ports and adapters): principles, benefits, practical examples, and how to improve testability, maintainability, and flexibility in modern software projects.

Agent as a Service (AaaS): the future beyond SaaS

Architecture

August 2025

Agent as a Service (AaaS): the future beyond SaaS

Explore the Agent as a Service (AaaS) model: how autonomous AI agents are revolutionizing software, surpassing SaaS, and transforming business processes and automation.

Firebase real-time database: the right choice for real-time applications?

Architecture

June 2025

Firebase real-time database: the right choice for real-time applications?

Explore the pros, cons, and alternatives of Firebase real-time database: a complete guide to choosing the best solution for real-time apps and platforms.

LinkedIn and Apache Kafka: 7 trillion messages a day

Architecture

June 2025

LinkedIn and Apache Kafka: 7 trillion messages a day

Discover how LinkedIn uses Apache Kafka to process 7 trillion messages daily: architecture, scalability, open-source innovations, and best practices for real-time big data.

Software architecture: which one to use?

Architecture

May 2025

Software architecture: which one to use?

A guide to major software architectures: advantages, disadvantages, and use cases for client-server, layered, microservices, event-driven, serverless, and more for modern projects.

Microservices or monolith: still a current debate?

Architecture

March 2025

Microservices or monolith: still a current debate?

Microservices vs monolith: advantages, disadvantages, and use cases to choose the best software architecture for your project in 2025.

AWS, Cloudflare, Supabase and others: which one to choose?

Architecture

February 2025

AWS, Cloudflare, Supabase and others: which one to choose?

A guide to choosing the ideal cloud provider: AWS, Cloudflare, Supabase, Google Cloud, Azure, DigitalOcean, Vercel, Netlify, and Heroku compared for every project need.

The fallacies of distributed systems

Architecture

January 2025

The fallacies of distributed systems

Explore the main fallacies of distributed systems: challenges, best practices, and design patterns for building resilient, secure, and scalable architectures in the cloud era.