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.
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.
MediaConnect Contribution Flow
-
Click on Create Flow.
-
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.
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.
-
Click Create Flow, and take note of the Public Outbound IP address. We will use it to configure the MediaLive channel.
-
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.
-
Under Name, type in
vpc-interfaceUnder Role ARN select the
MediaConnectServiceRolewe created earlier.Under VPC select the default VPC.
Under Subnet, select the only subnet listed that corresponds to the
us-west-2aAZ.Under Security groups, select the
contribution-security-groupwe created earlier.Now click Add.
You should now see the newly created
vpc-intefacelisted under the VPC interfaces tab. -
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.
-
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.
-
Repeat steps 1-7 to create a new contribution flow and name it
contribution-flow-02with a corresponding source ofrtp-source-01. Make sure to use the same AZ as before.When creating the output to the switcher, use
5002when filling in Port as port5001will be in use bycontribution-flow-01.You should now have two contribution MediaConnect flows with their own corresponding Public IPs.
Let’s jump into the next session and configure the MediaLive Channels.








