Softwr

Machine Learning · head to head

AWS Direct Connect vs TensorBoard

AWS Direct Connect logo

AWS Direct Connect

Machine Learning

Dedicated private network links from your data centre to AWS

From
$0.03/hour
Free plan
No
T

TensorBoard

Machine Learning

Local visualisation for training runs, reading event files written to a directory

From
Free
Free plan
Yes

The short version

  • TensorBoard is free; AWS Direct Connect starts at $0.03/mo.
  • Only AWS Direct Connect lists dedicated connections; only TensorBoard lists scalar dashboards.
  • Where AWS Direct Connect falls short: provisioning takes weeks and involves a colocation facility or partner, so it cannot be used for a quick or short-term need.

How do AWS Direct Connect and TensorBoard differ?

AWS Direct Connect and TensorBoard differ on starting price ($0.03/hour against Free), pricing model and free tier (No against Yes). Only the attributes on which AWS Direct Connect and TensorBoard actually diverge.

Attributes where AWS Direct Connect and TensorBoard differ
AttributeAWS Direct ConnectTensorBoard
Starting price$0.03/hourFree
Pricing modelPer port hour plus per GB data transfer outOpen-source
Free tierNoYes

Identical on both: platforms (Web).

Not yet recorded: category for AWS Direct Connect.

Which features does each one have?

They share no listed features; 6 appear only for AWS Direct Connect and 9 only for TensorBoard. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in AWS Direct Connect

  • Dedicated connections
  • Hosted connections
  • Virtual interfaces
  • Link aggregation groups
  • MACsec
  • SiteLink

Only in TensorBoard

  • Scalar dashboards
  • Run comparison
  • Graph visualisation
  • Histograms and distributions
  • Embedding projector
  • Image, audio and text panels
  • Hyperparameter view
  • Profiler

What is each one used for?

AWS Direct Connect is most often brought in for hybrid applications that need consistent latency between a data centre and a VPC. The jobs each tool is most often brought in to do.

AWS Direct Connect

  • Moving tens of terabytes to S3 on a dedicated circuit instead of over the internetnot TensorBoard
  • Hybrid applications that need consistent latency between a data centre and a VPCnot TensorBoard
  • Regulated workloads that must not traverse the public internetnot TensorBoard
  • Reducing data transfer out costs for steady high-volume egressnot TensorBoard

TensorBoard

  • Watching a training run in progress on a workstation or a remote box, to decide whether to stop it earlynot AWS Direct Connect
  • Diagnosing why a model is not learning, by looking at gradient and weight histograms rather than only the loss curvenot AWS Direct Connect
  • Profiling a slow training loop to find out whether the bottleneck is the data pipeline or the acceleratornot AWS Direct Connect
  • Working in an environment with no outbound network access, where a hosted tracking service is not an optionnot AWS Direct Connect

Where do AWS Direct Connect and TensorBoard fall short?

AWS Direct Connect's most cited limit: A resilient design needs at least two connections at two locations, which doubles port fees before any traffic is sent. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

AWS Direct Connect

  • Provisioning takes weeks and involves a colocation facility or partner, so it cannot be used for a quick or short-term need
  • A resilient design needs at least two connections at two locations, which doubles port fees before any traffic is sent
  • Colocation cross-connect and carrier circuit costs are billed by third parties and are often larger than the AWS port charge
  • Data transfer out is still metered per GB, and the rate depends on the Region and the Direct Connect location, so cost modelling needs the full rate table
  • The connection is not encrypted by default; adding a VPN or MACsec is extra configuration, and MACsec is only on certain dedicated ports

TensorBoard

  • There is no authentication of any kind, so putting it on a shared host exposes every run, every metric and every logged sample image to anyone who can reach the port, and adding access control means building and maintaining a reverse proxy
  • Event files grow without limit and the interface loads runs into memory, so a directory holding hundreds of runs or a script logging scalars every step becomes slow to start and unpleasant to navigate well before the disk fills
  • It shows only what the training loop chose to write, so nothing connects a curve back to the code commit, the data set version or the environment unless the engineer logged those explicitly, which means the reproducibility problem is left entirely to you
  • TensorBoard.dev, the hosted service for sharing a run by link, was shut down at the end of 2023, so results now travel between colleagues as screenshots or through a deployment somebody on the team has to operate
  • Comparing runs is done by ticking boxes in a run list, which is fine for ten runs and useless for a thousand, and that threshold is precisely where teams start paying for MLflow, Weights and Biases or Neptune instead

