> For the complete documentation index, see [llms.txt](https://genos-docs.gitbook.io/default/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://genos-docs.gitbook.io/default/v1.9.3/basic-tutorials/guides/development/code_space/create_code_space.md).

# 코드 스페이스 생성

공유 볼륨 생성한 걸 바탕으로 코드 스페이스 생성을 해보겠습니다.

### 1. 메뉴에서 **개발 - 코드스페이스** 진입

<figure><img src="https://541419907-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKhN1XWFV3oOVnFMMIHTE%2Fuploads%2Fgit-blob-7b39778fd60b612e42df71e9b750770938e62c18%2Fc11.png?alt=media" alt=""><figcaption></figcaption></figure>

### **2. 코드 스페이스 생성 버튼** 클릭

<figure><img src="https://541419907-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKhN1XWFV3oOVnFMMIHTE%2Fuploads%2Fgit-blob-7b4486381bc73382570b018357420c19eeecd62f%2Fc12.png?alt=media" alt=""><figcaption></figcaption></figure>

제목, 관리그룹, 도커 이미지, 인스턴스 타입, GPU 할당량, 공유 볼륨을 상황에 맞게 선택하면 됩니다.

<figure><img src="https://541419907-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKhN1XWFV3oOVnFMMIHTE%2Fuploads%2Fgit-blob-8b8741ab1422c4941783de6bcfc6bd6eca942a60%2Fc13.png?alt=media" alt=""><figcaption></figcaption></figure>

설정 예시입니다.

### **3. 코드 스페이스 생성 확인**

<figure><img src="https://541419907-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKhN1XWFV3oOVnFMMIHTE%2Fuploads%2Fgit-blob-254633b37c6c40524b565d1ef5269bc915cad8c3%2Fc14.png?alt=media" alt=""><figcaption></figcaption></figure>

코드 스페이스 생성이 완료되셨다면 목록에서 확인하실 수 있습니다. 더블 클릭으로 상세 페이지로 접근이 가능합니다.

### **4. 코드 스페이스 상세 페이지**

<figure><img src="https://541419907-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKhN1XWFV3oOVnFMMIHTE%2Fuploads%2Fgit-blob-f3c8d8a7761b3b3aab0cfda85896a4b9b182ac3e%2Fc15.png?alt=media" alt=""><figcaption></figcaption></figure>

**코드 스페이스 상세 페이지입니다. 코드 스페이스 시작, 중지, 삭제, 수정을 할 수 있습니다.**

### **5. 코드 스페이스 시작**

<figure><img src="https://541419907-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKhN1XWFV3oOVnFMMIHTE%2Fuploads%2Fgit-blob-26cb84104c08616f6c0a5cecc0ef8986e250fb02%2Fc16.png?alt=media" alt=""><figcaption></figcaption></figure>

시작 버튼을 눌러서 코드 스페이스 배포를 할 수 있습니다. 연결에 보이는 VSCode, Jupyter, JupyterLab을 클릭하시면 원하는 IDE로 연결하여 들어갈 수 있습니다.

### **6. 코드 스페이스 연결**

<figure><img src="https://541419907-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKhN1XWFV3oOVnFMMIHTE%2Fuploads%2Fgit-blob-6aa3fdb9742e5fbcb27e996e2a2d6d2097616a69%2Fc17.png?alt=media" alt=""><figcaption></figcaption></figure>

예시로 JupyterLab에 들어간 화면입니다.

<figure><img src="https://541419907-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKhN1XWFV3oOVnFMMIHTE%2Fuploads%2Fgit-blob-6cc065dd5d912eddb48dd5d18eddb765bfd4f60e%2Fc18.png?alt=media" alt=""><figcaption></figcaption></figure>

제대로 실행되는 것을 확인하실 수 있습니다.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://genos-docs.gitbook.io/default/v1.9.3/basic-tutorials/guides/development/code_space/create_code_space.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
