Cloudflare Docs
Magic Transit
Visit Magic Transit on GitHub
Set theme to dark (⇧+D)

Magic Transit on-demand

Customers with access to the Magic Transit on-demand option can configure prefix advertisement from the IP Prefixes page in their Cloudflare account home or via the Cloudflare API.

A common workflow is to enable prefix advertisement during an attack so that you can take advantage of Cloudflare protection and then disable advertisement once the incident is resolved. Prefixes using BGP-controlled advertisements cannot be used in conjunction with on-demand auto-advertisement. You must use dynamic advertisement.

To ensure smooth operation in general and simplify the advertisement process during an attack scenario, refer to Dynamic advertisement: Best practices.