Step 4: Creating MediaConnect Contribution Flows

Let’s start creating two MediaConnect contributions flows. The source for these contribution flows can be a feed from an on-premises encoder, system, or a playout system running in the cloud. In our workshop, we will use a simulated source emanating from MediaLive, but you may bring your own.

Note

In order to minimize cross-AZ traffic, we will choose the same AZ for our signal path. In this example we will choose us-west-2a.

  1. Search for MediaConnect in the search bar and enter into MediaConnect Console.

    Alt text Alt text

MediaConnect Contribution Flow

  1. Click on Create Flow.

  2. Add a Name for the Flow. In this example, contribution-flow-01.

    Choose an Availability Zone for our signal path.

    Add a Name for the Source of the flow. In this example, rtp-source-01, as we will be using RTP from AWS Elemental Media Live as a source.

    Define the Protocol: RTP.

    Allowlist CIDR block 0.0.0.0/0.

    Define the Inbound port: 7000.

    Alt text Alt text

Note

After we create the MediaLive channel, we will go back here and restrict the Allowlist CIDR to the be the CIDR IP of the MediaLive output.

  1. Click Create Flow, and take note of the Public Outbound IP address. We will use it to configure the MediaLive channel.

    Alt text Alt text

  2. In order for our contribution flow to communicate with our switcher EC2 instance within our VPC, we need to create a VPC Interface. Select the VPC intefaces tab and click Add VPC interface.

    Alt text Alt text

  3. Under Name, type in vpc-interface

    Under Role ARN select the MediaConnectServiceRole we created earlier.

    Under VPC select the default VPC.

    Under Subnet, select the only subnet listed that corresponds to the us-west-2a AZ.

    Under Security groups, select the contribution-security-group we created earlier.

    Now click Add.

    Alt text Alt text

    You should now see the newly created vpc-inteface listed under the VPC interfaces tab.

    Alt text Alt text

  4. Now in order to direct the output of the Contribution flow to the switcher, we need to click the Outputs tab and click Add output.

    Alt text Alt text

  5. In the Add output form, fill in the following information.

    Under Name, type output-to-switcher.

    Under Output type, select VPC output.

    Under Protocol, select SRT caller.

    Under Destination address, type in the private IP addres of our EC2 switcher instance.

    Under Port, type in 5001.

    Under Output to VPC, select vpc-interface.

    Then click Add output.

    Alt text Alt text

  6. Repeat steps 1-7 to create a new contribution flow and name it contribution-flow-02 with a corresponding source of rtp-source-01. Make sure to use the same AZ as before.

    When creating the output to the switcher, use 5002 when filling in Port as port 5001 will be in use by contribution-flow-01.

    You should now have two contribution MediaConnect flows with their own corresponding Public IPs.

Alt text Alt text

Let’s jump into the next session and configure the MediaLive Channels.

 


Click here to advance to the next step »