Heroku Multi Region Support and Database Syncing - heroku

We would like to deploy an application on a multi region setup. And make data from each databases sync? Does Heroku supports this? Does Heroku supports free traffic when transferring datas between multi database server locations?
Thank you

Related

Migrating database links to AWS RDS PostgreSQL

We're looking to migrate our application into AWS cloud entirely. It has come to our notice that it might not be possible to continue using the existing Oracle 19C Database links with external components if we're migrating to AWS Cloud.
Is there an alternate solution for maintaining connectivity with an external component's database? (we're the consumers here) Also, on a side note, the producer component is currently on an Oracle database; not AWS cloud.
Any inputs will be greatly appreciated. Thanks in advance!

Deploy Laminas Framework Application on AWS with EFS

I have developed a web application and deploy it on Amazon AWS with a load balancer. Everything works fine but too slow.
My web servers share the same files by using Amazon EFS.
I my application, I store my users'sessions by using the filesystem and saving save files in a folder.
Because sessions files are shared on the EFS, I would like to know if it a good pratice ?
Or do I need to use a Redis server to share session datas between my webservers ? (I do not have a concrete example of using redis server configuration for sessions in Zend Framework 3 or Laminas project)
And the last one question is what are the advantages (or disadvantages) of activating AWS ELB stickyness session ?
Thank you for any advice or tips.

Development and production on the same vps server?

I'm currently using a vps plan at vpsdime.com as my development server. I move a lot and use different computers so didn't want to develop locally.
Soon, I'll be able to launch my webapp (approx 5-10 users to start with). Should I simply install my production app on my same vps server, or would you advise to get another server? Why?
You can safely use the same server. Just make sure everything as separated per environment:
Different Redis database
Different MySQL database
Different Elasticsearch server
Different location to store session data
Different caching location
Different queues (Redis/Beanstalk, ...)
Different AWS bucket
Different ... you get the gist.
It should be straightforward to setup different vhosts with Apache or Nginx.

Accessing Heroku Postgres Instance from EC2

I have an application that we are currently running on a number of co-located servers and I'm interested in moving everything to the cloud.
I have a legacy application running Postgres and its replacement application using MySql as its data store. I'm interested in moving to EC2 and looking to do this as pain free as possible. I was planning on using Amazon RDS for the MySql data store but am looking for options for the Postgres install.
I know that Heroku is built on top of EC2 and has Postres support and was wondering
Has anyone had any experience accessing a Heroku Postgres database from an application running in EC2. Comments on Performance, Reliability ease of Administration
The other alternative is to install Postgres on EC2 with EBS volumes but I've heard mixed reviews on performance, reliablitity and ease of administration.
Thanks in advance, any experience and suggestions would be greatly appreciated.
I've done this with several colocated boxes on the east coast. Heroku actually has a completely independent service: Heroku Postgres, which is built for this specific use case. The databases you create are all independent (not related to any Heroku apps).

amazon EC2 load balanced - how to deploy web app?

We're looking to move to amazon cloud using EC2 and RDS.
I'm looking at load balancing, which I would like to do, two servers, each in a different availability zone to protect against downtime.
My question is how to deploy web applications and updates to them? I assume there is a better way than individually updating the files on each EC2 server?
In systems past, I have used the vcs puppet module to ensure that the appropriate source code is installed on my system, in addition to using puppet to build the configuration files for the apache/nginx server that I'm using. Another possibility is to push your application in a deployable state (if you're not using a scripting language) to Amazon S3, and have your run-time scripts pull the latest build from your S3 bucket.

Resources