Docker Platform Options

The following Docker-specific configuration options apply to the Single Container
and Preconfigured Docker platforms.

Note

These configuration options do not apply to the Multicontainer Docker platform.

Namespace: aws:elasticbeanstalk:environment:proxy

Name

Description

Default

Valid Values

ProxyServer

Specifies the web server to use as a proxy.

nginx

nginx

none

Go Platform Options

You can use the following namespace to configure the proxy server to serve static
files. When the proxy server receives
a request for a file under the specified path, it serves the file directly instead
of routing the request to your application. This reduces the number of
requests that your application has to process.

Map a path served by the proxy server to a folder in your source code that contains
static assets. Each option that you define in this namespace maps
a different path.

Set to true to run the AWS X-Ray daemon on the instances in your
environment.

false

true

false

Java SE Platform Options

You can use the following namespace to configure the proxy server to serve static
files. When the proxy server receives
a request for a file under the specified path, it serves the file directly instead
of routing the request to your application. This reduces the number of
requests that your application has to process.

Map a path served by the proxy server to a folder in your source code that contains
static assets. Each option that you define in this namespace maps
a different path.

You can use the following namespace to configure the proxy server to serve static
files. When the proxy server receives
a request for a file under the specified path, it serves the file directly instead
of routing the request to your application. This reduces the number of
requests that your application has to process.

Map a path served by the proxy server to a folder in your source code that contains
static assets. Each option that you define in this namespace maps
a different path.

Set to true to run the AWS X-Ray daemon on the instances in your environment.

false

true

false

Node.js Platform Options

Namespace: aws:elasticbeanstalk:container:nodejs

Name

Description

Default

Valid Values

NodeCommand

Command used to start the Node.js application. If an empty string is specified, app.js is used, then
server.js, then npm start in that order.

""

n/a

NodeVersion

Version of Node.js. For example, 4.4.6

Supported Node.js versions vary between versions of the Node.js platform configuration.
See Node.js in the AWS Elastic Beanstalk Platforms
document for a list of the currently supported versions.

Note

When support for the version of Node.js that you are using is removed from the platform
configuration, you must change or remove the version setting prior to doing a
platform upgrade. This may occur when a
security vulnerability is identified for one or more versions of Node.js

When this occurs, attempting to upgrade to
a new version of the platform that does not support the configured NodeVersion fails. To avoid needing to create a new
environment, change the NodeVersion configuration option to a version that is
supported by both the old configuration version and the new one, or
remove the option setting,
and then perform the platform upgrade.

varies

varies

GzipCompression

Specifies if gzip compression is enabled. If ProxyServer is set to none, then gzip compression is disabled.

false

true

false

ProxyServer

Specifies which web server should be used to proxy connections to Node.js. If ProxyServer
is set to none, then static file
mappings doesn't take affect and gzip compression is disabled.

nginx

apache

nginx

none

You can use the following namespace to configure the proxy server to serve static
files. When the proxy server receives
a request for a file under the specified path, it serves the file directly instead
of routing the request to your application. This reduces the number of
requests that your application has to process.

Map a path served by the proxy server to a folder in your source code that contains
static assets. Each option that you define in this namespace maps
a different path.

Note

Static file settings do not apply if aws:elasticbeanstalk:container:nodejs::ProxyFiles is set to none.

The file that contains the WSGI application. This file must have an application callable.

application.py

n/a

NumProcesses

The number of daemon processes that should be started for the process group when running
WSGI applications.

1

n/a

NumThreads

The number of threads to be created to handle requests in each daemon process within
the process group when running WSGI
applications.

15

n/a

You can use the following namespace to configure the proxy server to serve static
files. When the proxy server receives
a request for a file under the specified path, it serves the file directly instead
of routing the request to your application. This reduces the number of
requests that your application has to process.

Map a path served by the proxy server to a folder in your source code that contains
static assets. Each option that you define in this namespace maps
a different path.