In this section, we will set up all the necessary AWS resources before starting the main workshop. This includes creating an S3 bucket to store the raw dataset, uploading the TLC Yellow Taxi trip data, and verifying that the required permissions are in place.
After completing this section, you will be able to:
Before starting, make sure you have the following:
If you do not have the dataset, you can download a sample from the TLC Trip Record Data page.
For this workshop, we recommend using a single month of Yellow Taxi trip data in Parquet format.
In this workshop, we will use the following sample configuration.
| Resource | Value |
|---|---|
| S3 Bucket Name | yellow-taxi-trip-demo-fcaj |
| AWS Region | us-east-1 (Ohio) |
| Dataset Format | Parquet |
| Folder Path | / (bucket root) |
You can adjust the bucket name and region based on your own AWS environment.
Step 1: Sign in to the AWS Management Console
us-east-2)You can change the region by clicking the region name in the top-right corner of the console and selecting the desired region from the dropdown.
Step 2: Create an Amazon S3 Bucket
yellow-taxi-trip-demo-fcaj)S3 bucket names must be globally unique across all AWS accounts. If the name is already taken, try adding a suffix such as your initials or a random number.
us-east-2)After the bucket is created, it will appear in your S3 bucket list.
Step 3: Upload the Dataset to S3
If your dataset is split into multiple Parquet files inside a folder, you can click Add folder to upload the entire folder at once. AWS Glue Crawler can scan all files within a folder path.
Step 4: Verify the Uploaded Files
You should see the uploaded files listed with their file size and last modified date.
If you uploaded a folder, click into the folder to confirm the Parquet files are present inside.
The S3 path will look something like: s3://yellow-taxi-trip-demo-fcaj/yellow_tripdata_2024-01.parquet
Step 5: Verify Account Permissions
Before proceeding to the next section, confirm that your AWS account has the permissions needed for this workshop.
At a minimum, your account should have access to:
If you are using an IAM user or role with limited permissions, ask your AWS administrator to attach the AdministratorAccess policy for the duration of this workshop, or ensure the specific service permissions listed above are granted.
In this section, we prepared the AWS environment for the workshop.
| Step | Action |
|---|---|
| 1 | Signed in to the AWS Management Console |
| 2 | Created an Amazon S3 bucket |
| 3 | Uploaded the TLC Yellow Taxi dataset in Parquet format |
| 4 | Verified the uploaded files in the S3 console |
| 5 | Confirmed the required account permissions |
The raw dataset is now stored in Amazon S3 and ready to be processed. In the next section, we will set up Monitoring and Security resources before building the analytics pipeline.