What is difference between commands and container commands in Elastic Beanstalk?

0 votes

When we setup extensions in .ebextensions

i wonder what is difference between commands and container_commands?

Sep 12, 2018 in AWS by datageek
• 2,500 points
750 views

1 answer to this question.

0 votes

The major difference between these two pieces is when in the Elastic Beanstalk deployment process they are run.

Commands

These commands are run early in the deployment process, before the web server has been set up, and before your application code has been unpacked:

By default, the commands run in the root user's home folder. This and various other pieces of EB's behavior can be changed via options (working directory, whether to continue on error, environment variables to pass to commands, etc.) that can be passed along with the commands

Container_commands

Container commands run after the application and web server have been set up and the application version archive has been extracted, but before the application version is deployed. Non-container commands and other customization operations are performed prior to the application source code being extracted

answered Sep 12, 2018 by Archana
• 4,150 points

Related Questions In AWS

+1 vote
1 answer

What is the difference between an Instance, AMI and Snaphots in AWS?

AMI is the Amazon Machine Image which provides ...READ MORE

answered May 24, 2019 in AWS by ArchanaNagur
• 2,340 points
1,071 views
0 votes
1 answer
0 votes
1 answer

What is the difference between Amazon Cloudfront and S3

major difference is that cloudfront allows you ...READ MORE

answered Jul 9, 2018 in AWS by Priyaj
• 57,700 points
654 views
0 votes
3 answers
0 votes
2 answers

What is the difference between Amazon SNS and Amazon SQS?

Amazon SQS and SNS are the two ...READ MORE

answered Sep 9 in AWS by Michael
• 140 points
1,420 views
0 votes
1 answer

What is difference between Lightsail and EC2?

EC2 is one of the service by AWS ...READ MORE

answered Aug 7, 2018 in AWS by ArchanaNagur
• 2,340 points
1,071 views
0 votes
2 answers

What is the difference between CloudWatch and CloudTrail?

CloudWatch is mostly used to monitor operational ...READ MORE

answered Jun 1, 2019 in AWS by Javed Ali
7,941 views
0 votes
1 answer

What is command to install Visual C++ in Elastic Beanstalk?

Below solution worked for me Download the redistributable ...READ MORE

answered Aug 28, 2018 in AWS by Archana
• 4,150 points
354 views
0 votes
1 answer

What is the difference between EBS snapshots & AMI?

The major difference is between the type ...READ MORE

answered Oct 16, 2018 in AWS by Archana
• 4,150 points

edited Oct 16, 2018 by Archana 2,214 views