MedAssist AI is a Retrieval-Augmented Generation (RAG) based medical chatbot deployed using a production-style cloud architecture. The system integrates FastAPI, Docker, NGINX reverse proxy, HTTPS SSL, and AWS EC2 infrastructure, demonstrating real-world backend and DevOps deployment practices.
🔗 https://medassist.n8nautomations.me
MedAssist AI allows users to ask medical-related questions through a web interface. User queries are processed through a FastAPI backend which triggers automated workflows using n8n, enabling intelligent responses powered by RAG pipelines.
This project focuses not only on AI integration but also on industry-standard deployment and infrastructure design.
User Browser (HTTPS)
│
▼
NGINX Reverse Proxy (SSL Termination)
│
▼
Docker Container (FastAPI Backend)
│
▼
n8n Workflow Automation Server
│
▼
RAG Processing Pipeline
- FastAPI
- Python
- REST APIs
- Jinja2 Templates
- RAG-based chatbot workflow
- n8n Automation Server
- Webhook-based orchestration
- Docker Containerization
- AWS EC2 Deployment
- NGINX Reverse Proxy
- Let's Encrypt SSL (HTTPS)
- Linux Server Administration
- Domain + DNS configuration
- Secure reverse proxy routing
- Private backend exposure
The application is fully containerized using Docker.
Key Benefits
- Environment consistency
- Easy deployment
- Scalability readiness
- Cloud portability
Docker Image hosted on Docker Hub:
sasikiran06/fastapi-application
The application is deployed on an AWS EC2 instance following production practices:
- Public domain routing
- Secure HTTPS communication
- Reverse proxy architecture
- Backend isolation from public internet
Security Improvements:
- Backend ports hidden behind NGINX
- SSL encryption enabled
- Controlled inbound traffic via Security Groups
SSL certificates are issued using Let's Encrypt and automatically renewed.
Features:
- HTTPS enforced
- Secure API communication
- Reverse proxy protection
- No direct container exposure
FastApi-Application/
│
├── app.py
├── Dockerfile
├── requirements.txt
│
├── templates/
│ └── index.html
│
├── static/
│ └── style.css
│
└── README.md
git clone https://github.com/<your-username>/FastApi-Application.git
cd FastApi-Application
docker build -t medassist .
docker run -p 8000:8000 medassist
Open:
http://localhost:8000
This project demonstrates:
Dockerized backend deployment Cloud infrastructure setup Reverse proxy configuration Domain & DNS mapping HTTPS SSL setup API automation integration Real-world DevOps workflow
- CI/CD pipeline using GitHub Actions
- Kubernetes deployment
- Authentication system
- Conversation history storage
- Monitoring & logging stack
This project demonstrates the ability to:
- Design backend systems
- Deploy AI applications to cloud infrastructure
- Work with production networking concepts
- Implement secure web deployments
It reflects real-world software engineering and DevOps practices, not just model development.