elastic-beanstalk Setting JVM Options

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Remarks

-bundle.zip         //--> bundle file which will be uploaded
|--.ebextensions     //--> the file name must be exactly ".ebextensions"
   |--jvm.config    //--> config file that will set the JVM options on deployment (upload)
|--java_app.jar     //Here, I am using Spring Boot

option_settings:                                  //--> must have line
  aws:elasticbeanstalk:application:environment:   //--> namespace used to set JVM values
    XX:MaxPermSize: 256m                          //--> set XX:MaxPermSize to 256m
    Xmx: 1024m                                    //--> set Xmx to 1024m
    Xms: 512m                                     //--> set Xms to 512m


Got any elastic-beanstalk Question?