Sitemap
Ntombizakhona Mabaso

Ntombizakhona Mabaso

Cloud Computing & Artificial Intelligence

Bandwidth

Speed Of Data Transfer Capacity

9 min readJul 5, 2026

--

The Unsung Hero of Performance….

Bandwidth refers to the volume of data that can be transmitted over a network connection in a given amount of time. Bandwidth is usually measured in megabits or gigabits per second (Mbps or Gbps).

While Bandwidth may not be as glamorous as AI or automation, it plays a vital role in ensuring that cloud services run smoothly and efficiently.

What Is Bandwidth?

Bandwidth is the capacity of your network connection, as in, how much data can move through it at once.

It’s often confused with speed, but a helpful distinction is this: bandwidth is how wide the pipe is, while latency is how long it takes a drop of water to travel through it.

A wider pipe (more bandwidth) lets more data flow at the same time.

Why Bandwidth Matters

Every time you stream a video, sync files, or load a web page from the cloud, bandwidth determines how quickly and reliably that data reaches you. In cloud environments, bandwidth affects:

1. Application Speed

Higher bandwidth means faster response times and smoother user experiences.

2. Data Transfer

Essential for large-scale migrations, backups, or analytics workflows.

3. Real-time Services

Like video conferencing or online gaming, which rely heavily on high, stable bandwidth.

Types of Bandwidth

Most cloud providers differentiate bandwidth by direction and how it’s allocated:

1. Inbound Bandwidth

Data going into the cloud (uploads). Often free with most providers.

2. Outbound Bandwidth

Data leaving the cloud (downloads to users). Typically incurs costs, especially at high volumes.

3. Burstable Bandwidth

A baseline rate that can temporarily spike higher to handle short bursts of traffic.

4. Dedicated Bandwidth

A guaranteed, reserved capacity that doesn’t fluctuate with other users.

💡Understanding inbound vs. outbound is crucial for managing budgets: you usually pay for data leaving the cloud, not data entering it.

How Bandwidth Works on AWS

AWS gives you several services and levers to manage and optimize bandwidth:

  • Amazon CloudFront: A Content Delivery Network (CDN) that caches content close to users, cutting latency and reducing outbound bandwidth from your origin.
  • Amazon S3: Durable object storage that often serves as the origin for web content and large files.
  • Data Transfer Pricing: Inbound data transfer is generally free while outbound is billed per GB. CloudFront lowers that cost by serving cached copies.
  • Amazon CloudWatch: Monitors traffic and bandwidth-related metrics so you can spot bottlenecks and unexpected charges.

Best Practices for Bandwidth

To get the most out of your cloud bandwidth:

1. Use a CDN

Use a CDN (like CloudFront) to reduce latency and offload bandwidth-heavy content.

2. Enable Compression

Enable compression for files and media so less data travels the wire.

3. Optimize Application Code

Optimize application code and reduce unnecessary data requests.

4. Monitor Usage

Monitor usage to avoid bottlenecks and unexpected charges.

Putting It All Together With An Analogy

Press enter or click to view image in full size

Highway

Think of bandwidth like a highway.

The more lanes the highway has, the more cars (data) can travel at the same time without causing a traffic jam.

In the cloud, bandwidth is your digital highway.

If it’s too narrow, everything slows down. But with enough lanes, your data moves fast and smooth.

A CDN, in this analogy, is like building local exit ramps and shops closer to where people live, so they don’t all have to drive to one distant city center.

🏗️ Let’s Build

Demonstrating Bandwidth By Using A Cloud Delivery Network

I know (and hope) you’re eager to get started, so in this practical, hands-on tutorial we’ll:

Use a Content Delivery Network (CDN) to optimize bandwidth and deliver content fast to a global audience.

Prerequisites

  1. An AWS Administrative Account
  2. Multisession Support Enabled

Add Additional Permissions to Your IAM Account

💡 Principle of Least Privilege: It is considered a best practice to grant users only the necessary permissions to perform their tasks, it is a fundamental security concept that will help keep your systems secure in the long run.

Step 01: Sign in with your Administrative Root User Account in order to grant permissions to your active Alias or IAM Account.

Step 02: Select ⁝⁝⁝ Security, Identity & Compliance on the left side of the drop down menu.

Step 03: Select IAM.

You should be redirected to the IAM Dashboard.

Step 04: On the left side of the screen under ▼ Access management

Select IAM users

Step 05: IAM users

Select the Cloud Glossary IAM User.

Step 06: CloudGlossary

Select Permissions.

Click Add permissions ▼

Select Add permissions.

You should be redirected to the Add permissions page.

Step 07: Add permissions

Permission options: Attach policies directly

On the Search bar type and check:

