> ## Documentation Index
> Fetch the complete documentation index at: https://cloud-architect.ipoint-labs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Comparing Data Transfer Speeds with S3 Transfer Acceleration

> Hands-on lab · 45m

Launch this lab in the IP Lab Portal, then follow the steps below in the AWS console.

<a className="ip-lab-portal-btn" href="https://labs.intellectualpoint.com/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration" target="_blank" rel="noreferrer">
  Open IP Lab Portal
</a>

## Overview

### Lab Details

1. This lab walks you through the steps to create an S3 Bucket to compare the speeds of Direct Upload and Transfer Accelerated Upload of a file.
2. You will practice using Amazon S3.
3. Duration: **45 minutes.**
4. AWS Region: **US East (N. Virginia) us-east-1**

### Introduction

S3 Transfer Acceleration is a feature provided by Amazon Web Services (AWS) that enhances the speed of transferring files to and from Amazon S3 (Simple Storage Service) buckets. It is designed to overcome the limitations of traditional data transfer methods and provides faster data uploads and downloads.

**Here's how S3 Transfer Acceleration works:**

* **Edge Locations:** AWS has a network of edge locations distributed globally. These edge locations act as data transfer endpoints and are geographically distributed closer to users.
* **Endpoint Optimization:** When you enable Transfer Acceleration for an S3 bucket, AWS assigns a unique endpoint URL to it. This endpoint directs your data transfer to the nearest edge location.
* **Optimized Routing:** When you initiate a file transfer using the Transfer Acceleration endpoint, AWS automatically routes the data through the optimized network path to the edge location closest to the user. This reduces the time taken for data to travel over long distances.
* **Network Optimization:** At the edge location, AWS employs various techniques like parallelization and multi-part uploads to optimize the transfer process. This ensures that the available network bandwidth is utilized efficiently, resulting in faster data transfers.

### Architecture Diagram

<img src="https://mintcdn.com/ip-cloud-architect-pathway/cFGhMl2S4kekNdRt/images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/001.png?fit=max&auto=format&n=cFGhMl2S4kekNdRt&q=85&s=041c6a4ada8b3dca817703433fbf2286" alt="" width="1501" height="580" data-path="images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/001.png" />

### Task Details

1. Sign into the AWS management Console
2. Create an Amazon S3 Bucket.
3. Upload a 55MB file through Direct Upload.
4. Enable Transfer Acceleration.
5. Upload a 55MB file after enabling Transfer Acceleration

### Launching Lab Environment

1. To launch the lab environment, Click on the **Start Lab** button.
2. Please wait until the cloud environment is provisioned. It will take less than a minute to provision.
3. Once the Lab is started, you will be provided with **IAM user name**, **Password**, **Access** **Key**, and **Secret** **Access** **Key**.

> **Note** : You can only start one lab at any given time

## Files you need

Download these before you start — the lab cannot be completed without them.

* [Download Video](/images/saa-files/comparing-data-transfer-speeds-with-s3-transfer-acceleration/download-video.mp4)

## Lab guide

### Lab Steps

#### Task 1: Sign in to AWS Management Console

1. Click on the **Open Console** button, and you will get redirected to AWS Console in a new browser tab.
2. On the AWS sign-in page,

   * Leave the Account ID as default. Never edit/remove the 12 digit Account ID present in the AWS Console. otherwise, you cannot proceed with the lab.
   * Now copy your **User Name** and **Password** in the Lab Console to the **IAM Username and Password** in AWS Console and click on the **Sign in** button.
3. Once Signed In to the AWS Management Console, Make the default AWS Region as **US East (N. Virginia) us-east-1.**

#### Task 2: Creating S3 Bucket

In this task, we are going to create an S3 bucket by providing details about the name, region and object ACLs.

1. Make sure you are in the **US East** (**N.Virginia) us-east-1** Region.
2. Navigate to the **Services** menu at the top. Click on **S3** in the **Storage** section.
3. In the S3 dashboard, click on the **Create bucket** button and fill in the bucket details.

