Skip to main content
Back to Blog

Technical guides

Three ways to send data to your cellular IoT devices (and how to choose)

Compare API, tunneling, and private APN approaches for IoT device communication plus platform comparisons, HIPAA guidance, and modern SIM options.

Jonathan Rosenfeld

Jonathan Rosenfeld

VP of Marketing

November 5, 2026

cashless mobile payment at an automated self-service kiosk

According to the Ericsson Mobility Report, cellular IoT connections reached around 4.5 billion globally at the end of 2025. Every cellular IoT deployment faces the same core question: how do you get commands, configuration updates, and data to devices in the field? The answer depends on what you are building. A fleet of connected medical monitors has different needs than a network of smart meters or a chain of vending machines.

Three approaches cover the vast majority of use cases: API-based communication for flexible fleet management, secure tunneling for direct device access, and private access point names (APNs) for network-level isolation. Each has distinct strengths, and most large deployments combine two or all three.

This guide covers how to get a device online, walks through each method, compares when to use it, and helps you match the right approach to your deployment's security, scale, and operational needs.

Key takeaways

  • APN setup, network registration, and an active data session as the first steps before choosing a method
  • REST APIs and Message Queuing Telemetry Transport (MQTT) for fleet management and device commands
  • Secure tunneling for direct access to devices behind cellular network address translation (NAT)
  • A private APN to control the network path and an IPsec VPN to encrypt the tunnel to your backend, often paired in regulated deployments
  • A combination of methods for most production fleets

Getting a cellular IoT device online

Before you pick a communication method, your device needs a working data connection. These five steps get a device online on the Hologram network.

  1. Choose a cellular module that supports the bands and network type you need and is not carrier-locked.
  2. Insert or provision the SIM, then activate it in the Hologram Dashboard.
  3. Set the APN to hologram using the Hologram APN setup guide. Steps vary by device, and custom APNs are available to contracted accounts.
  4. Confirm network registration and an active data session with AT commands such as AT+CEREG? and AT+CGATT?. The cellular module AT command reference explains each response.
  5. Choose a communication method from the three below.

Way 1: API-based communication

API-based communication has become the standard for managing IoT devices over cellular. REST APIs and lightweight messaging protocols like MQTT let your backend systems send commands, pull status data, and trigger configuration changes on remote devices.

REST APIs for fleet management

Your server makes an authenticated API call to the connectivity platform, which routes the message to the target device. The device processes the command and sends a response back through the same channel. This works for everything from changing a device's reporting interval to triggering a firmware update across a fleet.

REST APIs are the best fit when you need to:

  • Manage devices at scale: Activate, suspend, or reconfigure hundreds of devices through batch API calls.
  • Send real-time commands: Push instructions to devices that need to act immediately, like unlocking a smart lock or adjusting a thermostat.
  • Connect to existing systems: REST APIs plug into any backend stack, making them the easiest path to link your IoT fleet with business tools, databases, and monitoring systems.

MQTT for constrained devices

MQTT is an OASIS standard publish-subscribe protocol built for low-bandwidth, high-latency, or unreliable networks. Those are exactly the conditions that many cellular IoT devices operate in.

Devices subscribe to "topics" on an MQTT broker. Your server publishes messages to those topics, and the broker delivers them to every subscribed device. The protocol is lightweight enough to run on microcontrollers with limited memory and processing power.

MQTT is the stronger choice when your devices run on battery power, send data at high frequency, or operate on intermittent cellular connections. When a device reconnects after a dropout, it receives any messages published while it was offline (depending on quality-of-service settings).

Many teams use both REST APIs and MQTT together: REST for fleet management and provisioning, MQTT for ongoing device communication and data streaming.

Way 2: Secure tunneling and remote access

Secure tunneling gives you a direct, bidirectional connection to a device in the field, as if it were on your local network. This is critical for troubleshooting, maintenance, and deploying updates to devices that sit behind cellular network address translation (NAT).

