1. A method of replicating firewall rules across a plurality of data centers, each data center comprising a set of hosts and a network manager, each host configured to host a set of data compute nodes (DCNs), the method comprising: identifying a first DCN on a host in a primary data center, the first DCN associated with a set of global firewall rules utilizing unique identifiers recognized by the network manager of each data center; allocating storage for a second DCN on a host in a secondary data center to replicate the first DCN; prior to the second DCN being powered on, replicating the set of global firewall rules associated with the first DCN into the storage allocated for the second DCN; and in response to receiving an indication that the second DCN is powered on, and enforcing the set of global firewall rules for the second DCN using the replicated set of global firewall rules.