<img src="https://mintcdn.com/ip-cloud-architect-pathway/cFGhMl2S4kekNdRt/images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/002.png?fit=max&auto=format&n=cFGhMl2S4kekNdRt&q=85&s=33682e01f1228f95ec662ea1408139ba" alt="" width="1043" height="307" data-path="images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/002.png" />

In the General Configuration,

4. Bucket Type select : **General purpose**
5. Bucket name: Enter ***whizlabs123***

* **Note:** S3 Bucket names are globally unique, choose a name that is available. Maybe you can enter your name and create one.

6. Object ownership: Select **ACLs disabled (recommended)** option
7. Leave all other settings as default and click on **Create bucket**.

<img src="https://mintcdn.com/ip-cloud-architect-pathway/cFGhMl2S4kekNdRt/images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/003.png?fit=max&auto=format&n=cFGhMl2S4kekNdRt&q=85&s=3c4ccefb67e0dc5f99a2c5eea1916e85" alt="" width="2090" height="1132" data-path="images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/003.png" />

> Kindly ignore the permission error if it appears during the process

<img src="https://mintcdn.com/ip-cloud-architect-pathway/cFGhMl2S4kekNdRt/images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/004.png?fit=max&auto=format&n=cFGhMl2S4kekNdRt&q=85&s=5dae1580c8ba539f540ff79a71153b92" alt="" width="2978" height="1158" data-path="images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/004.png" />

**Task 3: Comparing your data transfer speed with and without Transfer Acceleration**

* Let's see a live example of the upload speed by uploading a 55MB image file with and without Transfer Acceleration, starting with our old method.

#### Task 4: Direct Upload of 55MB file without Transfer Acceleration

