<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/simplify-serverless-in-aws-how-to-use-neon-and-ephemeral-environments-up1bbiag0" -->

---
title: Simplify Serverless in AWS: How to Use Neon and...
description: A step-by-step guide on using Neon Serverless Postgres with ephemeral environments in AWS. Covers Neon's key advantages over Aurora Serverless v2 (faster cold...
canonical: https://daily.dev/posts/simplify-serverless-in-aws-how-to-use-neon-and-ephemeral-environments-up1bbiag0
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Simplify Serverless in AWS: How to Use Neon and Ephemeral Environments | daily.dev
og:description: A step-by-step guide on using Neon Serverless Postgres with ephemeral environments in AWS. Covers Neon's key advantages over Aurora Serverless v2 (faster cold...
og:url: https://daily.dev/posts/simplify-serverless-in-aws-how-to-use-neon-and-ephemeral-environments-up1bbiag0
og:image: https://api.daily.dev/og/posts/UP1bbiaG0.png
og:image:alt: Simplify Serverless in AWS: How to Use Neon and Ephemeral Environments
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Simplify Serverless in AWS: How to Use Neon and Ephemeral Environments

**[Neon](https://daily.dev/sources/neontech)** · 9 min read · 0 upvotes · 0 comments

## Summary

A step-by-step guide on using Neon Serverless Postgres with ephemeral environments in AWS. Covers Neon's key advantages over Aurora Serverless v2 (faster cold starts at 500ms vs 15s, built-in PgBouncer for 10,000 concurrent connections, instant data branching). Walks through building a TODO API with AWS Lambda and the Serverless Framework, demonstrating how to create and delete Neon database branches per environment using the Neon API SDK. Also covers integrating ephemeral database branches into CI/CD pipelines via GitHub Actions, enabling isolated test environments without polluting shared databases.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://neon.com/blog/ephemeral-environments-aws-serverless>

## Similar posts on daily.dev

- [Neon Functions: backend logic next to your data](https://daily.dev/posts/neon-functions-backend-logic-next-to-your-data-zsp0ccejk) · Neon · 20 upvotes · 3 comments

---

Tags: [#postgresql](https://daily.dev/tags/postgresql), [#serverless](https://daily.dev/tags/serverless), [#aws-lambda](https://daily.dev/tags/aws-lambda)

[View this post on daily.dev](https://daily.dev/posts/simplify-serverless-in-aws-how-to-use-neon-and-ephemeral-environments-up1bbiag0)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Simplify Serverless in AWS: How to Use Neon and Ephemeral Environments","url":"https://daily.dev/posts/simplify-serverless-in-aws-how-to-use-neon-and-ephemeral-environments-up1bbiag0","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/simplify-serverless-in-aws-how-to-use-neon-and-ephemeral-environments-up1bbiag0"},"datePublished":"2026-07-09T06:58:06.762Z","dateModified":"2026-07-09T07:03:00.977Z","description":"A step-by-step guide on using Neon Serverless Postgres with ephemeral environments in AWS. Covers Neon's key advantages over Aurora Serverless v2 (faster cold...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/1a3b2673fb79390b025309d507a97c3c?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/1a3b2673fb79390b025309d507a97c3c?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Neon","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Neon","logo":"https://media.daily.dev/image/upload/s--65EDghou--/f_auto/v1724339118/logos/neontech","url":"https://daily.dev/sources/neontech"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/simplify-serverless-in-aws-how-to-use-neon-and-ephemeral-environments-up1bbiag0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"postgresql,serverless,aws-lambda","timeRequired":"PT9M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Neon","item":"https://daily.dev/sources/neontech"},{"@type":"ListItem","position":3,"name":"Simplify Serverless in AWS: How to Use Neon and Ephemeral Environments"}]}
```

