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?
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/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With