How tunneling works over cellular

Cellular networks typically assign devices private IP addresses behind a NAT, which means you cannot reach them directly from the internet. A tunneling solution creates a secure connection from the device out to a relay server, which your systems can then connect to. The result is SSH, TCP, or UDP access to the device as though it were sitting next to you. On Hologram, devices have no internet-routable IP addresses, so Spacebridge opens a secure SSH tunnel to any port on the device.

When to use tunneling

  • Troubleshooting deployed devices: Access logs, run diagnostics, or test configurations on a device without sending a technician to the site.
  • Firmware and software updates: Push updates directly to devices in the field, verify they install correctly, and roll back if needed.
  • Development and testing: Access devices in staging environments that mimic production cellular conditions.

Tunneling and fleet management with Hologram

Hologram's Spacebridge tunneling tool creates secure, on-demand connections to any device on the network. Combined with fleet-level controls from Conductor, teams can manage access policies across device groups and automate common maintenance workflows, including bulk firmware pushes and remote diagnostics.

Conductor adds orchestration on top of direct device access. Instead of tunneling into devices one at a time, teams can define policies for how groups of devices should be maintained, updated, and monitored. Conductor is currently in early access.

Way 3: Private APNs and VPNs

What is an APN?

An access point name (APN) is the setting that tells a cellular device which gateway to use between the carrier network and the internet or a private network. Every cellular device uses one, and the APN determines where its data goes and which IP addresses and policies apply. For a deeper primer, read about how access point names work.

A private APN creates a dedicated network path between your IoT devices and your backend systems. Traffic never touches the public internet, which removes an entire category of attack surface.

What is an APN?
FactorPublic APNPrivate APN
Traffic pathCarrier's shared internet gatewayDedicated gateway to your network or cloud
Internet exposureTraffic reaches the public internetTraffic stays off the public internet
IP addressingCarrier-assigned, often shared and dynamicCustom address space, including static IPs
Setup effortNone beyond entering the APN nameCarrier or provider coordination plus VPN configuration
Typical use casesConsumer devices and low-sensitivity telemetryConsumer devices and low-sensitivity telemetry

Hologram's default hologram APN is already private and isolates devices, and custom private APNs are available to contracted accounts.

How private APNs work

When a device connects to a cellular network, the APN setting determines where its data traffic routes. With a public APN, traffic goes through the carrier's general internet gateway. With a private APN, traffic routes directly to your specified endpoint through a secure tunnel.

APN vs VPN for IoT: how they work together

A private APN controls the network path, and an IPsec VPN encrypts the tunnel from the carrier gateway to your backend. The Internet Engineering Task Force (IETF) standardizes IPsec, and the IETF's IPsec architecture (RFC 4301) defines it as cryptographically based security for IPv4 and IPv6.

Every device needs an APN to connect, but not every device needs a VPN. Use a private APN alone when you want isolation without backend integration. Use a VPN alone when a device-level software VPN gives you end-to-end coverage.

Use both when regulated data must stay off the public internet and arrive encrypted in your data center or cloud. Hologram's breakdown of VPN and APN security differences covers each layer in more depth.

When you need a private APN

  • Regulated industries: Healthcare, financial services, and government deployments often need private APNs as part of their compliance framework.
  • Sensitive data: Any device that transmits personally identifiable information, payment data, or protected health information benefits from the added isolation.
  • High-security environments: Industrial control systems, critical infrastructure monitoring, and defense applications need network-level isolation that goes beyond application-layer encryption.

HIPAA-aligned IoT connectivity

Healthcare IoT deployments that handle protected health information (PHI) need connectivity that supports HIPAA's technical safeguards. This includes encryption in transit and at rest, access controls, audit logging, and the ability to sign a business associate agreement (BAA) with your connectivity provider.

