# Cofigure AWS Cloud 9 IDE

## AWS Cloud9 IDE 구성&#x20;

해당 실습에서는 클라우드 기반 IDE(통합 개발 환경)인 Cloud9을 통해서 실습 진행에 필요한 소스코드를 작성 및 실행합니다.

1\. AWS 관리 콘솔에서 Cloud9 서비스로 이동합니다.

![](https://static.us-east-1.prod.workshops.aws/public/5a2d01e1-10c7-46f9-9238-36d1d3db3ee8/static/lab-0-getting-started/images/search-cloud-9.png)

2\. 이미 생성되어 있는 *kinesis-lab* Cloud9 인스턴스를 선택하고 **Open IDE** 를 클릭해서 인스턴스를 구동합니다.

![](/files/34DsqZyAI5T5v4MY0rVi)

3\. IDE가 구동되는데 짧게는 몇 초, 길게는 수분까지 걸릴 수 있으며 구동이 완료되면 다음 화면이 표시됩니다.

![](https://static.us-east-1.prod.workshops.aws/public/5a2d01e1-10c7-46f9-9238-36d1d3db3ee8/static/lab-0-getting-started/images/cloud-9-first-look.png)

4\. 터미널에 아래의 명령어를 입력해서 Maven을 설치합니다.

```
{
    sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo
    sudo sed -i s/\$releasever/6/g /etc/yum.repos.d/epel-apache-maven.repo
    sudo yum install -y apache-maven
}
```

5\. Maven이 바라볼 Java 버전을 설정합니다.

```
sudo update-alternatives --config java
sudo update-alternatives --config javac
```

6\.  Java 11 버전이 사용되고 있는지 확인합니다.&#x20;

```
$ sudo update-alternatives --config java

There are 2 programs which provide 'java'.

  Selection    Command
-----------------------------------------------
   1           /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java
*+ 2           /usr/lib/jvm/java-11-amazon-corretto/bin/java

Enter to keep the current selection[+], or type selection number: 2

There are 2 programs which provide 'java'.

  Selection    Command
-----------------------------------------------
   1           /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java
*+ 2           /usr/lib/jvm/java-11-amazon-corretto/bin/java

Enter to keep the current selection[+], or type selection number: 2
```


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://workshop.fitcloud.co.kr/immersion-day/2022.04-data-analytics/produce-data-to-kinesis-data-streams/cofigure-aws-cloud-9-ide.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
