Deploy with render.com tutorial (FastAPI example)

Published: 01 August 2024
on channel: microapis
11,163
142

Deploy FastAPI applications to render.com!

The code for this tutorial is available here: https://github.com/abunuwas/short-tut...

To follow along with the tutorial, please create an account with Render here: https://render.com/. I recommend signing in with GitHub to automatically link Render to your GitHub account. You don't need a paid subscription to follow the tutorial.

How do you deploy FastAPI applications? There are many ways of doing it! But which one is the easiest?

If you don't have much experience with DevOps, setting up AWS, GCP, or Azure accounts and all the infrastructure that comes with them, you'll be better off choosing a simpler deployment model. And here, Render fits the bill.

To deploy an application with Render, you simply create the database, the corresponding web service, apply come configuration to let Render how to build and run the application, and you're good to go!

Render connects to your GitHub repository, so whenever you push a new commit to your main branch, Render will automatically pick up and deploy the updates.

You can deploy any kind of application with Render, including Flask and Django, and also applications built with other stacks like Node.js, Ruby, Go, and Rust.

Let's go!

00:00 Introduction
01:49 Setting up and running the application locally
03:38 Walk through the code
05:50 Creating a database on Render
06:48 Connecting Render with your GitHub account and giving access to repos
07:58 Creating and configuring a web service on Render
09:40 Fetching the database connection URI
10:55 Deploying the web service
12:19 Deploying from a new Git commit
13:16 Additional considerations about Render
15:36 Wrapup


#python #fastapi #render #devops #deployments #render.com


On this page of the site you can watch the video online Deploy with render.com tutorial (FastAPI example) with a duration of hours minute second in good quality, which was uploaded by the user microapis 01 August 2024, share the link with friends and acquaintances, this video has already been watched 11,163 times on youtube and it was liked by 142 viewers. Enjoy your viewing!