Step 1: Create an Ubuntu Amazon EC2 instance - Amazon Kinesis Video Streams
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).

Step 1: Create an Ubuntu Amazon EC2 instance

Do the following to create an Ubuntu Amazon EC2 instance.

Create an Ubuntu Amazon EC2 instance
  1. Sign in to the Amazon Web Services Management Console and open the Amazon EC2 console at

    Verify that the appropriate Region is selected.

  2. Choose Launch Instance.

    Complete the following fields:

    • Name – Type a name for the instance.

    • Application and OS Images (Amazon Machine Image) – Select Ubuntu.

    • Instance type – Select t2.large.

    • Key pair login – Create your own key pair.

    • Network settings – Keep the default.

    • Configure storage – Increase the volume to 256 GiB.

    • Advanced settings – Keep the default.

  3. Launch the instance and SSH into it.

    Do the following:

    1. Select Instances in the left navigation, then select the instance ID.

    2. Choose Connect in the top-right.

    3. Choose SSH client and follow the instructions on the screen.

    4. Open a terminal and navigate to the downloaded .pem file (likely in ~/Downloads).

    5. The first time you follow these procedures, you will receive the message "The authenticity of host (…) can't be established." Type yes.

  4. Install system libraries to build the Amazon Kinesis Video Streams Edge Agent onto the instance.

    wget -O- | sudo apt-key add - sudo add-apt-repository 'deb stable main' sudo apt-get update sudo apt-get install -y gcc libssl-dev libcurl4-openssl-dev liblog4cplus-dev \ libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \ gstreamer1.0-plugins-base-apps gstreamer1.0-plugins-bad \ gstreamer1.0-plugins-good gstreamer1.0-tools \ unzip java-11-amazon-corretto-jdk maven

    If you see a screen telling you that some services need to be restarted, press Enter to select Ok.

    For more information, see Amazon Corretto 11 User Guide.