The Security Rule from the U.S. Department of Health and Human Services (HHS) calls for transmission security that guards electronic protected health information (ePHI) against unauthorized access over a network. It also calls for audit controls that record activity in systems that contain ePHI.

When you evaluate cellular connectivity for healthcare devices, confirm these points with any provider:

  • Whether it will sign a BAA, and on what terms
  • Which private APN and VPN options it offers
  • How it encrypts data in transit
  • How it isolates and firewalls devices
  • Which audit logging and access controls it supports

Customers use Hologram connectivity in HIPAA- and PCI-compliant products. Hologram's network security controls isolate devices from the internet and from each other, and end-to-end encryption means Hologram has zero access to device data. Combining a private APN with IPsec VPN creates a network architecture where PHI never traverses the public internet.

This section is not legal advice.

SOC 2 and enterprise security

SOC 2 certification demonstrates that a connectivity provider has controls in place for security, availability, and confidentiality. When evaluating providers, look for SOC 2 Type II certification, which covers ongoing operational effectiveness rather than just a point-in-time assessment.

Best practices for secure device communication

  • Use private APNs for any deployment handling sensitive or regulated data.
  • Enforce mutual TLS authentication between devices and your backend services.
  • Rotate API keys and device credentials on a regular schedule.
  • Monitor for anomalous traffic patterns that could indicate a compromised device.
  • Segment your IoT network from your corporate network to contain potential breaches.

How to choose the right method

Most deployments do not pick just one approach. Here is a framework for matching each method to your needs.

Secure IoT device communication methods
FactorAPI-based communicationSecure tunnelingPrivate APNs and VPNs
Best forFleet management, device commands, data collectionTroubleshooting, firmware updates, remote diagnosticsRegulated data, compliance, network isolation
ScaleHandles thousands of devices through batch operationsTypically one device at a time (or small groups)Applies to all devices on the private network
Security levelApplication-layer (TLS, API keys)Encrypted tunnel (SSH, TCP)Network-layer isolation (IPsec, no public internet)
LatencyLow for commands, variable for large payloadsInteractive, real-timeSame as public APN for throughput
ComplexityLow to moderateModerateHigh (carrier coordination, VPN setup)
CostIncluded with most connectivity platformsIncluded or low additional costAdditional cost for dedicated infrastructure

For most teams, start with API-based communication for day-to-day fleet operations. Add secure tunneling for maintenance and troubleshooting access. Layer on a private APN if your deployment handles regulated data or operates in high-security environments.

For healthcare and finance, begin with a private APN and VPN as your baseline architecture, then add API-based management and tunneling on top.

For high-volume, low-cost deployments like smart meters or asset trackers, API-based communication with MQTT is often sufficient on its own.

Modern SIM technology for flexible device management

The SIM cards in your devices affect which communication methods you can use and how flexibly you can manage connectivity over time.

eUICC and eSIM

Traditional SIM cards lock a device to a single carrier. eUICC (Embedded Universal Integrated Circuit Card) SIMs can store multiple carrier profiles and switch between them remotely. This means you can change carriers, update rate plans, or add regional profiles without physically touching the device.

Hologram's Hyper SIMs are available in SGP.02 and SGP.32 variants, supporting over-the-air profile management. Combined with Conductor's policy-based orchestration, teams can set rules for automatic carrier switching based on coverage, cost, or performance criteria.

What to look for in an IoT SIM

The best IoT SIM for your deployment depends on your specific needs, but key factors include:

  • Multi-carrier support: SIMs that connect to multiple carriers in each region give you redundancy and coverage flexibility.
  • Global reach: If your devices deploy internationally, choose a SIM that covers the regions you need without separate carrier agreements in each country.
  • Remote management: eUICC capability lets you change carrier profiles without physical SIM swaps.
  • Platform integration: The SIM should work with a management platform that gives you API access, real-time monitoring, and automation tools.

