Softwr

Machine Learning · head to head

AWS Direct Connect vs Streamlit

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
Streamlit logo

Streamlit

Machine Learning

Open source Python framework for building data apps and dashboards

From
Free
Free plan
Yes

The short version

  • Streamlit is an Apache 2.
  • Streamlit is free; AWS Direct Connect starts at $0.03/mo.
  • Only AWS Direct Connect lists dedicated connections; only Streamlit lists python scripts turned into web apps.
  • 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.
  • Where Streamlit falls short: requires Python skills; it is a code framework, not a no-code builder.

How do AWS Direct Connect and Streamlit differ?

AWS Direct Connect and Streamlit 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 Streamlit actually diverge.

Attributes where AWS Direct Connect and Streamlit differ
AttributeAWS Direct ConnectStreamlit
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 10 only for Streamlit. 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 Streamlit

  • Python scripts turned into web apps
  • Interactive widgets
  • Caching with cache_data
  • Session state
  • Charts, tables and dataframe display
  • Fragments that rerun part of an app
  • Chart selections for cross-filtering
  • Built-in sign-in with st.login

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; Streamlit for internal data dashboards. 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 Streamlit
  • Hybrid applications that need consistent latency between a data centre and a VPCnot Streamlit
  • Regulated workloads that must not traverse the public internetnot Streamlit
  • Reducing data transfer out costs for steady high-volume egressnot Streamlit

Streamlit

  • Internal data dashboardsnot AWS Direct Connect
  • Machine learning demosnot AWS Direct Connect
  • Exploratory data apps for analystsnot AWS Direct Connect
  • Prototyping apps on Snowflake datanot AWS Direct Connect
  • Sharing notebooks results as web appsnot AWS Direct Connect

Where do AWS Direct Connect and Streamlit 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. Streamlit's: requires Python skills; it is a code framework, not a no-code builder. 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

Streamlit

  • Requires Python skills; it is a code framework, not a no-code builder
  • By default the whole script reruns on each interaction
  • Community Cloud is described as free for public apps; private apps use Snowflake
  • The Snowflake hosting option requires starting a Snowflake trial
  • External pull requests to the GitHub repository are currently paused

How much do AWS Direct Connect and Streamlit cost?

AWS Direct Connect starts at $0.03/mo; Streamlit 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

Streamlit

Free

No published plan breakdown. See the Streamlit review.

Which should you pick?

Choose AWS Direct Connect if

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

Choose Streamlit if

  • You need python scripts turned into web apps.
  • You want to start without paying.
  • You also want interactive widgets.

Questions people ask

Is AWS Direct Connect or Streamlit 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; Streamlit fits internal data dashboards. AWS Direct Connect starts at $0.03/hour and Streamlit at Free.
Which is cheaper, AWS Direct Connect or Streamlit?
Streamlit has a free tier; the other does not. Paid plans start at $0.03/hour for AWS Direct Connect and Free for Streamlit.
Does AWS Direct Connect or Streamlit run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use Streamlit for free?
Yes. Streamlit 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 Streamlit is typically brought in for.
What can AWS Direct Connect do that Streamlit cannot?
AWS Direct Connect covers Dedicated connections, Hosted connections, Virtual interfaces, Link aggregation groups. Streamlit covers Python scripts turned into web apps, Interactive widgets, Caching with cache_data, Session state.

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.

Streamlit: Is Streamlit free?

Yes. Streamlit is licensed under Apache 2.0 and described as completely free and open source. Streamlit Community Cloud is described as totally free for public apps.

Source
AWS Direct Connect: Is data in free?

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

Streamlit: What language is Streamlit written for?

Streamlit apps are written in Python. You add Streamlit commands to a normal Python script and run it with streamlit run your_script.py.

Source
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.

Streamlit: Where can Streamlit apps be hosted?

Apps can be deployed to Community Cloud, which deploys from a GitHub repository, in your own cloud, or inside Snowflake for private apps. Private apps run inside Snowflake under its access controls.

Source
Streamlit: Does a Streamlit app rerun the whole script?

By default, yes. The documentation says the whole script reruns from top to bottom whenever something on screen must update, and caching and fragments reduce the cost.

Source
Share

Related pages

Other head to heads