Changing environment settings in AWS Cloud9 - AWS Cloud9

AWS Cloud9 is no longer available to new customers. Existing customers of AWS Cloud9 can continue to use the service as normal. Learn more

Changing environment settings in AWS Cloud9

You can change the preferences or settings for an AWS Cloud9 development environment.

Change environment preferences

  1. Open the environment that you want to change settings for. To open an environment, see Opening an Environment.

  2. In the AWS Cloud9 IDE, on the menu bar, choose AWS Cloud9, Preferences.

  3. In the Preferences window, choose Project Settings.

  4. Change any of the available project settings as you want. These include settings such as Code Editor (Ace) and Find in Files.

Note

For more information, see Project Setting Changes You Can Make.

Adjusting the timeout of an environment in the AWS Cloud9 IDE

The following steps outline how to update the timeout period for an Amazon EC2 environment in the AWS Cloud9 IDE. This will be the amount of time before the environment stops.

  1. Open the environment that you want to configure.

  2. In the AWS Cloud9 IDE, on the menu bar, choose AWS Cloud9 Preferences.

  3. In the Preferences window scroll to the Amazon EC2 instance section.

  4. Select the timeout value from the list available and update.

Change environment settings with the console

  1. Sign in to the AWS Cloud9 console as follows:

  2. In the top navigation bar, choose the AWS Region where the environment is located.

    AWS Region selector in the AWS Cloud9 console
  3. In the list of environments, for the environment whose settings you want to change, do one of the following.

    • Choose the title of the card for the environment. Then choose View details on the next page.

    • Select the card for the environment, and then choose the View details button.

  4. Make your changes, and then choose Save changes.

    You can use the AWS Cloud9 console to change the following settings.

    • For EC2 environments, Name and Description.

    • For SSH environments: Name, Description, User, Host, Port, Environment path, Node.js binary path, and SSH jump host.

    To change other settings, do the following.

If your environment isn't displayed in the console, try doing one or more of the following actions to have it be displayed.

  • In the dropdown menu bar on the Environments page, choose one or more of the following.

    • Choose My environments to display all environments that your AWS entity owns within the selected AWS Region and AWS account.

    • Choose Shared with me to display all environments your AWS entity was invited to within the selected AWS Region and AWS account.

    • Choose All account environments to display all environments within the selected AWS Region and AWS account that your AWS entity has permissions to display.

  • If you think you are a member of an environment, but the environment isn't displayed in the Shared with you list, check with the environment owner.

  • In the top navigation bar, choose a different AWS Region.

Change environment settings with code

To use code to change the settings of an environment in AWS Cloud9, call the AWS Cloud9 update environment operation, as follows.

AWS CLI

update-environment

AWS SDK for C++

UpdateEnvironmentRequest, UpdateEnvironmentResult

AWS SDK for Go

UpdateEnvironment, UpdateEnvironmentRequest, UpdateEnvironmentWithContext

AWS SDK for Java

UpdateEnvironmentRequest, UpdateEnvironmentResult

AWS SDK for JavaScript

updateEnvironment

AWS SDK for .NET

UpdateEnvironmentRequest, UpdateEnvironmentResponse

AWS SDK for PHP

updateEnvironment

AWS SDK for Python (Boto)

update_environment

AWS SDK for Ruby

update_environment

AWS Tools for Windows PowerShell

Update-C9Environment

AWS Cloud9 API

UpdateEnvironment