Synchronizing app time to the IBM Cloud® NTP service
IBM Cloud® hosts are synchronized to internal IBM Network Time Protocol (NTP) servers that take their time from Stratum 1 devices, with GNSS appliances that are owned by IBM connected to them.
Configuring NTP servers
The NTP server that you use to synchronize time for an application depends on where the application is running:
- If the application is running in IBM Cloud classic infrastructure, set your NTP server to
time.service.networklayer.com
. - If the application is running in IBM Cloud VPC, set your NTP server to
time.adn.networklayer.com
. - If the application is not using IBM Cloud NTP services, check Network Time Protocol Servers to find suitable NTP servers for your application.
NTP Stratum ranking
IBM implemented Global Navigation Satellite System (GNSS) devices within the IBM Cloud data centers, providing an effective Stratum 0 source for internal servers that are directly connected to it (Stratum 1).
Aside from GNSS antennas, the appliances are connected to a high-performance oscillator, such as a rubidium atomic clock. The high-performance oscillator keeps the appliance clock accurate for long periods even if the GNSS service is disrupted.
The National Institute of Standards and Technology (NIST) and US Naval Observatory (USNO) Stratum 1 sources are also configured on the time servers that are available for Regulated Services Cloud NTP servers. This applies for NTP servers that are located only in the United States.
The NTP time servers are connected to these GNSS and time synchronization appliance services, as depicted in Figure 1.
Software components
NTP services provide a complete implementation of the Network Time Protocol (NTP) version 4. NTP services retain compatibility with versions 1, 2, and 3 as defined by RFC 1059, RFC 1119, and RFC 1305, respectively.
Security
Only NTP time packets are allowed to transfer between the customer-accessible NTP servers (customer mirrors) and users (IBM Cloud VPC and IBM Cloud classic infrastructure servers). It's important to note that most of the attacks against an NTP server can be mitigated with proper configuration of the NTP server to limit functionality to only the required responses. NTP servers are restricted from public access, and only allowed networks are able to connect to the master time source in each environment. At each level, the information that NTP clients are allowed to receive from the NTP server is restricted.
High availability
The NTP service for customer workloads is backed by a highly available architecture. Multiple GNSS devices are deployed across IBM Cloud that rely on multiple satellites available on the GPS network. Each appliance, aside from the GPS source, has a local atomic clock device that is connected to it. Every NTP server that provides services to customer workloads is configured to use any of the available Stratum 1 sources in case the closest one fails.