Skip to content

Build API and infrastructure to run the batazia models in AWS #3824

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
esurface opened this issue May 28, 2025 · 0 comments
Open

Build API and infrastructure to run the batazia models in AWS #3824

esurface opened this issue May 28, 2025 · 0 comments

Comments

@esurface
Copy link
Contributor

Deployment Options

API Gateway Service

  • User auth
  • Validates file submission
  • Validates user
  • Metadata storage
  • Store audio files in S3
  • Send encrypted key with audio file to EC2 instance
  • Fargate behind a load balancer, connect to dynamodb and S3 -- automate

Model in SageMaker

  • Standalone model running on SageMaker

Data Flow

  1. Tangerine app records audio and sends it (encrypted) to API Gateway Service
  2. API Gateway Service validates user and file, stores audio in S3, sends encrypted key to the Sage Maker instance
  3. Sage Maker instance runs the model, processes the audio, and returns results
  4. Results are sent back to the Tangerine app via the API Gateway Service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant