Hello, I really love the “almost one click” Prisma...
# orm-help
t
Hello, I really love the “almost one click” Prisma server deployment to Heroku … any news on similar feature for AWS being available? Or at least very rough time estimate - we are planning to migrate our production app from Graphcool to Prisma and this is currently no-go. Thank you.
a
If you don't know how to deploy it to aws I think you should check that out first, you can't just use the one click installer and that's it, there's a lot more you need to know on how to maintain it
You can almost do one click install already with aws beanstalk using the prisma docker image
You can use tools like terraform or cloud formation to automate the process
t
I am able to deploy it via the tutorial on Fargate and RDS … I was just curious whether there is a simple approach planned
p
@tichy I'm at the same page as you.. I've tried heroku, but seems like the "Hobby" plan ( $7/dyno/month ) which is has 512MB, is not enough for the Prisma Server... so going for AWS. What I found is this post on prisma forum, which I'm actually just trying now: https://www.prisma.io/forum/t/deployment-of-prisma-to-aws-ec2/2880/1
t
@pllumh Thanks for respond… I am aware of this post and I was thinking about trying it also but I am little confused about that deployment of both database and prisma server in the same EC2 instance. Would be great if you could share your progress on this topic if you will be successful. Thank you in advance.
p
Right, I'm also still not quite sure about some things.. but I'm first reading everything that the author suggested to read before starting to actually implement it. I will keep you posted with the progress
@tichy Just found the article on Prisma tutorials to deploy on AWS Fargate.. the one you mentioned, and that seems easier .. its step by step
I believe you've already seen that
What I'm not sure though.. with the AWS-s pricing way... will it be cheaper to go with heroku, or AWS Fargate
t
That is what I was solving … Fargate is not a part of the AWS free tier and from what I calculated it would be like 30-35eur/month just for Fargate + something for RDS. On the other side I believe that EC2 would come less expensive.
p
Right.. EC2 On-demand pricing with the t3.small plan ( 2 vCPU , 2 GiB Memory ) is $0.0208 per Hour ...
Which can come at max of of about $15
s
Would be awesome if you could open an issue here where you elaborate what exactly you’re looking for 🙂
p
minus what comes with the free tier ( if thats how its calculated ) .. then it seems to be much cheaper
Surely
l
p
Thats the issue by Tichy.. but the other one is, what would be the cheapest solution..
For a startup
Heroku at least $50 + Postgres ( for more than 10k rows )
AWS Fargate seems like that would also be expensive...
EC2 seems to be cheaper .. which I'm going on that path right now
l
The cheapest solution is a compute instance like EC2 or digital ocean.