Hologram's Hyper SIM covers 190+ countries across 550+ carriers, with the dashboard and API tools to manage connectivity at scale. Hologram transmits more than 3TB of data daily and has maintained 100% historical platform uptime, backed by a 99.95% contractual SLA.

Talk with an IoT expert

FAQs

What is an APN for IoT?

An access point name (APN) is the setting that tells a cellular device which gateway to use between the carrier network and the internet or a private network. Every cellular IoT device uses one, and the APN determines where its data goes and which IP addresses and policies apply. On Hologram, set the APN to hologram. This default APN is already private and isolates devices.

What is the difference between an APN and a VPN for IoT?

An APN controls the network path. It decides which gateway your device traffic uses and whether that traffic reaches the public internet. A VPN encrypts the traffic, typically through an IPsec tunnel from the carrier gateway to your backend. Every cellular device needs an APN, but not every device needs a VPN. Regulated deployments often pair a private APN with a VPN for isolation plus encryption.

Do I need a private APN for HIPAA aligned deployments?

HIPAA does not mandate a private APN by name. The U.S. Department of Health and Human Services (HHS) describes the Security Rule as technology neutral, and it calls for transmission security and audit controls. A private APN plus a VPN is a common way to keep electronic protected health information (ePHI) off the public internet. Confirm whether your provider will sign a business associate agreement (BAA). This answer is not legal advice.

Can I send commands to a device behind cellular NAT?

Yes. Cellular networks place most devices behind network address translation (NAT), and Hologram devices have no internet-routable IP addresses. You cannot connect to them directly from the internet. Instead, send commands through cloud messaging, an API, or a Spacebridge tunnel. Spacebridge uses secure SSH tunneling to connect to any port on the device, which also helps with troubleshooting and firmware updates.

Should I use MQTT or REST for cellular IoT devices?

Use REST for fleet management tasks like activating, suspending, or reconfiguring devices in batches. Use Message Queuing Telemetry Transport (MQTT) for constrained, battery-powered, or intermittently connected devices, because its lightweight publish-subscribe model suits unreliable networks. Many teams use both. REST handles provisioning and management, and MQTT handles ongoing device communication and data streaming.

Hologram University Lessons

What is Hologram University?

Hologram University is free, self-paced courses to help engineers and product builders develop cellular connectivity knowledge, from foundational concepts to real-world deployment.
Every method for sending data to a cellular device depends on how the carrier network routes your traffic. These three Hologram University lessons from the Cellular IoT Foundations course show how that path works, so you can pick the right approach and fix problems faster.

Lesson 2.1: Evolved Packet Core

The Evolved Packet Core (EPC) is the all-IP LTE core between base stations and the internet, and it suits data-only IoT traffic. This lesson maps its five components: the eNodeB, MME, Home Subscriber Server (HSS), SGW, and Packet Data Network Gateway (PGW). The PGW assigns IP addresses and applies APN and quality of service (QoS) policies, so public vs. private APN choices are really PGW configuration decisions. When a device won't attach, these components tell you whether to check the radio, the signaling, or the data path.

Start with the APN lesson if you're bringing a new device online, then work back through the core.

Lesson 2.2: Control plane vs. user plane (MME versus SGW and PGW)

This lesson covers how LTE separates signaling (the control plane) from data (the user plane). The Mobility Management Entity (MME) handles authentication, bearer setup, handovers, and paging. The Serving Gateway (SGW) routes your packets and buffers downlink data for sleeping devices. Diagnosing by plane is one of the most useful troubleshooting skills, especially when a device registers on the network but sends no data.

Lesson 4.2: APNs and network attachment

An access point name (APN) is your data's address label. It tells the network how to route traffic, which IP address to assign, and which security policies to apply. A device with a valid SIM still can't communicate until the correct APN sets up the data path.

In this lesson, you’ll walk through the five-step attachment handshake and see how private APNs keep device data off the public internet through a dedicated tunnel.

Get started with Hologram today