Menu
AWS Elastic Beanstalk
Developer Guide (API Version 2010-12-01)

eb platform

Description

Lists supported platforms and enables you to set the default platform and platform version to use when you launch an environment. Use eb platform list to view a list of all supported platforms. Use eb platform select to change the platform for your project. Use eb platform show to view your project's selected platform.

Syntax

eb platform list

eb platform select

eb platform show

Options

Name

Description

list

List the version of the current platform.

select

Select a default platform.

show

Show information about the current platform.

Example 1

The following example provides the full name of containers for all platforms that Elastic Beanstalk currently supports.

$ eb platform list
docker-1.5.0
glassfish-4.0-java-7-(preconfigured-docker)
glassfish-4.1-java-8-(preconfigured-docker)
go-1.3-(preconfigured-docker)
go-1.4-(preconfigured-docker)
iis-7.5
iis-8
iis-8.5
multi-container-docker-1.3.3-(generic)
node.js
php-5.3
php-5.4
php-5.5
python
python-2.7
python-3.4
python-3.4-(preconfigured-docker)
ruby-1.9.3
ruby-2.0-(passenger-standalone)
ruby-2.0-(puma)
ruby-2.1-(passenger-standalone)
ruby-2.1-(puma)
ruby-2.2-(passenger-standalone)
ruby-2.2-(puma)
tomcat-6
tomcat-7
tomcat-7-java-6
tomcat-7-java-7
tomcat-8-java-8

Example 2

The following example prompts you to choose from a list of platforms and the version that you want to deploy for the specified platform.

$ eb platform select
Select a platform.
1) PHP
2) Node.js
3) IIS
4) Tomcat
5) Python
6) Ruby
7) Docker
8) Multi-container Docker
9) GlassFish
10) Go
(default is 1): 5

Select a platform version.
1) Python 2.7
2) Python
3) Python 3.4 (Preconfigured - Docker)

Example 3

The following example lists your current default platform and the default platform that Elastic Beanstalk will launch by default for environments that you create later.

$ eb platform show
Current default platform: Python 2.7
New environments will be running:  64bit Amazon Linux 2014.09 v1.2.0 running Python 2.7

Platform info for environment "tmp-dev":
Current: 64bit Amazon Linux 2014.09 v1.2.0 running Python
Latest:  64bit Amazon Linux 2014.09 v1.2.0 running Python