Topic 6: Fastapi Deployment and API Hosting
⏱️ Estimated time: 2-3 days
With your Prior knowledge of FastAPI from the previous phases, you will now focus on deploying that fastapi application on a cloud based VM.
📚 Learning Path
- Study: how to deploy a FastAPI application using AWS EC2, Azure Virtual Machines, or Google Compute Engine.
🧪 Test Your Knowledge
- How do you store and manage environment variables securely on a cloud VM for FastAPI?
- How would you set up a firewall rule or security group to allow external HTTP traffic to your FastAPI application?
🛠️ Hands-on Task
Deploy a FastAPI application on a cloud-based VM within the Public Subnet of your cloud network.
✅ Topic Checklist
Before moving on, make sure you have:
- Reviewed FastAPI deployment resources for your cloud provider
- Understood how to manage environment variables securely
- Configured security groups/firewall rules for HTTP traffic
- Deployed FastAPI on a VM in the public subnet
- Verified the API is accessible from the internet