How much do AWS Direct Connect and TensorBoard cost?

AWS Direct Connect starts at $0.03/mo; TensorBoard is free to use. Plan by plan below, from each vendor's own pricing page.

AWS Direct Connect

$0.03/hour
  • Hosted connection$0.03/hour
    • 50 Mbps $0.03 per hour, 1 Gbps $0.33, 10 Gbps $2.48 (excluding Japan)
    • Ordered through an AWS Direct Connect Partner
  • Dedicated connection$0.3/hour
    • 1 Gbps $0.30 per hour, 10 Gbps $2.25, 100 Gbps $22.50, 400 Gbps $85.00 (excluding Japan)
    • Ordered directly from AWS at a Direct Connect location
  • Data transfer$0.02/gb
    • Data in is $0.00 per GB
    • Data out from US Regions to US locations is $0.02 per GB, higher for other geographies

TensorBoard

Free
  • TensorBoard (open source, Apache 2.0)Free

Which should you pick?

Choose AWS Direct Connect if

  • You need dedicated connections.
  • You also want hosted connections.

Choose TensorBoard if

  • You need scalar dashboards.
  • You want to start without paying.
  • You also want run comparison.

Questions people ask

Is AWS Direct Connect or TensorBoard better?
It depends on the job. AWS Direct Connect fits moving tens of terabytes to S3 on a dedicated circuit instead of over the internet; TensorBoard fits watching a training run in progress on a workstation or a remote box, to decide whether to stop it early. AWS Direct Connect starts at $0.03/hour and TensorBoard at Free.
Which is cheaper, AWS Direct Connect or TensorBoard?
TensorBoard has a free tier; the other does not. Paid plans start at $0.03/hour for AWS Direct Connect and Free for TensorBoard.
Does AWS Direct Connect or TensorBoard run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use TensorBoard for free?
Yes. TensorBoard has a free tier, so you can try it without paying. AWS Direct Connect starts at $0.03/hour.
What is AWS Direct Connect best used for?
AWS Direct Connect is most often used for moving tens of terabytes to s3 on a dedicated circuit instead of over the internet, hybrid applications that need consistent latency between a data centre and a vpc, regulated workloads that must not traverse the public internet, reducing data transfer out costs for steady high-volume egress. Of those, moving tens of terabytes to s3 on a dedicated circuit instead of over the internet and hybrid applications that need consistent latency between a data centre and a vpc are not what TensorBoard is typically brought in for.
What can AWS Direct Connect do that TensorBoard cannot?
AWS Direct Connect covers Dedicated connections, Hosted connections, Virtual interfaces, Link aggregation groups. TensorBoard covers Scalar dashboards, Run comparison, Graph visualisation, Histograms and distributions.

Answered from the vendors’ own pages

AWS Direct Connect: How much does AWS Direct Connect cost?

A 1 Gbps dedicated port is $0.30 per hour and a 10 Gbps port $2.25 per hour, plus $0.02 per GB data transfer out in US locations, per the AWS pricing page.

TensorBoard: Does it work with PyTorch?

Yes. PyTorch includes a SummaryWriter that emits the same event file format, and Lightning wires it up by default. Nothing about the tool requires TensorFlow at run time.

AWS Direct Connect: Is data in free?

Yes. Data transferred into AWS over Direct Connect is $0.00 per GB at all locations.

TensorBoard: Do I have to install TensorFlow to use it?

No. The tensorboard package installs on its own. Some plugins expect TensorFlow to be present, but the scalar, histogram and image dashboards do not.

AWS Direct Connect: Do I need a VPN with Direct Connect?

Not for connectivity, but Direct Connect is not encrypted by default; a VPN over it or MACsec adds encryption.

TensorBoard: Is it an experiment tracker?

No, and treating it as one is the common mistake. It visualises whatever a run wrote to disk. It does not store hyperparameters, code versions, artefacts or results in a way that survives someone deleting the log directory.

TensorBoard: How do I share a dashboard with a colleague?

Host it yourself behind your own authentication, or send screenshots. The hosted sharing service was retired at the end of 2023.

TensorBoard: What does it cost?

Nothing. It is Apache 2.0 licensed and runs on your own machine.

Share

Related pages

Other head to heads