Sorry but this is so wrong. You should never "log in" and install anything on an ec2 instance that is built by Elastic Beanstalk.
The configuration of your elastic beanstalk environment should be done using the .ebextensions and .platform directories. Look it up.
Otherwise, the moment you do an update or scale out and EB build a new instance, you have to log in and do it all over again.
You can also set all your settings as environment variables in the elastic beanstalk config.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Sorry but this is so wrong.
You should never "log in" and install anything on an ec2 instance that is built by Elastic Beanstalk.
The configuration of your elastic beanstalk environment should be done using the .ebextensions and .platform directories. Look it up.
Otherwise, the moment you do an update or scale out and EB build a new instance, you have to log in and do it all over again.
You can also set all your settings as environment variables in the elastic beanstalk config.