How to Deploy FastAPI on AWS Serverless: Complete Guide

Описание к видео How to Deploy FastAPI on AWS Serverless: Complete Guide

Learn how to deploy FastAPI on AWS Serverless for free with The Serverless Framework in simple steps.

What You'll Learn in This Video:
🛠️ Preparing Your FastAPI App
Running and testing locally
Managing dependencies with Poetry

☁️ Setting Up AWS and Serverless Framework
Configuring your AWS account
Setting up a serverless.yml file

🚀 Deploying to AWS Lambda
Converting FastAPI app with Mangum
Deploying with Serverless Framework

🗄️ Configuring AWS Resources
Creating an S3 bucket
Setting up IAM roles

📝 Post-Deployment Tasks
Accessing logs with AWS CloudWatch
Troubleshooting and ensuring maintainability

Code from video: https://github.com/Hodik/deploy-fastapi

In this video, learn how to deploy a FastAPI app to AWS Serverless for free using the Serverless Framework. As a certified AWS Solutions Architect and Senior Python Engineer, I'll guide you through preparing your FastAPI app, managing dependencies with Poetry, and deploying it using AWS Lambda and API Gateway. We'll cover setting up your AWS account, creating a serverless.yml file, configuring cloud infrastructure, and adding resources like S3 buckets. Follow these steps to ensure a scalable, maintainable, and cost-effective deployment.

Chapters:
00:00 Intro
00:45 Prepare FastAPI app
03:31 Prepare AWS account
03:42 Configure Serverless
06:30 Add cloud resources
08:16 Subscribe

#fastapi #aws #serverless

Комментарии

Информация по комментариям в разработке