Animechan-API / animechan

A REST API for anime quotes
https://animechan.io
Mozilla Public License 2.0
1.31k stars 56 forks source link

Question Regarding Animechan Deployment #98

Closed MuddassirAsh closed 7 months ago

MuddassirAsh commented 9 months ago

Hey, I am considering deploying a hobby-project of a simple API of quotes from Presidents.

I was wondering, how did you deploy Animechan? I am currently using FastAPI and was considering between EC2 or Lambda and just wanted your thoughts and how you did yours.

melosh101 commented 9 months ago

I recommend taking a look at the deploy workflow located in /.github/workflows/deploy.yml

rocktimsaikia commented 9 months ago

@MuddassirAsh If you just want to host your hobby server somewhere, you can use cloud services like heroku or render etc. I would not recommend aws services for a simple hobby project. As you will be billed on a lot of interconnected services from aws (assuming you will add a domain also) plus the maintenance of the whole thing from deploy to every tiny detail can distract you from your main goal. The reason im hosting in ec2 is because Animechan has a lot of high traffic and I have some big future plans with this project which requires me to have complete flexibility over the infrastructure.

You can ask these sort of general questions which are not related to Animechan directly in discord, right people will respond there.