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?

feita há 5 anos263 visualizações
1 Resposta
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.
respondido há 5 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas