# Feedback: Why is my NTP Server costing me $500 per year?

**URL:** <https://community.ntppool.org/t/feedback-why-is-my-ntp-server-costing-me-500-per-year/146>\
**Category:** Server operators\
**Created:** [January 29, 2017, 3:54pm UTC](https://community.ntppool.org/t/feedback-why-is-my-ntp-server-costing-me-500-per-year/146 "2017-01-29T15:54:43Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![cunnie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/cunnie/32/81_2.png) [@cunnie](https://community.ntppool.org/u/cunnie)\
**Post date:** [January 29, 2017, 3:54pm UTC](https://community.ntppool.org/t/feedback-why-is-my-ntp-server-costing-me-500-per-year/146/1 "2017-01-29T15:54:43Z")

</div>

Hello fellow Server operators,

If you have time & are interested, could you please provide feedback to my post describing my experience running servers in the NTP Pool? [Why Is My NTP Server Costing $500/Year? Part 3](http://engineering.pivotal.io/post/ntp-costs-500/).

I’ll attribute all suggestions, corrections and improvements.

Quick summary:

- It costs $750/year to run a 1Gbps NTP server in US on GCE
- ~3k/pps
- 10% queries originates from AWS Cloud
- For US NTP server, the bandwidth used by the pool is 2% (e.g. on a 1Gbps connection, it’s 20Mbps). It’s much lower in Singapore and Germany.
- The Snapchat incident added ~150GiB NTP responses, and cost me $13 (AWS) and $18 (GCE)

Ask already corrected the way the pool’s DNS works (i.e. it’s _not_ round-robin), and I’ll update the post shortly.

Thanks in advance,

—Brian

---

<div class="post-metadata">

**Author:** ![LeoBodnar](https://avatars.discourse-cdn.com/v4/letter/l/977dab/32.png) [@LeoBodnar](https://community.ntppool.org/u/LeoBodnar)\
**Post date:** [January 29, 2017, 9:29pm UTC](https://community.ntppool.org/t/feedback-why-is-my-ntp-server-costing-me-500-per-year/146/2 "2017-01-29T21:29:50Z")

</div>

Hi Brian,  
I salute you for the amount of research it took to research and write the article - it contains **a lot** of fine details but it did not answer simple questions I was looking for.  
Is this commercial server or a hobby?  
Is NTP server the sole purpose of setting these VMs?  
Is it good or bad that it costs $750/year?  
Are you encouraging more NTP server owners to follow in your footsteps or warning them to think twice?  
Do you want your traffic to increase or drop?  
Was Snapchat incident a good thing or a bad thing?  
Cheers  
Leo

---

<div class="post-metadata">

**Author:** ![cunnie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/cunnie/32/81_2.png) [@cunnie](https://community.ntppool.org/u/cunnie)\
**Post date:** [January 29, 2017, 9:41pm UTC](https://community.ntppool.org/t/feedback-why-is-my-ntp-server-costing-me-500-per-year/146/3 "2017-01-29T21:41:28Z")

</div>

Thanks Leo — that’s great feedback. Your points are far-reaching, and it will take a bit of work to weave them into the post. In the meantime, I’ll answer them directly now for you:

- “commercial or hobby?”. Hobby.
- “NTP server sole purpose?”. No. They’re also DNS servers with PowerDNS back-end. One (GCE) is also a Concourse continuous integration server; however, the NTP traffic dwarfs the other traffic.
- “750/yr — good or bad?”. Bad. As the year moves on, I’ll migrate some of the NTP workload onto a cheaper VM (probably DigitalOcean). I like AWS & GCE, but their data transfer costs are much more than some alternatives.
- “encouraging or warning?” Both. I think I’ll try to call that out more. And encourage people to sign up for the pool.
- “increase or drop?”. I’d like to see the traffic drop. It’d be nicer to have more people share the burden.
- “snapchat a good or bad thing?” bad thing. $13 bad. Or $18 bad for GCE.

---

<div class="post-metadata">

**Author:** ![LeoBodnar](https://avatars.discourse-cdn.com/v4/letter/l/977dab/32.png) [@LeoBodnar](https://community.ntppool.org/u/LeoBodnar)\
**Post date:** [January 29, 2017, 10:19pm UTC](https://community.ntppool.org/t/feedback-why-is-my-ntp-server-costing-me-500-per-year/146/4 "2017-01-29T22:19:05Z")

</div>

Thanks, Brian!  
This now makes it easier to see your motivation for analysis!

---

<div class="post-metadata">

**Author:** ![ask](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/ask/32/907_2.png) [@ask](https://community.ntppool.org/u/ask)\
**Post date:** [January 30, 2017, 7:22am UTC](https://community.ntppool.org/t/feedback-why-is-my-ntp-server-costing-me-500-per-year/146/5 "2017-01-30T07:22:21Z")

</div>

It’s an interesting idea to try putting an order of magnitude cost on the system.

The total “netspeed” for the US zone is 86798173 (“kbps”), so one 1 gbps system should get a little over 1% of the US SNTP traffic (and the same amount of new NTP traffic).

If the cost for all that traffic was similar to what you saw, that’s about $64,000 per year just for the US.

---

<div class="post-metadata">

**Author:** ![kenyon](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/kenyon/32/45_2.png) [@kenyon](https://community.ntppool.org/u/kenyon)\
**Post date:** [January 30, 2017, 7:34am UTC](https://community.ntppool.org/t/feedback-why-is-my-ntp-server-costing-me-500-per-year/146/6 "2017-01-30T07:34:32Z")

</div>

You’re paying way too much for network transfer. A Linode for $120 per year would handle around 10kpps.

---

<div class="post-metadata">

**Author:** ![mnordhoff](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/mnordhoff/32/1470_2.png) [@mnordhoff](https://community.ntppool.org/u/mnordhoff)\
**Post date:** [January 30, 2017, 10:41am UTC](https://community.ntppool.org/t/feedback-why-is-my-ntp-server-costing-me-500-per-year/146/7 "2017-01-30T10:41:56Z")

</div>

Have you checked out [Amazon Lightsail](https://amazonlightsail.com/)? Amazon basically decided to copy DigitalOcean, only not quite as good, to capture the “OMG EC2 is so complicated and expensive!” market.

The plans mimic DigitalOcean’s transfer allotments, but overages are still $0.09/GB.

It’s only in us-east-1 so far.

Edit: I hate to sound like a shill, but if you’re fond of EC2, and want cheaper transfer…

---

<div class="post-metadata">

**Author:** ![josephb](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/josephb/32/7_2.png) [@josephb](https://community.ntppool.org/u/josephb)\
**Post date:** [January 30, 2017, 11:09am UTC](https://community.ntppool.org/t/feedback-why-is-my-ntp-server-costing-me-500-per-year/146/8 "2017-01-30T11:09:12Z")

</div>

With Lightsail you get “cheaper bandwidth” however the CPU is likely to be the limiting factor in how much traffic you can serve.

There are various comparisons out there to compare AWS Lightsail with other providers, eg: [https://www.vpsbenchmarks.com/posts/amazon\_lightsail\_1gb\_is\_no\_match\_for\_10\_vps\_from\_linode\_do\_vultr](https://www.vpsbenchmarks.com/posts/amazon_lightsail_1gb_is_no_match_for_10_vps_from_linode_do_vultr)

---

<div class="post-metadata">

**Author:** ![josephb](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/josephb/32/7_2.png) [@josephb](https://community.ntppool.org/u/josephb)\
**Post date:** [January 30, 2017, 11:33am UTC](https://community.ntppool.org/t/feedback-why-is-my-ntp-server-costing-me-500-per-year/146/9 "2017-01-30T11:33:21Z")

</div>

@cunnie Nice article 🙂

I disagree with your recommendation to use the Google time smearing servers as upstreams for your NTP pool servers.

There is no doubt that using EC2 to serve NTP pool traffic is one of expensive ways to contribute.

As you’ve pointed out a cheaper option is to use a VPS provider that offers full virtualisation to use in contributing bandwidth to the pool:

Linode  
Digital Ocean  
Vultr  
BuyVM  
Ramnode  
LunaNode  
Atlantic  
Arpnetworks

We do need to be mindful of the TOR “problem” where contributors to that project are largely centralised among a few networks, and yes it would be far better to have lots of people contributing with smaller “net speeds” from home connections with static IPs.

In summary there are cheaper ways to contribute bandwidth to the pool than using EC2 🙂

---

<div class="post-metadata">

**Author:** ![josephb](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/josephb/32/7_2.png) [@josephb](https://community.ntppool.org/u/josephb)\
**Post date:** [January 30, 2017, 11:36am UTC](https://community.ntppool.org/t/feedback-why-is-my-ntp-server-costing-me-500-per-year/146/10 "2017-01-30T11:36:16Z")

</div>

> [@ask](#):
>
> The total “netspeed” for the US zone is 86798173 (“kbps”)

Would you be interested in making the total “net speed” visible to server owners in the management panel so we’d get a rough idea of each servers contribution in a specific zone?

It could be a largely static value that’s updated once a day per zone, doesn’t have to be live and dynamic:slight\_smile:

---

<div class="post-metadata">

**Author:** ![jan-philipp.benecke](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/jan-philipp.benecke/32/8_2.png) [@jan-philipp.benecke](https://community.ntppool.org/u/jan-philipp.benecke)\
**Post date:** [January 30, 2017, 12:26pm UTC](https://community.ntppool.org/t/feedback-why-is-my-ntp-server-costing-me-500-per-year/146/11 "2017-01-30T12:26:00Z")

</div>

For Vultr i could say, it is working without problems. 🙂

My two australian server are hosted at vultr.

LeaseWeb is a option. They provide also VPS with at least 4TB/month.

---

<div class="post-metadata">

**Author:** ![Hedberg](https://avatars.discourse-cdn.com/v4/letter/h/e95f7d/32.png) [@Hedberg](https://community.ntppool.org/u/Hedberg)\
**Post date:** [January 30, 2017, 4:53pm UTC](https://community.ntppool.org/t/feedback-why-is-my-ntp-server-costing-me-500-per-year/146/12 "2017-01-30T16:53:34Z")

</div>

I have two small cloud servers here in EU with ScaleWay. One is a VPS in Amsterdam and then a dedicated ARM based machine in Paris. Both machines seem to max out the CPU around 15Mbit of NTP traffic and run with a continuously load of around 5Mbit with 10Mbit spikes. They have no limit on traffic, but speed is cut at 200Mbit and cost 2.99€ a piece.

They seem to recieve around 1,4TB of traffic in a month.

---

<div class="post-metadata">

**Author:** ![zorko](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/zorko/32/64_2.png) [@zorko](https://community.ntppool.org/u/zorko)\
**Post date:** [January 30, 2017, 11:51pm UTC](https://community.ntppool.org/t/feedback-why-is-my-ntp-server-costing-me-500-per-year/146/13 "2017-01-30T23:51:33Z")

</div>

We shall actually encourage people in scientific institutions to set up the time servers (as I did on the Rudjer Boshkovich Institute in Croatia - presently keeping 4 servers, the fifth went down with disk failure recently, will be substituted soon).  
It is worth mentioning that much of the scientific community uses Linuces (and some other Unices), most of them set up to synchronise with the ntp pool. On my servers I noticed e.g. some EGI servers, clusters, different accademic and national mail and web servers, and a lot of individual academic computers.  
Having a time server can be interesting from the scientific point of view, and most scientific institutions have open internet. The machines work all the time anyway always, most of them idling most of the time (even in reasonably big clusters, because scientific loads are exploration timed). All such institutions have a reasonable amount of fixed IPv4 addresses, including reserves!  
There should be no administrative barrier to provide public service from the academic networks, as they are financed just to do that anyway!  
A public time-server installation can also be for promotional purposes of the institution.

---

<div class="post-metadata">

**Author:** ![cunnie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/cunnie/32/81_2.png) [@cunnie](https://community.ntppool.org/u/cunnie)\
**Post date:** [February 1, 2017, 5:08pm UTC](https://community.ntppool.org/t/feedback-why-is-my-ntp-server-costing-me-500-per-year/146/14 "2017-02-01T17:08:41Z")

</div>

Thanks Ask, that’s useful piece of information — I’ll incorporate it in the post.

And I second josephb’s motion to make “net speed” accessible, if it’s not too much work.

---

<div class="post-metadata">

**Author:** ![cunnie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/cunnie/32/81_2.png) [@cunnie](https://community.ntppool.org/u/cunnie)\
**Post date:** [February 1, 2017, 6:05pm UTC](https://community.ntppool.org/t/feedback-why-is-my-ntp-server-costing-me-500-per-year/146/15 "2017-02-01T18:05:50Z")

</div>

Thanks Joseph, I have updated the blog post to recommend NTP pool servers to **not** use Google’s servers (should publish shortly).

I’ve used Arpnetworks and Linode in the past, and have had good experience with both.

---

<div class="post-metadata">

**Author:** ![cunnie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/cunnie/32/81_2.png) [@cunnie](https://community.ntppool.org/u/cunnie)\
**Post date:** [February 1, 2017, 6:23pm UTC](https://community.ntppool.org/t/feedback-why-is-my-ntp-server-costing-me-500-per-year/146/16 "2017-02-01T18:23:40Z")

</div>

@mnordhoff: Thanks, Amazon Lightsail would be particularly interesting because it uses the same API as AWS which means that I can use BOSH (the tool I use to deploy my servers).

@josephb: Thanks for the link for the comparison of Amazon Lightsail with others; that will help inform how big I size my VM.

@jan-philipp.benecke : Vultru sounds interesting — I might bring up an Australian server there.

@Hedberg: Scaleway no limit on traffic? That’s awesome. I may bring up a server there.

@zorko: I agree, the Universities could help a lot here. In fact, my upstream time providers (stratum 2) were university servers.

---

<div class="post-metadata">

**Author:** ![jan-philipp.benecke](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/jan-philipp.benecke/32/8_2.png) [@jan-philipp.benecke](https://community.ntppool.org/u/jan-philipp.benecke)\
**Post date:** [February 1, 2017, 6:54pm UTC](https://community.ntppool.org/t/feedback-why-is-my-ntp-server-costing-me-500-per-year/146/17 "2017-02-01T18:54:04Z")

</div>

If you do so, i can recommend you the national measurement institute:

[http://www.measurement.gov.au/Services/Pages/TimeandFrequencyDisseminationService.aspx](http://www.measurement.gov.au/Services/Pages/TimeandFrequencyDisseminationService.aspx)

There you need to whitelist your ip and then you could use their servers as “upstream time server” (All stratum 1).

For scaleway i can confirm that they have a unlimited bandwidth ([https://www.scaleway.com/](https://www.scaleway.com/))

---

<div class="post-metadata">

**Author:** ![iocc](https://avatars.discourse-cdn.com/v4/letter/i/ba9def/32.png) [@iocc](https://community.ntppool.org/u/iocc)\
**Post date:** [February 6, 2017, 9:51pm UTC](https://community.ntppool.org/t/feedback-why-is-my-ntp-server-costing-me-500-per-year/146/18 "2017-02-06T21:51:33Z")

</div>

Normally, what does a co-lo charge you for one more port more bonded?

---

<div class="post-metadata">

**Author:** ![cunnie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/cunnie/32/81_2.png) [@cunnie](https://community.ntppool.org/u/cunnie)\
**Post date:** [February 6, 2017, 11:08pm UTC](https://community.ntppool.org/t/feedback-why-is-my-ntp-server-costing-me-500-per-year/146/19 "2017-02-06T23:08:42Z")

</div>

iocc, I only use IaaSes (i.e. VMs), not co-los (i.e. bare iron), so I’m afraid I’m not much help here.

---

<div class="post-metadata">

**Author:** ![jpp](https://sea2.discourse-cdn.com/flex016/user_avatar/community.ntppool.org/jpp/32/103_2.png) [@jpp](https://community.ntppool.org/u/jpp)\
**Post date:** [May 8, 2017, 3:49am UTC](https://community.ntppool.org/t/feedback-why-is-my-ntp-server-costing-me-500-per-year/146/20 "2017-05-08T03:49:18Z")

</div>

FWIW I ran and experiment spinning up 2 vm’s each on Digital Ocean and Linode (each on in a different data center). Given the same set of server (including my stratum 1) the Linux vm’s converged and stabilized very quickly. The Digital Ocean ones not so much, They wandered +/- 25ms for 2 days with high system jitter until I killed them.

I just added the Linode servers to the pool (IP4 and 6)