AmazonS3FullAccess

CloudFrontFullAccess

CloudWatchReadOnlyAccess

Click Next

Step 08: Review

Click Add permissions

✅Green banner: 3 policies added to CloudGlossary

Build With Your IAM User Account

💡Build using your IAM account (not the root account) because it’s safer and more controllable: you can enforce least privilege, require MFA, track actions per user in CloudTrail, and quickly remove or rotate access if something goes wrong, while keeping the powerful root account locked down for rare account-level tasks.

Step 09: Sign in with your IAM Account.

Create an S3 Bucket and Upload Content

💡You need something to serve before you can optimize its delivery.

Start by creating a bucket and adding a simple web page.

Step 01: Open the S3 console and choose Create bucket.

Step 02: Create bucket

  • Bucket type: General purpose
  • Bucket namespace: Account Regional namespace (Recommended)
  • Bucket name prefix: bandwidth

💡Leave Block all public access enabled. CloudFront will reach the content securely, so the bucket itself stays private.

Click Create bucket.

✅Green banner: Successfully created bucket “bandwidth-XXXXXX-us-east-1-an”

Step 03: Click ↑Upload

Click Add files

Step 04: Create and upload a small index.html file.

💡Any simple HTML file works. Even one line like <h1>Cloud Glossary Bandwidth!</h1>.

Click Upload.

💡Keep the file small while learning. You can add images or larger media later to see compression and caching in action.

✅Green banner: Upload succeeded

Create a CloudFront Distribution

💡The CloudFront distribution is your CDN. It caches your content at edge locations worldwide.

Step 05: Open the CloudFront console

Step 06: Click Create distribution.

Step 07: Choose a plan: Free

Click Next

Get Ntombizakhona Mabaso’s stories in your inbox

Join Medium for free to get updates from this writer.

Step 08: Get started

  • Distribution name: bandwidth
  • Distribution type: Single website or app

Click Next

Step 09: Specify origin

  • Origin type: Amazon S3
  • S3 origin: Browse S3 → bandwidth-xxxxx → Choose
  • ✔ Allow private S3 bucket access to CloudFront — Recommended
  • Origin settings: Use recommended origin settings
  • Cache settings: Use recommended cache settings tailored to serving S3 content

Click Next

Step 10: Enable Security

Click Next

Step 11: Review and create

Click Create distribution

✅Green banner: Successfully created new distribution.

Enable Compression

💡Compression shrinks text-based files before they travel to viewers, saving bandwidth.

Step 12: In your distribution, open the Behaviors tab.

Step 13: Select the default behavior and choose Edit.

Step 14: Edit behavior

Set Compress objects automatically to Yes.

Click Save changes.

✅Green banner: The default cache behavior was updated.

Test Delivery Through CloudFront

💡Confirm your content is being served from the CDN.

Step 15: In the distribution’s General tab, copy the Distribution domain name (it looks like d1234abcd.cloudfront.net).

💡Wait until the distribution Status shows Enabled (deployment takes a few minutes).

Step 16: Open https://<your-distribution-domain>/index.html in a browser

💡Wyou should see your page, now served from the nearest edge location.

Reload the page. The first load fetches from S3.

Later loads are served from the edge cache, which is faster and uses less origin bandwidth.

Monitor Bandwidth Usage

💡Keep an eye on how much data you’re transferring.

Step 17: In the CloudFront console, open the ▼ Reports & analytics section to view Cache statistics

Step 18: Under ▼ Telemetry, Open the Monitoring tab to see CloudWatch metrics like Data Transfer (outbound bandwidth to viewers) and Requests.

💡Watch how cache hits reduce the load and the outbound bandwidth on your S3 origin.

You now have a working CDN that delivers content quickly worldwide while minimizing outbound bandwidth from your origin.

🏁End of Building Tutorial 🏁

Clean Up Procedure

⚠️Terminate Resources⚠️

Don’t get a Bill Shock by leaving unnecessary resources running.

  1. Navigate to CloudFront and Disable & Delete The Distribution
  2. Navigate to S3 and Empty & Delete The Bucket
  3. Confirm in CloudWatch that no further data transfer is being recorded.
  4. Login with your Administrative Account, and Remove All Permissions and Policies associated with your IAM Account.

⛔ End of Cleaning Up Protocol ⛔

Building Tutorial Overview

                          +---------------------------+
