Create IVS Channel


In this step, you will create a live streaming channel using Amazon Interactive Video Service. Live Streaming Step 1, create IVS channel

An IVS channel can be created using AWS console or by using AWS APIs. Both methods of the two steps are provided below, you can choose either of the two methods.

  1. Create An IVS Channel in AWS Console
  2. Create An IVS Channel using AWS APIs
  3. Module Summary

Create An IVS Channel in AWS Console

  1. On the AWS console, navigate to Interactive Video Service via the following link.

    https://us-west-2.console.aws.amazon.com/ivs/home

  2. Locate and click the Create Channel (orange) button on the page.

  3. In the Create channel > Setup section, type your channel name (in the example below, the channel name is 'mytest-channel'), then click Create channel.

  4. A channel is successfully created with a unique ARN.

  5. On the same page, scroll down and document the following:

    1. Note the Ingest server and Stream key to be used in the next step.
    2. Note the Playback URL to playback the video in the web-browser, Android, and iOS.
    3. Note the ARN value required for API access.
    Note: The stream key will never expire until it is explicitly deleted by calling DeleteStreamKey.
    


Create An IVS Channel Using API

In this section of the module, you will learn to create a channel using API. If you have created your channel already, you can skip this step and continue to the Start Live Streaming module or click (>) arrow on the right.

  1. Download postman application if you do not have it on your laptop via https://www.postman.com/

  2. Open Postman application, in Launchpad tab, click Create a request link.

  3. In the new request tab, set the HTTP request type to POST. Enter HTTP request URL as https://ivs.us-west-2.amazonaws.com/CreateChannel in the Enter request URL box.

  4. Click Authorization tab, select AWS Signature in the TYPE dropdown box.

  5. Copy the value of Access key ID, and Secret access key saved in Create User step, and paste it into AccessKey and SecretKey respectively. Type us-west-2 in AWS region, and ivs in Service Name.

  6. Click Body tab, copy and paste the following JSON text block, make sure the name value is unique channel name in your account. mytest-channel-1 is used in this example.

    {
        "name": "mytest-channel-1",
        "tags": { 
            "type" : "workshop" 
        }
    }
    

    Change the type to JSON. This will change Content-Type header value to application/json

  7. Now the API is ready! Click Send button, and you should see a successful response with Status 200 OK. Go back to your AWS Console, go to Amazon IVS service (https://us-west-2.console.aws.amazon.com/ivs/home) if you navigated away from this page. Click Channels on the left side menu, you should see your channel (mytest-channel-1 in this example) is listed.


Module Summary

In this module, you learnt how to create an IVS channel using the AWS Console or with AWS APIs. Now, we need to provide a stream input to this channel. We will use OBS software to generate a live stream in the Start Live Streaming module.