-
Notifications
You must be signed in to change notification settings - Fork 38
Review usage of Heroku #946
Comments
I'm -1 on this. Heroku saves us a ton of devops time. |
After creating the issue I realized there was some history about using Heroku. Thus I'm removing the part about looking for alternatives here, and focus on the reviewing usage part. IMO it'll still be valuable to share knowledge about the deployment and server configs. @whit537 if you agree, could you share some document about the setup (what kind of server instance is used for gratipay, etc)? |
@nobodxbodon Here are the past two invoices from Heroku: heroku.2016-11.pdf Does that give you a sufficient level of visibility into our usage in order to review? |
Thanks for the material! Some questions after checking breakdowns:
|
Yes. No.
http://gip.rocks/ is behind Gratipay.com providing a service (processing images), not in front of Gratipay.com driving traffic. There is no free tier for Team accounts (cf. #871).
Yes. It provides the auto-invite page at http://inside.gratipay.com/appendices/chat. |
So shall we remove the Papertail item in budget table, as it's included in Heroku? Also, adding $7 to Heroku for gratipay-slackin, resulting in $109 (from $95). |
The canonical budget table is in the spreadsheet (which is permanent until gratipay/finances#12), not in the description on #928 (which we'll hopefully be able to close soon). I think it makes sense to keep Papertrail and Heroku itemized separately for visibility.
Thanks. Please update the spreadsheet as well. |
OK I added in the speadsheet $7 to Heroku for gratipay-slackin, and left Papertail as is. Closing. |
That looks like a VPS replacement, no different from digital ocean and linode |
Chad's comment got me digging into AWS. Apparently it's still less developer-friendly than Heroku, but https://aws.amazon.com/elasticbeanstalk/ and https://aws.amazon.com/rds/ seem to make it reasonably easy and cheap to run a Python web app with a PostgreSQL database. |
Except that we'd also have access to Amazon services for Postgres, CDN, TLS, and logging (we're already using them for email, of course). I like the idea of infrastructure as code. I'd be interested to see a cost comparison with Heroku. |
Heroku Dynos are $7, vs. $5/mo at Amazon (assuming they're roughly equal capacity). Postgres is $50/mo at Heroku. Poking at AWS, it ... is hard to get a clear picture. Minimum pricing on a single-zone reserved instance is roughly $10/mo. But what about multiple availability zones? Backups? Bandwidth? Would we be closer to $10/mo or $25 or $50? I don't know. For TLS/CDN ...
https://aws.amazon.com/cloudfront/faqs/ That's probably going to be cheaper than the $9.95/mo we pay for CDN + the $20/mo we pay for SSL? Maybe a lot cheaper since we don't have much traffic right now? Let's say the best case scenario is: $10 = $5 x 2 EC2 instances It looks like in the best case, Amazon would clock in at about a third the cost of Heroku. Let's say it's more realistic to expect 50%. Now, unlike with our other cost savings on #928, this one comes with a significant time burden. How much developer time would it take to migrate? What would it take to maintain AWS vs. Heroku in the future? Is the cost savings worth the time investment? |
We might also try to factor AWS free tier into our calculation. I don't know where we stand with that or how it works. |
@clone1018 in slack:
|
Actually I read Heroku PostgreSQL vs. Amazon RDS for PostgreSQL before closing this, and I agreed with the summary below:
IMO we currently have some breathing room after reviewing the fixed cost (but Travis negotiation might change that?), and with the npm project going on, time is more precious in the short term. BTW I had the same urge to go for amazon, with an engineering mind, plus urge to remove unnecessary cost, as you know already :) But unless we absolutely need the extra saving, I'd say we focus on the business needs for the short term. Even if we do need the saving, hopefully we can find it somewhere else before changing infrastucture at this moment. |
@whit537 maybe another option is to move the static sites (gip-rocks, inside, slackin?) to openshift? I don't have account that has access to their v2 platform, but maybe you do? And I'm sure these qualifies for their resource grants program. They should need little monitoring and managing, and migration will be simpler I suppose. |
Someone pointed out to me elsewhere that AWS also has some data transfer costs. |
Honestly, coming from both my day job and my night job, deploying usually sucks. You get so excited writing a new feature or designing some awesome thing, you go to deploy and run into issues! Even using concepts like continuous integrations somehow randomly causes issues. Stick with Heroku until it's pain point (financially or manually) becomes more than figuring out a new infrastructure and developing new deployment processes. |
Wow, even @nobodxbodon is okay with Heroku? Sounds like a consensus to me. :-) |
Reticket from #928 (comment)
IMO it's worthwhile to review the usage of Heroku, including what instances we use for each of our services.
This exercise may also give more insights about the infrastructure, which would be valuable in sharing the knowledge among the contributors.
@rohitpaulk
Here's breakdowns based on the invoices:
2016-11
2016-12 only difference is:
The text was updated successfully, but these errors were encountered: