Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Create an Ubuntu Amazon EC2 instance

Focus mode
Create an Ubuntu Amazon EC2 instance - Amazon Kinesis Video Streams

Do the following to create an Ubuntu Amazon EC2 instance.

Create an Ubuntu Amazon EC2 instance
  1. Sign in to the AWS Management Console and open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

    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- https://apt.corretto.aws/corretto.key | sudo apt-key add - sudo add-apt-repository 'deb https://apt.corretto.aws 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
    Important

    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.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.