We want to be able to retrieve the elastic beanstalk application version in our PHP code. I don't see that EB passes it to us in any server configuration files, which I find it strange. Does anyone else know how we might be able to get this?
For more information, see eb appversion in the EB CLI commands chapter. Open the Elastic Beanstalk console , and in the Regions list, select your AWS Region. In the navigation pane, choose Applications, and then choose your application's name from the list.
Go to EC2 Management Console and then search instances by tag:elasticbeanstalk:environment-name with your Elastic Beanstalk environment name as the value. You can also look at DescribeInstancesHealth API which provides a paginated list of instance ids along with their health.
AWS Elastic Beanstalk is an easy-to-use service for deploying and scaling web applications and services developed with Java, . NET, PHP, Node. js, Python, Ruby, Go, and Docker on familiar servers such as Apache, Nginx, Passenger, and IIS.
Elastic Beanstalk supports Graviton on 64bit Amazon Linux 2 for a variety of platform and branches.
At least for Docker containers - you can use the information stored in /opt/elasticbeanstalk/deploy/manifest
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With