Launch a Code Editor application in Studio - Amazon SageMaker
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Launch a Code Editor application in Studio

To configure and access your Code Editor integrated development environment through Studio, you must create a Code Editor space. For more information about spaces in Studio, see Amazon SageMaker Studio spaces.

The Code Editor application button and overview tile in the Studio UI.

The following procedure shows how to create and run a Code Editor space.

To create and run a Code Editor space
  1. Launch the updated Studio experience. For more information, see Launch Amazon SageMaker Studio.

  2. Do one of the following:

    • Within the updated Amazon SageMaker Studio UI, select Code Editor from the Applications menu.

    • Within the updated Amazon SageMaker Studio UI, choose View Code Editor spaces in the Overview section of the Studio homepage.

  3. In the upper-right corner of the Code Editor landing page, choose Create Code Editor space.

  4. Enter a name for your Code Editor space. The name must be 1–62 characters in length using letters, numbers, and dashes only.

  5. Choose Create space.

  6. After the space is created, you have some options before you choose to run the space:

    • You can edit the Storage (GB), Lifecycle Configuration, or Attach custom EFS file system settings. Options for these settings are available based on administrator specification.

    • From the Instance dropdown menu, you can choose the instance type most compatible with your use case. From the Image dropdown menu, you can choose a SageMaker Distribution image or a custom image provided by your administrator.

      If you use a GPU instance type when configuring your Code Editor application, you must also use a GPU-based image. Within a space, your data is stored in an Amazon EBS volume that persists independently from the life of an instance. You won't lose your data when you change instances.

    Note

    To update space settings, you must first stop your space. If your Code Editor uses an instance with NVMe instance stores, any data stored on the NVMe store is deleted when the space is stopped.

  7. After updating your settings, choose Run Space in the space detail page.

  8. After the status of the space is Running, choose Open Code Editor to go to your Code Editor session.

The space detail page for a Code Editor application in the Studio UI.

Within the Code Editor Studio landing page, you can filter and manage existing spaces.

To manage your Code Editor spaces
  1. Navigate to the Code Editor Studio landing page and filter your Code Editor spaces by Private to me or Running.

  2. Do one of the following:

    • Within the Code Editor Studio landing page, in the row of the space name of your choice, you can Stop, Start, or Open that space in the Action column.

    • Choose the name of a space in the Code Editor Studio landing page. This takes you to the space detail page where you can also Stop, Start, or Open that space or update the space settings.