My question is "why my free dyno hours are not decreasing".
As the image below shows, I am using heroku to take cryptocurrencies price data from Binance via API. My python codes to use Binance is uploaded on github and deployed to heroku. The price data imported is sent to telegram, whose chatbot sends me messages.
Does anyone know why my free dyno hours are not decreasing?
My free dyno hour turns out to decrease, but it just takes time to get reflected on the dashboard.
Related
I can't see an email of their support to write to with that problem and as I think there is community of Heroku users here.
Is usage of free Heroku plan legit for deploying test tasks and pet projects e.g. for portfolio?
It is fine to use the Free plan for your personal development, experimenting but potentially production usage if you really want.
When working with free Dyno you have few limitations:
max number of free hours
Dyno goes to sleep after some inactivity time
no metrics
etc.. see Dynos comparison
I´m new on development and found Heroku easy for deploying my app.
I was happy until I got to problems:
Heroku does not provide an IP adress which I need for a white IP list to access an API. I fixed this with a Heroku add-on proxy called Fixie. That is free if under 500 request per month.
The Heroku free plan sleeps after 30 min of inactivity. My app needs to makes API requests at midnight and this is getting difficult because the app is sleeping.
I was thinking to pay the nearest cheap plan on Heroku which make that the app does not sleep. But then I though why not use another platfrom than Heroku.
Does anyone have some sugestions? Any other platform that give an IP so I don´t worry about crossing the 500 request per month?
I was thinking of AWS Elastic Beanstalk. But as I said I´m new at this.
You can use DigitalOcean: the cheapest plan is 5$ a month and you get a Droplet with its own IP address. The Droplet is always running (no inactivity timeout like Heroku).
The main difference is Heroku provides an abstraction layer on top of the underlying infrastructure (you only deal with the application deployment and management) while DigitalOcean delivers a virtual box (ie Ubuntu), however the documentation is great and you can easily find what you need (ie install Docker, etc..)
Couldn’t agree more.
I have been running many applications on Heroku for years now and have faced the 1st problem that you’ve mentioned multiple times.
I tried using Engine Yard instead of Heroku as far as I can remember I never faced the IP issue that you are referring to. AWS is good, but again it’s not without its limitations because its really hard to use. It’s these shortcomings that drive users crazy, isn't it? All I can say is that when I shifted to Engine Yard the set problems I faced considerably dropped. It appears to be a much more usable platform. Check it out.
Here’s a link to Engine Yard, which I hope will help you.
Can I run the app gaining traction on a purchased Dyno and the rest 5 apps on the free Dyno?
Also the billing, for a single Dyno will it be exactly $7 or vary with the use?
You can upgrade only one of your apps to paid dynos, and keep all the other apps on free dynos. Your monthly quota of free dyno hours is per your heroku account, not per an individual app. So your 5 low-traction apps will simply share your 1000 free dyno hours per month. (Note that your quota will be 1000 free dyno hours per month, since you definitely will have verified your account in order to upgrade your high-traction app to paid dynos).
As for the exact charge: If your high traction app uses only a single Hobby Dyno and NO other non-free-tier add-ons, then your bill will be exactly $7 / month, and will not vary with use.
Since I am not very familiar with Heroku I need opinion of a specialists like you. I got two questions to which I cannot find an answers on the web.
Heroku tempts with the 450 dynos if I add the billing card.
Is that secure to add it?
Will they take the money from my account without my permission? If for instance I have used all the dynos, would they take the money from my account to add some dynos?
Do dynos last for long? How many users can use my site if I got 1000 dynos?
I tried to understand the answers from the another questions here in stack, but I could not understand them.
Please do not use the technical language, try to answer these questions as simply as you can (for me and users who will read it).
This is a very vague question, so I'll do my best to answer it clearly.
Adding your credit card to Heroku is perfectly safe. They are a legitimate company.
Heroku will automatically charge your credit card at the end of the month if you go OVER their free tier, meaning you use more than 450 dyno hours across your Heroku account, or if you provision paid addon services.
Dynos last forever, until you remove them. Heroku allows you to add dynos, remove them, etc., all instantly.
You also asked how many users your site can support if you have 1,000 dynos: this is equivalent to asking how many users your site can support if you have 1000 web servers. This is dependent on many factors: what does your site do? How was your site built? Etc.. In general, most webapps on Heroku only require 1 dyno to run indefinitely.
Thanks to Michael Hartl's tutorial on rails, this amazing community, and twilio, I was able to learn rails and build my first app this month.
I love the the git/heroku workflow, and got thinking --
Currently I have,
~20 light PHP sites on a VPS I pay $40/month for
~10 light PHP sites + 2 Wordpress installs on a Shared Reseller Account I pay $20/month for
+1 App I just made
The PHP sites are basically static sites that have php_includes in them, to make the code a little bit less repetitive.
I'm a little confused by the Heroku pricing though, because I'm not sure how many requests constitutes one dyno, etc.
For the light PHP sites, does using Heroku make sense?
Say that all together the PHP sites get about 5000 views a month, out of which 2000 is for wordpress.
How much do you think it's going to cost me to have them up and running?
Heroku will answer - this is cloud and you should not think in terms of Servers or VPS but more Dynos etc. But old habits die hard :-)
For your question, very simply a Dyno has 512 MB memory (RAM), and the cost of a Dyno includes the bandwidth and the disk space you are using. There are many other issues, like Dynos being Read Only and transient, no IP assignment etc.
In your specific case, definitely use Heroku for your Rails testing, and hosting. Heroku provides hosting free for one Dyno. (Each additional Dyno - about USD 34/month)
For your static sites and PHP, why don't you use AWS with the free tier, you get your own server/vps with whole lot of other services free - http://aws.amazon.com/free/