How do I share my transit gateway with another account or within an organization?

2 minute read
0

I have a transit gateway in my AWS account and I want to share it with another account or within my organization.

Resolution

Prerequisites:

  • Make sure that you're in the same AWS Region as your transit gateway.
  • Set up AWS Resource Access Manager (AWS RAM) in the Region where you want to share resources.

Share your transit gateway

  1. Open the AWS RAM console.
  2. If you want to share with an account in your organization, then enable resource sharing.
  3. Choose Create a resource share, and then enter a name.
  4. For Select resource type, choose Transit gateways. Then, select your transit gateway.
  5. (Optional) Under Tags, add tags for the resource share.
    Note: The tags don't apply to the transit gateway.
  6. Choose Next.
  7. Choose Transit gateway resource share, and then choose either Allow sharing with anyone or Allow sharing only within your organization.
  8. Select Principals, and then enter the account ID or organization ID.
  9. To add principles, choose Add. Then, choose Next.
  10. Choose Create resource share.

After you share your transit gateway, complete the following steps:

  1. Accept the resource share with AWS RAM.
  2. Create a transit gateway attachment in the recipient's account.
  3. Accept the shared attachment.

Note: If an account with an attachment leaves the organization, then the attachment remains functional. Either the account that has the transit gateway or the account that has the attachment can delete the transit gateway attachment.

AWS OFFICIAL
AWS OFFICIALUpdated 15 days ago