The main types of data centers are enterprise, colocation, cloud, and edge. Enterprise data centers are made by organizations specifically for their own use. Colocation data centers are created to share usage between multiple users. Cloud data centers offer virtual services. And edge data centers are built near their users for better connections.