---
title: "Discussion on \"Deploying FASTApi on EC2\" | Hashnode"
description: "Discussion on \"Deploying FASTApi on EC2\". Step-by-step guide to deploy multiple FastAPI microservices on a single EC2 instance using systemd, Python virtual environments, and UFW configuration."
url: "https://hashnode.com/posts/deploying-fastapi-on-ec2/682980f151b3f2162a576d9b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Deploying FASTApi on EC2](https://devops-stories.hashnode.dev/deploying-fastapi-on-ec2?utm_source=hashnode&utm_medium=feed)

Step-by-step guide to deploy multiple FastAPI microservices on a single EC2 instance using systemd, Python virtual environments, and UFW configuration.

May 18, 2025 · 6 min read · devops-stories.hashnode.dev  
Read the article

-   [#fastapi](https://hashnode.com/tag/fastapi)
-   [#aws](https://hashnode.com/tag/aws)
-   [#ec2](https://hashnode.com/tag/ec2)
-   [#linux](https://hashnode.com/tag/linux)
-   [#bash](https://hashnode.com/tag/bash)
-   [#systemd](https://hashnode.com/tag/systemd)
-   [#python](https://hashnode.com/tag/python)
-   [#git](https://hashnode.com/tag/git)
-   [#github](https://hashnode.com/tag/github)
-   [#deployment](https://hashnode.com/tag/deployment)
-   [#cloud-computing](https://hashnode.com/tag/cloud-computing)
-   [#selfhosting](https://hashnode.com/tag/selfhosting)

## Written by

[Shad Reza](https://hashnode.com/@shadreza)

@shadreza

  
[View profile](https://hashnode.com/@shadreza)

scaling ideas, one dev story at a time.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
