I have 2 AWS machines, 1.dev (ec2) 2. prod (elastic beanstalk) . I create and deploy to dev (machine1) after each commit, which is output to a military file (which will also be loaded into the S3 bucket using the s3cmd tool). Then I test the recently launched war on a dev machine, if it seems perfect, then I load the war with dev (ec2) and then load it into the machine for production (elastic beanstalk).
Is there a way to make an elastic beanstalk to take the war directly from the S3 bucket, rather than loading it from ec2 and then loading it into the elastic beanstalk?
I tried to create a new environment, and then gave the path to the s3 bucket for the application version, but it does not work. (gave some error saying "this can only be done in VPC").
source share