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
Open the Amazon VPC console at
https://console.aws.amazon.com/vpc/.
-
On the navigation pane, choose Transit Gateway
Multicast.
-
Choose Create transit gateway multicast domain.
-
For Name tag, enter a name for the domain.
-
For Transit gateway ID, choose the transit gateway that processes the
multicast traffic.
-
For IGMPv2 support, select the check box.
-
For Static sources support, clear the check box.
-
To automatically accept cross-account subnet associations for this multicast
domain, select Auto accept shared associations.
-
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.
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
-
Open the Amazon VPC console at
https://console.aws.amazon.com/vpc/.
-
On the navigation pane, choose Transit Gateway Multicast.
-
Choose Create transit gateway multicast domain.
-
For Name tag, enter a name to identify the domain.
-
For Transit gateway ID, choose the transit gateway that processes the
multicast traffic.
-
For IGMPv2 support, clear the check box.
-
For Static sources support, select the check box.
-
To automatically accept cross-account subnet associations for this multicast
domain, select Auto accept shared associations.
-
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.
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
-
Open the Amazon VPC console at
https://console.aws.amazon.com/vpc/.
-
On the navigation pane, choose Transit Gateway Multicast.
-
Select the multicast domain, and then choose Actions,
Create association.
-
For Choose attachment to associate, select the transit gateway attachment.
-
For Choose subnets to associate, select the subnets to include in
the multicast domain.
-
Choose Create association.
- Command line
-
To associate VPC attachments with a multicast domain using the AWS 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
-
Open the Amazon VPC console at
https://console.aws.amazon.com/vpc/.
-
On the navigation pane, choose Transit Gateway Multicast.
-
Select the multicast domain.
-
Choose the Associations tab.
- Command line
-
To view a multicast domain using the AWS 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
-
Open the Amazon VPC console at
https://console.aws.amazon.com/vpc/.
-
On the navigation pane, choose Transit Gateway Multicast.
-
Select the multicast domain.
-
Choose the Associations tab.
-
Select the subnet, and then choose Actions, Delete
association.
- Command line
-
To disassociate subnets using the AWS 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
Open the Amazon VPC console at
https://console.aws.amazon.com/vpc/.
-
On the navigation pane, choose Transit Gateway Multicast.
-
Select the multicast domain.
-
Choose Actions, Manage tags.
-
For each tag, choose Add new tag and enter a Key and
Value for the tag.
-
Choose Save.
- Command line
-
To add tags to a multicast domain using the AWS 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
Open the Amazon VPC console at
https://console.aws.amazon.com/vpc/.
-
On the navigation pane, choose Transit Gateway Multicast.
-
Select the multicast domain, and then choose Actions,
Delete multicast domain.
-
When prompted for confirmation, enter delete
and then
choose Delete.
- Command line
-
To delete a multicast domain using the AWS CLI
Use the delete-transit-gateway-multicast-domain command.