Anmol Gupta
Anmol Gupta

Reputation: 2957

Deploying separate front end web app and RESTful API on Elastic Beanstalk?

My question is exactly same as: https://forums.aws.amazon.com/thread.jspa?threadID=140592 , which is unanswered.

How do people usually deploy when they have separate front end application running in say Apache, and a RESTful API running in Tomcat, using Elastic Beanstalk.

Separate Elastic Beanstalk for front end and back end?

Or is there a way to deploy both in the same Elastic Beanstalk?

Upvotes: 7

Views: 4016

Answers (1)

Dave Maple
Dave Maple

Reputation: 8412

Based on your use-case I would recommend you host your static files with S3, your API on Elastic Beanstalk and use Cloudfront to route requests between them.

Similar use case: https://www.codeengine.com/articles/process-form-aws-api-gateway-lambda/

Upvotes: 4

Related Questions