Heroku has announced that as of November 28th, 2022, free Heroku Dynos will no longer be available. How do I check if I'm using some dyno, see its name etc..
Related
Loading https://jsonpath.herokuapp.com/ is returning this:
Application error
An error occurred in the application and your page could not be
served. If you are the application owner, check your logs for details.
You can do this from the Heroku CLI with the command heroku logs --tail
You application might be using free Heroku plan. However, heroku has shut down their free services from November 28, 2022. You should host the website to some other hosting services.
I am trying to move my backend API app (node.js express server) from Heroku to AWS Elastic Beanstalk. But I did not realize the amount of features that Heroku was providing automatically and which I now have to set up manually in AWS.
So here is the list of features which I discovered were missing in AWS and the solutions I have implemented.
Could you please let me know if I am missing something in order to run smoothly my APIs in AWS and get the equivalent of what I had in Heroku?
auto-restart server when crashed : I am using PM2 to automatically restart my server in case of critical error
SSL certificate : I am using AWS ACM certificate,
logging : have inserted the datadog agent in order to receive logs in datadog
logging response time : I have added the "morgan-body" package to get each requests' duration and response code (had to manually filter the AWS healthchecks and search engine bots, because AWS gave me an IP adress which was visited constatntly by Baidu bots)
server timeout : I have implemented a 1200000ms timeout on the whole app (any better option ?)
auto deploy from Github : I have implemented a github automation to deploy code automatically (better options?)
Am I missing something? This app is already live so I do not want to put my customers at risk when I will move from Heroku to AWS...
Thanks for your help!
I believe you are covered:
Heroku Dynos restart after crashing or raising an error (Heroku Restarting Policy)
SSL certificates are provided for free
logging: Heroku supports various plugins, including Datadog
response time (in millisec) is logged automatically
HTTP timeout is 30 sec (it cannot be changed)
deploy from Github is possible (connecting the accounts), Docker deployment is also supported. Better options? Using Github Actions to deploy a new version after code push or tagging.
If you are migrating a production environment I strongly suggest first to setup a Heroku (Free) Dyno to test and verify all your needs are satisfied.
[Hello, i am a complete cookie to coding so need some help.
I made a discord ModMail Bot using this repository(https://github.com/kyb3r/modmail) and used heroku to deploy the worker. Everything worked out and bot was working smoothly, but today it went offline, and when i tried restarting the worker, this messages show up. PLease help.]Code error
Your bot does not stay permanently online when using heroku.
You'll have to wait until the bot eventually comes online, or pay for more dyno hours, which at this point, you could just host your bot on a VPS
If I have made 2 different heroku apps, can someone who randomly sees one also find the other and know that I made it? (They are not linking to each other of course)
Thanks!
If you look at Heroku Website you will notice that it is a deployment service for developers equipped with all required tools. On Heroku there is no way to find who is registered with Heroku or list of registered apps on Heroku just like Github.
So Github has a different service model, and we can easily search any repo, any author (if public). On Heroku there is no area or option to search like that.
Except that, if you are using Heroku for free and their free domain, then the prefix in start of your free domain name will let others know that you are using Heroku platform (with free package or have not configured real domain yet).
Twilio a famous SMS API service provider, has their chat service hosted on Heroku, they didn't configured the domain, hence I noticed Herokuapp in start of their chat window URL, which let me know that they are using Heroku.
I am able to setup a deploy HTTP hook that calls the Slack API on every deploy of my Heroku app.
$ heroku addons:create deployhooks:http
How can you customize the deploy message that this sends?
Heroku Deploy Hooks is set to sun set February 17, 2023. To keep your integrations working, you can replace Deploy Hooks with Activity To Go.
Hope this helps.