Installing JDK on Amazon Elastic Beanstalk instances

0

It seems that the application on our Elastic Beanstalk cluster requires not just a JVM, but also a JDK, because it has the capability of installing extensions that it has to compile from Java source.

And we just now discovered, when we tried to use that capability on the cluster, instead of on a non-clustered development box, that the compiler isn't there.

Clearly, we need to customize what AWS uses to spin up new instances, so that it includes a working JDK.

But how?

已提問 5 年前檢視次數 263 次
1 個回答
0

Thankfully, one of our overseas developers found the answer for me.

  1. Install the JDK on a cluster instance.
  2. Change the Tomcat JDK home to point to it.
  3. Create a custom AMI from the modified cluster node.
  4. Note down the cluster's current AMI ID, in case something goes wrong.
  5. Plug the custom AMI into the cluster, in its place.
已回答 5 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南