1. Download a 55MB Video file from this link ([vpc\_demo](https://labresources.whizlabs.com/1567b811ab1473050537ebdec40e3855/vpc_demo.mp4)). In the bucket, under **Objects** click on **Upload.**

   > **Once redirected to download link follow below step to download file.**

<img src="https://mintcdn.com/ip-cloud-architect-pathway/cFGhMl2S4kekNdRt/images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/005.png?fit=max&auto=format&n=cFGhMl2S4kekNdRt&q=85&s=ebdb275c0bbc90a19e0d2ed36853a8fe" alt="" width="2648" height="1468" data-path="images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/005.png" />

<img src="https://mintcdn.com/ip-cloud-architect-pathway/cFGhMl2S4kekNdRt/images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/006.png?fit=max&auto=format&n=cFGhMl2S4kekNdRt&q=85&s=1895887103609af12f1d4baccc0d909c" alt="" width="2648" height="1376" data-path="images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/006.png" />

> Once the file is downloaded to your local system, please upload it to the S3 bucket using the steps provided below.

<img src="https://mintcdn.com/ip-cloud-architect-pathway/cFGhMl2S4kekNdRt/images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/007.png?fit=max&auto=format&n=cFGhMl2S4kekNdRt&q=85&s=ec8c09d08e9914bbb34016506e930864" alt="" width="1223" height="368" data-path="images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/007.png" />

2. Now click on **Add files** to upload the 55MB file that you downloaded. Note the time of upload to see the difference.

<img src="https://mintcdn.com/ip-cloud-architect-pathway/cFGhMl2S4kekNdRt/images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/008.png?fit=max&auto=format&n=cFGhMl2S4kekNdRt&q=85&s=55242e958caa18318e5203362a12833e" alt="" width="841" height="504" data-path="images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/008.png" />

<img src="https://mintcdn.com/ip-cloud-architect-pathway/cFGhMl2S4kekNdRt/images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/009.png?fit=max&auto=format&n=cFGhMl2S4kekNdRt&q=85&s=2de44947f51f75fe218b9ba2a1c8f869" alt="" width="744" height="642" data-path="images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/009.png" />

3. You'll notice it takes approximately **4-5 minutes** to upload the file (Time depends on the speed of the internet).
4. Once the upload is done, click on **Close** in the top right corner

#### Task 5: Uploading 55MB file with Transfer Acceleration

In this task, we will be enabling Transfer acceleration to our bucket and re-upload the object.

1. Click on your bucket and select **Properties**.

<img src="https://mintcdn.com/ip-cloud-architect-pathway/cFGhMl2S4kekNdRt/images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/010.png?fit=max&auto=format&n=cFGhMl2S4kekNdRt&q=85&s=ba027040045a115e54a1a1e4d9779522" alt="" width="792" height="264" data-path="images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/010.png" />

2. Scroll down to see **Transfer acceleration** and click on it.

3. Click on the **Edit** button.

4. Choose **Enable**, and then click on **Save changes**.

5. **Endpoint** displays the endpoint domain name that you use to access accelerated data transfers to and from the bucket. If you suspend transfer acceleration, the accelerated endpoint no longer works.

<img src="https://mintcdn.com/ip-cloud-architect-pathway/cFGhMl2S4kekNdRt/images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/011.png?fit=max&auto=format&n=cFGhMl2S4kekNdRt&q=85&s=d3b01fce3028b6d8b24b625d5a213d1a" alt="" width="755" height="436" data-path="images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/011.png" />

6. You will see the Transfer acceleration is now enabled.

<img src="https://mintcdn.com/ip-cloud-architect-pathway/cFGhMl2S4kekNdRt/images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/012.png?fit=max&auto=format&n=cFGhMl2S4kekNdRt&q=85&s=dbf18034e46920964d3486dc9b3e6b9d" alt="" width="424" height="191" data-path="images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/012.png" />

7. Rename the downloaded filename as **vpc\_demo(1).mp4** in your local disk.
8. Now go back to the bucket and upload **vpc\_demo(1).mp4**. Note the time of file upload to see the difference.
9. It should take less time compared to the  direct upload.

<img src="https://mintcdn.com/ip-cloud-architect-pathway/cFGhMl2S4kekNdRt/images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/013.png?fit=max&auto=format&n=cFGhMl2S4kekNdRt&q=85&s=6fb03a8ba226911876c5411ac71e0611" alt="" width="1169" height="322" data-path="images/labs/comparing-data-transfer-speeds-with-s3-transfer-acceleration/013.png" />

> #### Do you know?
>
> It's important to note that S3 Transfer Acceleration works best for large files or when transferring data over long distances. For small files or when the source and destination are in close proximity, the performance improvement may not be significant.
>
> S3 Transfer Acceleration provides an efficient and faster way to transfer data to and from Amazon S3 buckets, making it beneficial for scenarios where speed and performance are crucial.

1. This will validate the resources in the AWS account and shows you whether you have completed this lab successfully or not.

### Completion and Conclusion

* You have successfully used the AWS management console to create an Amazon S3 Bucket.
* You have uploaded a 55MB file with Direct Upload and noted how long it took to upload.
* You have enabled Transfer Acceleration, uploaded a 55MB file and noted how long it took to upload.
* You have experienced the data transfer speeds with and without Transfer Acceleration by Live Demo.
* You have successfully validated the lab.

### End Lab

1. Sign out from AWS Account.
2. You have successfully completed the lab.
3. Once you have completed the steps click on **End Lab** from the IP Lab Portal dashboard.

## What gets checked

When you press **Check my work**, the platform verifies each of these:

* **Enable S3 Bucket Transfer Acceleration** — Check whether an S3 Bucket transfer acceleration is enabled or not
* **check s3 object** — Check whether an object is uploaded to the S3 bucket.
* **Create Public AWS S3 Bucket** — Check whether a Public S3 Bucket created or not

## Related help

* [FAQs and Troubleshooting](/aws-saa/support/faqs-and-troubleshooting)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.