Managing multicast domains - Amazon Virtual Private Cloud

Managing multicast domains

To begin using multicast with a transit gateway, create a multicast domain, and then associate subnets with the domain.

Creating an IGMP multicast domain

If you have not already done so, review the available multicast domain attributes. For more information, see Working with multicast.

Console

To create an IGMP multicast domain using the console

  1. Open the Amazon VPC console at https://console.aws.amazon.com/vpc/.

  2. On the navigation pane, choose Transit Gateway Multicast.

  3. For Name tag, enter a name to identify the domain.

  4. For Transit Gateway ID, choose the transit gateway that processes the multicast traffic.

  5. For IGMPv2 support, select the check box.

  6. For Static sources support, clear the check box.

  7. To automatically accept cross-account subnet associations for this multicast domain, select Auto accept shared associations.

  8. Choose Create Transit Gateway Multicast Domain.

Command line

To create an IGMP multicast domain using the AWS CLI

  • Use the create-transit-gateway-multicast-domain command.

    Example

    aws ec2 create-transit-gateway-multicast-domain --transit-gateway-id tgw-0xexampleid12345 --options StaticSourcesSupport=disable,Igmpv2Support=enable

Creating a static source multicast domain

If you have not already done so, review the available multicast domain attributes. For more information, see Working with multicast.

Console

To create a static multicast domain using the console

  1. Open the Amazon VPC console at https://console.aws.amazon.com/vpc/.

  2. On the navigation pane, choose Transit Gateway Multicast.

  3. For Name tag, enter a name to identify the domain.

  4. For Transit Gateway ID, choose the transit gateway that processes the multicast traffic.

  5. For IGMPv2 support, clear the check box.

  6. To manually add sources, set the Static sources support attribute to enable.

  7. To automatically accept cross-account subnet associations for this multicast domain, select Auto accept shared associations.

  8. Choose Create Transit Gateway Multicast Domain.

Command line

To create a static multicast domain using the AWS CLI

  • Use the create-transit-gateway-multicast-domain command.

    Example

    aws ec2 create-transit-gateway-multicast-domain --transit-gateway-id tgw-0xexampleid12345 --options StaticSourcesSupport=enable,Igmpv2Support=disable

Associating VPC attachments and subnets with a multicast domain

Use the following procedure to associate a VPC attachment with a multicast domain. When you create an association, you can then select the subnets to include in the multicast domain.

Before you begin, you must create a VPC attachment on your transit gateway. For more information, see Transit gateway attachments to a VPC.

Console

To associate VPC attachments with a multicast domain using the console

  1. Open the Amazon VPC console at https://console.aws.amazon.com/vpc/.

  2. On the navigation pane, choose Transit Gateway Multicast.

  3. Select the multicast domain, and then choose Actions, Create association.

  4. For Transit Gateway ID, select the transit gateway attachment.

  5. For Choose subnets to associate, select the subnets to include in the multicast domain.

  6. Choose Create association.

Command line

To associate VPC attachments with a multicast domain using the AWS CLI

Viewing your multicast domain associations

You can view your multicast domains to verify that they are available, and that they contain the appropriate subnets and attachments.

Console

To view a multicast domain using the console

  1. Open the Amazon VPC console at https://console.aws.amazon.com/vpc/.

  2. On the navigation pane, choose Transit Gateway Multicast.

  3. Select the multicast domain.

Command line

To view a multicast domain using the AWS CLI

Adding tags to a multicast domain

Add tags to your resources to help organize and identify them, such as by purpose, owner, or environment. You can add multiple tags to each multicast domain. Tag keys must be unique for each multicast domain. If you add a tag with a key that is already associated with the multicast domain, it updates the value of that tag. For more information, see Tagging your Amazon EC2 Resources.

Console

Add tags to a transit gateway using the console

  1. Open the Amazon VPC console at https://console.aws.amazon.com/vpc/.

  2. On the navigation pane, choose Transit Gateways Multicast.

  3. Choose the multicast domain for which to add or edit tags.

  4. Choose the Tags tab in the lower part of the page.

  5. Choose Add/Edit Tags.

  6. Choose Create Tag.

  7. Enter a Key and Value for the tag.

  8. Choose Save.

Disassociating subnets from a multicast domain

Use the following procedure to disassociate subnets from a multicast domain.

Console

To disassociate subnets using the console

  1. Open the Amazon VPC console at https://console.aws.amazon.com/vpc/.

  2. On the navigation pane, choose Transit Gateway Multicast.

  3. Select the multicast domain.

  4. Choose the Associations tab.

  5. Select the subnet, and then choose Remove association.

Command line

To disassociate subnets using the AWS CLI

Deleting a multicast domain

Use the following procedure to delete a multicast domain.

Console

To delete a multicast domain using the console

  1. Open the Amazon VPC console at https://console.aws.amazon.com/vpc/.

  2. On the navigation pane, choose Transit Gateway Multicast.

  3. Select the multicast domain, and then choose Actions, Delete multicast domain.

  4. Choose Delete.

Command line

To delete a multicast domain using the AWS CLI