Managing multicast domains - Amazon VPC
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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.amazonaws.cn/vpc/.

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

  3. Choose Create transit gateway multicast domain.

  4. For Name tag, enter a name for the domain.

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

  6. For IGMPv2 support, select the check box.

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

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

  9. Choose Create transit gateway multicast domain.

Command line
To create an IGMP multicast domain using the Amazon CLI

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

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.amazonaws.cn/vpc/.

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

  3. Choose Create transit gateway multicast domain.

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

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

  6. For IGMPv2 support, clear the check box.

  7. For Static sources support, select the check box.

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

  9. Choose Create transit gateway multicast domain.

Command line
To create a static multicast domain using the Amazon CLI

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

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.amazonaws.cn/vpc/.

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

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

  4. For Choose attachment to associate, 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 Amazon CLI

Use the associate-transit-gateway-multicast-domain command.

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.amazonaws.cn/vpc/.

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

  3. Select the multicast domain.

  4. Choose the Associations tab.

Command line
To view a multicast domain using the Amazon CLI

Use the describe-transit-gateway-multicast-domains command.

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.amazonaws.cn/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 Actions, Delete association.

Command line
To disassociate subnets using the Amazon CLI

Use the disassociate-transit-gateway-multicast-domain command.

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
To add tags to a multicast domain using the console
  1. Open the Amazon VPC console at https://console.amazonaws.cn/vpc/.

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

  3. Select the multicast domain.

  4. Choose Actions, Manage tags.

  5. For each tag, choose Add new tag and enter a Key and Value for the tag.

  6. Choose Save.

Command line
To add tags to a multicast domain using the Amazon CLI

Use the create-tags command.

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.amazonaws.cn/vpc/.

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

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

  4. When prompted for confirmation, enter delete and then choose Delete.

Command line
To delete a multicast domain using the Amazon CLI

Use the delete-transit-gateway-multicast-domain command.