| IAM User Account |
| AmazonS3FullAccess |
| CloudFrontFullAccess |
+-------------+-------------+
|
+-------------+-------------+
| Amazon S3 Bucket |
| (bandwidth-demo-site) |
| Origin: index.html |
+-------------+-------------+
|
+-------------+-------------+
| CloudFront Distribution |
| Compression: Enabled |
| Origin Access Control |
+-------------+-------------+
|
------------------------------------------------
| | |
+----------+-------+ +-----------+------+ +---------+---------+
| Edge Location | | Edge Location | | Edge Location |
| (Americas) | | (Europe) | | (Asia Pacific) |
| Cached Copy | | Cached Copy | | Cached Copy |
+------------------+ +------------------+ +-------------------+
| | |
------------------------------------------------
|
+-------------+-------------+
| Global Viewers |
| Low latency, less |
| outbound from origin |
+---------------------------+

Delivery Flow:
-----------------------------------------------------------------------
Viewer Request --> Nearest Edge --> Cache Hit? --> Serve Fast (no origin)
| miss
--> Fetch from S3 origin once
-----------------------------------------------------------------------

This walkthrough demonstrates one of AWS’s most important performance patterns: using a Content Delivery Network (CDN) to optimize bandwidth and deliver content fast to a global audience.

What Was Built

An Amazon S3 bucket (bandwidth) holds a simple web page, and an Amazon CloudFront distribution sits in front of it with compression enabled. CloudFront caches the content at edge locations around the world.

The Key Demonstration

When a viewer requests the page, CloudFront serves it from the nearest edge location instead of the origin bucket. The first request fetches from S3 once, then every cached request after that is served from the edge which is faster for users and using far less outbound bandwidth from your origin.

Application Speed

Content served from a nearby edge location dramatically reduces latency compared to a single distant origin.

Cost Efficiency

Caching at the edge means fewer requests reach S3, lowering outbound data transfer costs (which is where cloud bandwidth charges usually come from).

Scalability

The CDN absorbs traffic spikes across its global network, so a surge in viewers doesn’t overwhelm your origin.

Least Privilege

This tutorial uses an IAM user with scoped, least-privilege managed policies (AmazonS3FullAccess and CloudFrontFullAccess) rather than the root account. A best practice that limits blast radius if credentials are ever compromised.

Additional Resources

What is Amazon CloudFront?

Amazon CloudFront is a web service that speeds up distribution of your static and dynamic web content, such as .html, .css, .js, and image files, to your users.

CloudFront delivers your content through a worldwide network of data centers called edge locations.

When a user requests content that you’re serving with CloudFront, the request is routed to the edge location that provides the lowest latency (time delay), so that content is delivered with the best possible performance.

Restrict access to an Amazon S3 origin

CloudFront provides two ways to send authenticated requests to an Amazon S3 origin: origin access control (OAC) and origin access identity (OAI). OAC helps you secure your origins, such as Amazon S3.

Amazon EC2 instance network bandwidth

Instance bandwidth specifications apply to both inbound and outbound traffic for the instance.

Press enter or click to view image in full size

Summary

Prerequisites

Amazon Web Services

Theory

  1. Introduction
  2. What Is Bandwidth?
  3. Why Bandwidth Matters
  4. Types of Bandwidth
  5. How Bandwidth Works on AWS
  6. Best Practices for Bandwidth
  7. Putting It All Together With An Analogy: Highway
  8. Concluding Remarks: The Impact of Artificial Intelligence on Bandwidth

Hands On

  1. Add Additional Permissions To Your IAM Account
  2. Create An S3 Bucket and Upload Content
  3. Create a CloudFront Distribution
  4. Enable Compression
  5. Test Delivery Through CloudFront

Cloud Glossary Terms Mentioned in this Article

  1. AI
  2. Automation
  3. CDN
  4. Data
  5. Dedicated
  6. Monitor
  7. Storage
  8. Traffic

Alternatives to Reading

Listen on Spotify

Cloud Computing Simplified: A Cloud Glossary for Beginners

Episode Name: Bandwidth

By: Ntombizakhona Mabaso

Concluding Remarks

Bandwidth might not always be front-of-mind, but it’s the lifeline of every cloud application. Ensuring sufficient, efficient bandwidth is key to delivering reliable digital experiences whether you’re running a global enterprise or a simple web app. In the cloud, speed matters and bandwidth delivers it.

The Impact of Artificial Intelligence on Bandwidth

Artificial intelligence is changing how bandwidth is allocated, predicted, and optimized. Turning the network from a fixed pipe into a smart, adaptive system.

As AI matures, bandwidth management will shift from manual capacity planning to a self-optimizing network. One that anticipates demand and delivers fast, reliable experiences while keeping data transfer costs in check.

Press enter or click to view image in full size
Bandwidth — Speed Of Data Transfer Capacity

Version Control

Originally Published

05 July 2026

--

--

Ntombizakhona Mabaso
Ntombizakhona Mabaso

Written by Ntombizakhona Mabaso

Cloud Computing & Artificial Intelligence