Creating a transport stream flow that uses a VPC source
Transport stream flows transport compressed content that is muxed into a single stream.
When you create a flow that uses a source from your virtual private cloud (VPC), your content does not go over the public internet. This is useful for security reasons as well as reliability. You set up your VPC and then create a flow that has an interface to that VPC. Alternatively, you can create a flow based on an entitlement that another AWS account granted to allow you to use their content (entitled source) or a standard source.
Important
Before you begin this procedure, make sure that the following steps have been completed:
-
In Amazon VPC, set up your VPC and associated security groups. For more information about VPCs, see the Amazon VPC User Guide. For information about configuring security groups to work with your VPC interface, see Security group considerations.
-
If the source of your flow requires encryption, set up encryption.
Create a transport stream flow that uses a VPC source (console)
Open the MediaConnect console at https://console.aws.amazon.com/mediaconnect/
. -
On the Flows page, choose Create flow.
-
In the Details section, for Name, specify a name for your flow. This name will become part of the ARN for this flow.
Note
MediaConnect allows you to create multiple flows with the same name. However, we encourage you to use unique flow names within an AWS Region to help with organization. After you create a flow, you can't change the name.
-
For Availability Zone, choose Any or choose the Availability Zone where your VPC subnet resides. We recommend that you leave this as Any and let the service ensure that the Availability Zone is set correctly.
-
In the Source section, for Source type, choose VPC source.
-
For Name, specify a name for your source. This value is an identifier that is visible only on the MediaConnect console.
-
Determine which protocol your source uses.
Note
If you want to specify redundant sources for failover, create the flow with one of the sources. After the flow is created, update it to activate failover on the source, and add the second source to the flow. Because MediaConnect treats both sources as the primary source, it doesn't matter which one you specify when you first create the flow.
-
For specific instructions based on your protocol, choose one of the following tabs:
-
For each VPC that you want to connect to the flow, do the following:
-
In the VPC interface section, choose Add VPC interface.
-
For Name, specify a name for your VPC interface. The name of the VPC interface must be unique within the flow.
-
For Role ARN, specify the Amazon Resource Name (ARN) of the role that you created when you set up MediaConnect as a trusted service.
-
For VPC, choose the ID of the VPC that you want to use.
Note
If you don't see the VPC that you want in the list, verify that the VPC has been set up in Amazon Virtual Private Cloud and that you have IAM permissions to view the VPC.
-
For Subnet, choose the VPC subnet that you want MediaConnect to use to set up your VPC configuration. You must choose at least one and can choose as many as you want.
-
For Security groups, specify the VPC security groups that you want MediaConnect to use to set up your VPC configuration. You must choose at least one security group.
-
-
At the bottom of the page, choose Create flow.
Note
The flow doesn't start automatically. You must start the flow manually.
-
Add outputs to specify where you want MediaConnect to send the content, or grant entitlements to allow users of other AWS accounts to subscribe to your content.