Deploy a Serverless FastAPI App with Neon Postgres and AWS App Runner at any scale
In this tutorial, we will guide you through setting up a scalable serverless API using FastAPI, deployed on AWS App Runner and powered by Neon Postgres as the serverless database. FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.8+ based on standard Python type hints. The key features of FastAPI are its speed and ease of use, making it an excellent choice for building robust APIs. AWS App Runner is a fully managed service that makes it easy for developers to quickly deploy containerized web applications and APIs, at scale. These services will automatically scale the instances up or down for your App Runner application in accordance to incoming traffic volume. Neon complements this setup by providing a serverless Postgres database that scales compute resources automatically, optimizing performance based on demand.
Company
Neon
Date published
Feb. 9, 2024
Author(s)
Stephen Siegert
Word count
2131
Language
English
Hacker News points
None found.