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,440 points
78 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,090 points

Related Questions In AWS

+1 vote
1 answer
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
• 56,160 points
98 views
0 votes
2 answers

What is the difference between Amazon ECS and Amazon EC2?

EC2 allows you to launch individual instances ...READ MORE

answered Jul 11, 2018 in AWS by Priyaj
• 56,160 points
1,276 views
0 votes
1 answer

What is the difference between Amazon SNS and Amazon SQS?

SNS is a distributed publish-subscribe system and the messages are pushed to ...READ MORE

answered Jul 30, 2018 in AWS by Mrunal
• 680 points
502 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,110 points
235 views
0 votes
2 answers
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,090 points
54 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,090 points

edited Oct 16, 2018 by Archana 389 views