Increment command timeout in EBS from the -AWS

I am deploying a Dockerfile and a in Elastic beanstalk and it was giving an error because some commands were surpassing the maximum command timeout. I can fix this error by going to Updates and Deployments, and modifying the maximum timeout. But I would like to know if there is a command to increase the maximum command timeout of EBS from the or another way to do that automatically ?

  • Connection refused with kubectl on EC2 ubuntu instance?
  • AWS Beanstalk docker image automatic update doesn't work
  • AWS EC2 Container program command line arguments
  • How does Docker bypass needing an OS?
  • Jenkins amazon-ecr plugin issue
  • Docker filling up my SSD with containers when I stop an AWS server?
  • Citrus-Framework: How to wait for container to be healthy?
  • rails docker app bundle rake aborted
  • Ipython notebook in Docker container on ubuntu 16
  • Running docker command in azure docker VM
  • Docker Compose JVM parameters
  • creating new SSH keys during docker run
  • 2 Solutions collect form web for “Increment command timeout in EBS from the -AWS”

    No you cannot increase the timeout using but you can bundle an ebextension in your app source with this option setting.

    Create a file in your app source in a directory called .ebextensions. Lets say the file is .ebextensions/01-increase-timeout.config.

    The contents of the file should be:

        - namespace: aws:elasticbeanstalk:command
          option_name: Timeout
          value: 1000

    Note this file is in YAML format.
    After this you can update your environment with this version of source code.

    Previously answered here:

    Another option is to do this using the Aws Tools for Windows PowerShell. This one liner will get every EB environment in your account and then set the command timeout to 400 seconds, with a 15 second sleep between each command to avoid AWS’s API rate limits.

    PS C:\> get-ebenvironment | % {start-sleep -Seconds 15;  Update-EBEnvironment -ApplicationName $_.ApplicationName -EnvironmentName $_.EnvironmentName -OptionSetting @{"namespace"="aws:elasticbeanstalk:command"; "optionName"="Timeout";  "value"=400} }
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.