A developer is making changes to a custom application that uses AWS Elastic Beanstalk. Which solutions will update the Elastic Beanstalk environment with the new application version after the developer completes the changes? (Choose two.)
A.
Package the application code into a .zip file. Use the AWS Management Console to upload the zip file and deploy the packaged application.
B.
Package the application code into a .tar file. Use the AWS Management Console to create a new application version from the .tar file. Update the environment by using the AWS CLI.
C.
Package the application code into a .tar file. Use the AWS Management Console to upload the .tar file and deploy the packaged application.
D.
Package the application code into a .zip file. Use the AWS CLI to create a new application version from the .zip file and to update the environment.
E.
Package the application code into a .zip file. Use the AWS Management Console to create a new application version from the .zip file. Rebuild the environment by using the AWS CLI.
Elastic Beanstalk supports updating an environment with a new application version in multiple ways, primarily through the AWS Management Console or the AWS CLI.
Elastic Beanstalk does not support .tar files;
E) Eliminated - Rebuilding the environment is unnecessary for deploying a new application version. This approach would recreate resources (e.g., instances, load balancers), leading to increased downtime and resource usage, which is not required to update the environment
elasticbeanstalk is allergic to .tar files:
2023/12/09 17:38:45.327466 [INFO] Executing instruction: StageApplication
2023/12/09 17:38:45.327795 [ERROR] An error occurred during execution of command [app-deploy] - [StageApplication]. Stop running the command. Error: staging application failed due to invalid zip file
A,D looking more realistic.
When you go to your EB console and any application ; rightaway on the console you can see a BIG option to upload and deploy ;thats where I lean to A. (Upload zip and Deploy).
And to D obviously you can do the same with AWS EB CLI , by creating application new version and updating environment fot the target app.
https://docs.aws.amazon.com/cli/latest/reference/elasticbeanstalk/update-environment.html
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
JonasKahnwald
4 months, 2 weeks agosumanshu
4 months, 2 weeks agosumanshu
4 months, 2 weeks agoxdkonorek2
1 year, 4 months agoRachitNandi1997
1 year, 8 months agorcaliandro
1 year, 10 months agosichilam
2 years, 3 months agoKT_Yu
2 years, 3 months agohaazybanj
2 years, 7 months agoJOL86
2 years, 8 months agoLEHUY
2 years, 8 months ago