Multiple applications on same environment of Elastic Beanstalk

0

Hi I am trying to deploy two web apps on elastic beanstalk. Both are implemented with Python, one for data collection and one for data preview. Here are my two solutions:

  1. Two apps on same environment, therefore they shared the local data;
  2. Two environment connected to same database. However, it seems like each environment could only serve one single Web App? Just wonder if anyone got the same problem and any suggestions, many thanks in advance!
demandé il y a 2 ans1523 vues
1 réponse
0

The second solution looks like more plausible. You can opt to use a database environment outside your Beanstalk, in fact that is the more recommended approach (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.RDS.html).

If both data collection and data preview app are meant to be separate apps, you actually can deploy them as 2 "application" in Beanstalk, each connected to the same database instance. These 2 application can have separate environments if you need dev/staging/prod version. And each environment you can design your web app to be scalable using load-balancers.

profile pictureAWS
répondu il y a 2 ans
  • Two applications would mean two separate EC2 instances? Is there a way to do this where it will use the existing EC instances and load balancer?

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions