Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Heroku availability zone

Tags:

heroku

I plan on having a Heroku app communicating with a database server made with Amazon AWS. I am aware that Heroku is built on AWS; is it possible to set the availability zone of my Heroku app to be the same as my database server, so that queries can be made as fast as possible? Thanks.

like image 546
user1769341 Avatar asked Oct 23 '12 19:10

user1769341


People also ask

Is Heroku High Availability?

All primary databases on Premium, Private and Shield tier plans come with the High Availability (HA) feature. This database cluster and management system is designed to increase database availability in the face of hardware or software failure that would otherwise lead to longer downtime.

How do I know my Heroku region?

Verifying an app's region To verify an app's region, check the Region value returned by the heroku info command: $ heroku info === calm-ocean-1234 Git URL: [email protected]:calm-ocean-1234.

How much space do you get on Heroku?

free, hobby and standard-1x have 512 MB. standard-2x has 1024 MB. performance-m has 2.5 GB. performance-l has 14 GB.

Can I change region of Heroku app?

Begin the verification phase by forking the application to create a copy in another region, for example the eu region. This will copy all Heroku Postgres data and config vars and will re-provision all add-ons. Depending on the size of your database this process may take some time.


1 Answers

No, I don't think this is currently possible. I believe Heroku have infrastructure in different zones in order to failover if necessary.

There some useful information here: Heroku: Is Heroku dependent on a single Amazon Availability Zone?

You could create the database server in the same zone as Heroku, but you would run into the same problem if they failover.

like image 194
jordelver Avatar answered Oct 20 '22 03:10

jordelver