AWS Elastic Beanstalk
Developer Guide (API Version 2010-12-01)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

elastic-beanstalk-restart-app-server

Description

Causes the environment to restart the application container server running on each Amazon EC2 instance.

Syntax

elastic-beanstalk-restart-app-server [-e [name] | -E [id]]

Options

NameDescriptionRequired

-e

--environment-name name

The name of the environment to restart the server for.

Type: String

Default: None

Length Constraints: Minimum value of 4. Maximum value of 23.

Conditional

-E

--environment-id id

The ID of the environment to restart the server for.

Type: String

Default: None

Conditional

Examples

Restarting the Application Server

This example shows how to restart the application server.

PROMPT> elastic-beanstalk-restart-app-server -e MySampleAppEnv