r/learnpython • • Sep 04 '19

Wrote my first API

I would love any feedback. The API simply returns homebrewing calculations. I know there still a lot to do. Brew Numbers API

Github Repo

425 Upvotes

44 comments sorted by

View all comments

5

u/Scutterbum Sep 04 '19

Pretty cool. I'm just getting into the API world. How do you host this and how much does it cost?

5

u/bmw2621 Sep 04 '19

AWS EC2 server running Ubuntu. The t2.micro is free, but only has 1GB of memory and I think 8GB of storage, so it won't stand up to heavy usage. Buuuut AWS, as the good businessminded folks they are, can autoscale the server into something that is revenue generating for them.

I think AWS Beanstalk is intended for something like this, but I still have to figure out how to use it.

2

u/ciscocollab Sep 04 '19

The next thing you should look at is using AWS Lambda and API Gateway.