Skip to content
Advertisement

Tag: amazon-elastic-beanstalk

Application source bundle doesn’t work when uploaded to AWS Elastic Beanstalk

I’m trying to upload a Java/Spring Boot app that runs in a Linux 2 Coretto 11 environment. Everything worked fine when I uploaded the standalone JAR files, but I started creating an application bundle instead so I could configure the environment, specifically client_max_body_size. It looks like the app is starting but then some error happens with not much info (logs).

What’s the recommended way to set networkaddress.cache.ttl in Elastic Beanstalk?

I need to set Java’s DNS cache TTL (networkaddress.cache.ttl) for an Amazon Elastic Beanstalk app running in Tomcat 8. Because EB can start and stop server instances at any time, I can’t simply edit a Tomcat config file and the server and expect the change to persist. I tried setting the networkaddress.cache.ttl and sun.net.inetaddr.ttl environment variables, but those had no

Advertisement