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!
질문됨 2년 전1521회 조회
1개 답변
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
답변함 2년 전
  • 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?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