IDC business & buying guides

Colocation vs cloud: costs, break-even point and how to choose

Colocation vs cloud comes down to what you are buying: colocation gives you rack space, power, bandwidth and whole servers on a monthly or annual contract; cloud gives you virtualized compute billed by the hour. Steady, bandwidth-heavy workloads are cheaper in colocation, spiky ones in the cloud.

By Toplink product teamPublished 9 min read

Colocation vs cloud is really a question about what you are paying for. With colocation you rent space, power and network capacity in a data center and fill it with your own physical servers; a close relative is renting whole dedicated servers from a hosting provider. Either way you get entire machines and dedicated bandwidth on a monthly or annual contract. With public cloud you rent virtualized slices of the provider’s hardware, plus managed services such as databases and object storage, and pay by the hour or second. Everything else, from how costs behave to who replaces a failed disk, follows from that difference.

Colocation vs cloud at a glance

Factor Colocation and dedicated servers Public cloud
What you get Rack space, power, dedicated bandwidth, whole physical servers Virtual machines, block and object storage, managed databases and other services
Dedicated hardware Yes; performance is predictable Shared, multi-tenant hosts unless you pay for bare metal or dedicated hosts
Time to deliver Colocation: days to weeks including racking and cabling; dedicated servers: hours if the provider has stock and automated provisioning Minutes
Billing unit Per rack or per U, per server, per Mbps, usually prepaid monthly or annually Compute per hour or second, storage and data transfer per GB
Elasticity Scaling up means buying or renting more machines; scaling down waits for the contract to end Add or remove capacity at any time, with autoscaling
Internet bandwidth Dedicated or shared fixed ports, or 95th percentile billing; low unit cost at volume Fixed bandwidth or metered egress per GB; outbound transfer is expensive
Hardware choice Anything you can buy: GPUs, large local disks, high-clock CPUs, specific NICs Limited to the provider’s instance types
Operations responsibility Hardware, OS and applications are on you (colocation), or split with the provider (dedicated servers) Provider runs hardware and virtualization; you run everything from the OS up
Where the data lives On disks you can physically touch In the provider’s storage systems
Typical fit Steady, long-running, bandwidth-heavy workloads, or workloads that need specific hardware Variable load, fast launches, multiple regions, teams without hardware staff

What you actually get: whole machines vs virtual slices

Physical hardware versus a slice of a host

Colocation hands you the physical layer. A server’s CPU, memory, disks and NICs are entirely yours, with no hypervisor overhead and no noisy neighbours. Bandwidth is usually a real dedicated rate on a switch port, or a shared uplink billed on the 95th percentile of your usage.

Cloud hands you an abstraction. An 8 vCPU, 32 GB instance is a virtual machine on a host you never see, its disk is a volume on distributed storage, and its public IP is a NAT rule on a gateway. The upside is that you can clone it a hundred times, attach another disk or change its size in minutes. The downside is that performance depends on host load and the storage network, and at the same price point a single instance usually delivers less compute and less disk I/O than a physical server.

Elasticity and delivery time: minutes versus weeks

The cloud wins on speed of expansion: new instances come up in minutes, and autoscaling adds and removes them with traffic. Colocation expansion has two speeds. Renting a dedicated server can take hours when the provider has stock and has automated IP assignment, switch port configuration and OS installation. Colocating your own hardware means purchasing, shipping, racking and cabling, which is measured in weeks.

Scaling down is the mirror image. In the cloud, stopping an instance stops the bill. In colocation, a prepaid contract cannot be refunded early, and an idle server keeps generating depreciation and rack fees.

Cost structure: fixed costs vs pay-as-you-go

Colocation is high upfront, low marginal cost: buying servers, paying for racks and signing a bandwidth contract are fixed outlays, and the bill is roughly the same whether the machines run at 10% or 100% load. Cloud is the reverse: no upfront investment, high marginal cost. Every hour of compute is billed separately, so light usage really is cheap, but a fully loaded instance costs more per month than owning the equivalent hardware.

That makes utilization, not unit price, the deciding variable. A hypothetical example, using round numbers that only illustrate the structure:

  • A workload peaks at 100 vCPUs;
  • Assume an all-in colocation cost (server depreciation, rack, power and a share of bandwidth) of $40 per vCPU per month, and an on-demand cloud price of $100 per vCPU per month. Both figures are assumptions, not quotes.
Load pattern Daily profile Average demand Colocation per month Cloud on demand per month
Steady 100 vCPUs around the clock 100 vCPUs 100 × $40 = $4,000 100 × $100 = $10,000
Bursty 100 vCPUs for 4 hours, 20 vCPUs for the other 20 (100 × 4 + 20 × 20) ÷ 24 ≈ 33 vCPUs Still sized for the peak: $4,000 33 × $100 ≈ $3,300

The break-even point is $40 ÷ $100 = 40%: above 40% average utilization colocation is cheaper; below it, pay-as-you-go cloud is cheaper. Reserved instances and savings plans on the cloud side, and spare machines and reserved capacity on the colocation side, move that ratio, but the shape never changes: the higher the utilization, the better colocation looks.

A few costs are easy to leave out of the comparison:

  • Cloud: data transfer out (egress) per GB, cross-availability-zone traffic, snapshot and backup storage, and hourly charges for NAT gateways and load balancers;
  • Colocation: spare parts and downtime when hardware fails, remote hands and site visits, and the cost of moving out when the contract ends.

Who is responsible for what

