Home / Companies / Neon / Blog / Post Details
Content Deep Dive

Deploy a Serverless FastAPI App with Neon Postgres and AWS App Runner at any scale

Blog post from Neon

Post Details
Company
Date Published
Author
Stephen Siegert
Word Count
2,822
Language
English
Hacker News Points
-
Summary

The blog post outlines a comprehensive guide to deploying a serverless FastAPI application using Neon Postgres and AWS App Runner, providing a scalable architecture for Python-based APIs. It highlights the use of FastAPI for its speed and ease of use, AWS App Runner for managing scalable containerized applications, and Neon Postgres for its serverless database capabilities that automatically scale based on demand. The guide walks through the setup process, including setting up a local environment with Poetry, connecting the application to a Neon Postgres database, configuring AWS App Runner, and managing secure database connections via AWS Systems Manager Parameter Store. Additionally, it details the creation of necessary configuration files and instance roles to facilitate seamless integration and deployment, ensuring the application can efficiently handle varying traffic volumes while maintaining cost efficiency and optimal performance.