AWS Workshop
  • About
  • Immersion Day
    • 2025.06 - EKS
    • 2025.03 - Generative AI
    • 2025.02 - ECS
    • 2024.09 - EKS
    • 2024.07 - Security
    • 2024.05 - ECS
    • 2024.01 - Generative AI
    • 2023.10 - Security
    • 2023.08 - MSK
    • 2023.06 - DevOps
    • 2023.04 - AI/ML
    • 2023.02 - EKS
    • 2023.01 - General
    • 2022.12 - 광주소프트웨어마이스터고등학교
    • 2022.12 - Data Analytics
      • Getting started
        • Create a Kinesis Data Stream
      • Produce data to Kinesis Data Streams
        • Cofigure AWS Cloud 9 IDE
        • Using the Amazon SDK with Kinesis
          • Working with the SDK
        • Using the Kinesis Producer Library
          • A Simple Producer
          • Error Analysis and Resiliency
          • CloudWatch Metrics from the Kinesis Producer Library
      • Lambda with Kinesis Data Firehose
        • Overview
        • Create Glue Table
        • Create Kinesis Data Firehose Delivery Stream
        • Stream the data and validate output
      • Clean, Aggregate, and Enrich Events with Kinesis Data Analytics
        • Setup Kinesis Data Analytics Studio
        • Stream the data and validate output
    • 2022.11 - General
    • 2022.10 - EKS
    • 2022.09 - General
    • 2022.08 - 큐피스트
    • 2022.08 - Security
    • 2022.07 - General
    • 2022.06 - Serverless
    • 2022.05 - EKS
    • 2022.05 - 백패커
    • 2022.05 - General
    • 2022.04 - DevOps
    • 2022.04 - Data Analytics
      • Getting started
        • Create a Kinesis Data Stream
      • Produce data to Kinesis Data Streams
        • Cofigure AWS Cloud 9 IDE
        • Using the Amazon SDK with Kinesis
          • Working with the SDK
        • Using the Kinesis Producer Library
          • A Simple Producer
          • Error Analysis and Resiliency
          • CloudWatch Metrics from the Kinesis Producer Library
      • Lambda with Kinesis Data Firehose
        • Overview
        • Create Glue Table
        • Create Kinesis Data Firehose Delivery Stream
        • Stream the data and validate output
      • Clean, Aggregate, and Enrich Events with Kinesis Data Analytics
        • Setup Kinesis Data Analytics Studio
        • Stream the data and validate output
    • 2022.03 - General
    • 2022.02 - AI/ML
    • 2022.01 - General
    • 2021.12 - Container
    • 2021.11 - General
    • 2021.10 - General
  • Seminar
    • 2024.07 - 동국대 특강
    • 2024.06 - Generative AI
Powered by GitBook
On this page

Was this helpful?

  1. Immersion Day
  2. 2022.12 - Data Analytics
  3. Produce data to Kinesis Data Streams

Cofigure AWS Cloud 9 IDE

PreviousProduce data to Kinesis Data StreamsNextUsing the Amazon SDK with Kinesis

Last updated 2 years ago

Was this helpful?

AWS Cloud9 IDE 구성

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

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

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

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

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 버전이 사용되고 있는지 확인합니다.

$ 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