Layer Colocation Dedicated server Cloud IaaS
Facility: power, cooling, fire suppression, physical security Data center Provider Cloud provider
Network access and internet uplink Data center Provider Cloud provider
Server purchase, repair and replacement You Provider Cloud provider
Virtualization and scheduling None None Cloud provider
Operating system, patching, hardening You You (the provider offers reinstall and rescue tools) You
Applications, databases, backups You You You, with optional managed databases and snapshots

Colocation assumes someone on your team understands hardware: a failed DIMM has to be swapped, a dropped RAID member rebuilt, the BMC connected to a management network. A dedicated server moves hardware responsibility to the provider, who typically offers a customer portal for reinstalling, rebooting and booting into rescue mode. The cloud hides hardware completely, but everything from the OS up is still your job; “moving to the cloud means no more operations” is not true.

Do cloud providers have their own data centers?

Yes, and usually more than one kind. The large cloud providers build their own campus-scale data centers in core regions, and they also lease wholesale space from colocation operators to add availability zones, local zones and edge locations. Which kind sits behind a given availability zone is rarely disclosed, and as a customer you do not need to care.

The relationship between colocation operators and cloud providers is both partnership and competition. Cloud providers are among the largest colocation tenants, taking entire floors or buildings. At the same time, their instances compete with the dedicated servers and colocation racks that hosting providers sell to small and mid-sized customers. Many providers respond by doing both: selling dedicated servers and colocation from their own facilities while reselling cloud resources on top.

Hybrid: connecting your data center to the cloud

“Connect our colocation racks to the cloud” is the most common hybrid requirement. It takes three steps:

  1. Plan addressing. The data center LAN and the cloud virtual private cloud (VPC) must not overlap. For example, use 10.10.0.0/16 on-premises and 10.20.0.0/16 in the cloud.

  2. Choose a connection.

    Connection Bandwidth and latency Time to set up Cost components Fits
    Dedicated interconnect (AWS Direct Connect, Azure ExpressRoute, Google Cloud Interconnect and similar) Dedicated port, typically 1, 10 or 100 Gbps; stable latency Weeks, usually via a carrier circuit or a cross-connect in a facility that hosts the cloud on-ramp Circuit rental plus the cloud provider’s port and data transfer fees Database replication, high volumes, latency-sensitive traffic
    IPsec VPN Over the public internet; throughput capped per tunnel and latency varies Same day Cloud VPN gateway hours plus data transfer Management traffic, low volumes, temporary links
    SD-WAN Several internet links bonded; in between the two Days Appliances and a service subscription Many branches or several data centers
  3. Configure routing and security. Add each side’s prefixes to the core switch and the cloud route tables, statically or with BGP, and open only the required ports in security groups and ACLs. Keep the BMC management network and the facility monitoring network off the tunnel.

Once connected, the usual split is: databases, bulk storage and GPU compute stay in the data center while front ends and elastic compute run in the cloud; or the data center is primary and the cloud is disaster recovery; or, the other way round, the cloud is primary and high-egress workloads such as downloads and video origins sit in colocation where bandwidth is cheap.

How to choose: five questions

  1. Is the load steady? Flat, long-running workloads lean towards colocation; workloads with sharp or unpredictable peaks lean towards cloud.
  2. How much outbound traffic? Video, downloads, game servers and CDN origins push a lot of egress, and dedicated ports or 95th percentile billing in colocation cost far less per Mbps.
  3. Do you need specific hardware? GPUs, large local disks, high-clock CPUs or particular NICs are easier to get in colocation.
  4. Who runs it? Without hardware and network staff, cloud or a rented dedicated server is less work than colocating your own gear.
  5. Compliance and control? If data must stay in a named facility, or you need physical isolation and independent audits, colocation is easier to defend.

For most growing businesses the answer is “both”: keep the steady core in colocation to control cost, and put the elastic part in the cloud.

What this means for hosting providers

Cloud delivery speed is the benchmark hosting providers are measured against. Delivering a dedicated server the moment payment clears requires automating IP assignment, switch port configuration and OS installation on the data center side, and giving customers a self-service portal where they can reinstall, reboot and enter rescue mode themselves; that is what Toplink DCIM automates. Providers can also list upstream cloud resources alongside their own dedicated servers through supplier reselling and revenue sharing, so customers order both from one place and settlement with suppliers and agents happens in the same billing system.

FAQ

What is the difference between colocation and a dedicated server?

With colocation you buy the server and place it in the data center's rack; the hardware and its repairs are yours. With a dedicated server you rent the provider's machine and the provider replaces failed parts. Colocation suits teams with many servers and hardware skills; dedicated servers suit customers who do not want to touch hardware.

Is a bare metal cloud server colocation or cloud?

Both. It is a whole physical machine with dedicated hardware, like a dedicated server, but it is provisioned by the hour through a cloud API, like cloud. Think of it as a dedicated server delivered the cloud way.

Is moving from the cloud back to colocation worth it?

It depends on utilization and traffic. If instances run at high load around the clock and push a lot of outbound traffic, repatriating usually cuts cost noticeably. If load swings widely or you depend on managed databases and other cloud services, the savings are eaten by the extra operations work.

See how it works in your data center.

Start with a product demo and map out your next step.

View pricing
Hotline 400-112-2951

Let’s talk about your IDC

Scan with WeChat to book a product demo or request a trial.

Toplink WeCom contact QR code

Save this code or scan it with WeChat / WeCom

Or call
400-112-2951
Telegram
@TopLink88