Develop AWS Glue Jobs Locally Using Visual Studio Code and Docker on Windows - step by step

  Рет қаралды 7,645

DataEng Uncomplicated

DataEng Uncomplicated

Күн бұрын

This Video is a step-by-step tutorial on configuring your Windows computer to work with Visual Studio Code (VS Code) and Docker to run AWS Glue Jobs. This video will walk through how to configure AWS Glue 4.0.
Buy me a Coffee - www.buymeacoffee.com/dataengu
DoubleCloud Sponsor Link - double.cloud/?...
Tutorial Links:
AWS Documentation - aws.amazon.com/blogs/big-data...
AWS Glue 4.0 Image on Docker Hub - hub.docker.com/layers/amazon/...
aws-glue-libs: github.com/awslabs/aws-glue-libs
sample glue script: github.com/AdrianoNicolucci/d...
#aws #dataengineering #awsglue

Пікірлер: 41
@prabhathkota107
@prabhathkota107 2 ай бұрын
Beautifully explained about the setup. Understood how docker works as well. thanks a ton, Subscribed.
@dinhhoangtu311
@dinhhoangtu311 17 күн бұрын
Well explained video. Thanks!
@DataEngUncomplicated
@DataEngUncomplicated 16 күн бұрын
You're welcome!
@bananaboydan3642
@bananaboydan3642 8 ай бұрын
Your channel is amazing bro. Perfect for the project I’m working on
@DataEngUncomplicated
@DataEngUncomplicated 8 ай бұрын
Thanks a lot!
@asishb
@asishb 8 ай бұрын
Thanks a lot to put out a comment in the previous video.
@jzevakin
@jzevakin 2 ай бұрын
Thank you!!
@DataEngUncomplicated
@DataEngUncomplicated 2 ай бұрын
You're welcome!
@shashankreddy8390
@shashankreddy8390 8 ай бұрын
Hi, I love all your videos. I have a video suggestion: Can you please make an end to end project on 1.how to run a job from start to end. 2. How to monitor glue cloud watch metrics? 3. How to check cloud watch error logs if a glue job has failed or is a success? 4. How to trigger this glue job daily and append the results into an s3 bucket.
@Levy957
@Levy957 5 ай бұрын
you are awesome
@julianromero3359
@julianromero3359 4 ай бұрын
Excelent tutorial
@DataEngUncomplicated
@DataEngUncomplicated 4 ай бұрын
Thanks Julian!
@SonPhan1
@SonPhan1 Ай бұрын
i appreciate the really informative video! I followed everything and i'm stuck on running the pyspark code in the dev container environment. when i launch the dev container in the same/new window, i don't see the extensions in the container environment. The python interpreter doesn't show up either and when i go to the extension tab in the container environment, all the extensions are not installed. Is there additional configuration files in vs code i need to modify to enable the already installed extensions to run from the dev container?
@OmegaStyler
@OmegaStyler 7 ай бұрын
Great work Adriano, thanks for these videos! Quick question about AWS Glue - lets say I have 300 tables in my Data catalog and I want to load them all at once, add a loaddate column to all of them and write them into another target (Another Database / data catalog etc.) What is the easiest solution to do this? I'm able to load one single table but not all at once. Many thanks!
@DataEngUncomplicated
@DataEngUncomplicated 7 ай бұрын
Thanks, if your doing the exact same transformation on all 300 tables, I would put the table names in a list and then loop through each table to add this load date column and then write it to another target. If your tables are very large I would be careful trying to bring all 300 tables into memory at once so perhaps looping through might be a better option of this is the case. The other option is Create a Parameterized Glue Job...Write a Glue ETL script that performs the required transformation on a single table, making use of parameters for dynamic values (e.g., input table name, output table name, etc.).
@rohithreddy41
@rohithreddy41 3 ай бұрын
thank you for the video. I am unable to run the program because i do not see the run button after clicking "attach in current window"
@rohithreddy41
@rohithreddy41 3 ай бұрын
I had to install python in the container and now i see the run button.
@TheSmilingLamp
@TheSmilingLamp 7 ай бұрын
How do you fix Permission Denied issues? I can't mount my .aws folder or any other directory to the workspace and also be able to read/write files to these mounts
@DataEngUncomplicated
@DataEngUncomplicated 2 ай бұрын
Hi, it sounds like you don't have admin permissions on your own machine. I would probably talk to your IT team to see how they could help. I didn't experience any permission issues.
@Neeoooo
@Neeoooo Ай бұрын
@@DataEngUncomplicated It looks like the glue_user does not have permission to access the mapped volume folder location for AWS configs. I had to specifically give read permissions from my local machine
@DevNarayan51
@DevNarayan51 6 ай бұрын
I am using MAC OS and trying to setup AWS Glue locally with VS code. Can you help me please. As i am not able understand to setup in my mac after 3:22
@DataEngUncomplicated
@DataEngUncomplicated 6 ай бұрын
For this step, just navigate to where you have your vs code workspace file and open it in vs code. It might look differently on a Mac I did this on a windows machine.
@keyurpatel3387
@keyurpatel3387 5 ай бұрын
Thanks. However, I am getting the below error while following this in Windows 11. Any idea what could be wrong and how to solve it: def since(version: Union[str, float]) -> Callable[[F], F]: saying invalid syntax
@DataEngUncomplicated
@DataEngUncomplicated 5 ай бұрын
Strange, at what stage did you get this error?
@watsup1269
@watsup1269 6 күн бұрын
Hi, to someone who found this error. I also did but solved it by using the command: "python3 " instead of "python "
@stevenjosephceniza8245
@stevenjosephceniza8245 2 ай бұрын
Thank you for this guide! I tried using pycharm and my old computer cannot handle it. I almost purchased for a subscription.
@DataEngUncomplicated
@DataEngUncomplicated 2 ай бұрын
Hi, I'm not sure what you mean it almost purchased a subscription. But you need pro to use docker in pycharm.
@RyanMontSerrat
@RyanMontSerrat 6 ай бұрын
Great video man, but how do I import local csv files?
@DataEngUncomplicated
@DataEngUncomplicated 6 ай бұрын
Hi Ryan, since your deployed AWS glue eventually runs in the cloud you would need your data in S3. You can manually upload your data to S3 through the AWS S3 console or use boto3 or the AWS S3 cli to do this.
@maximilianrausch5193
@maximilianrausch5193 8 ай бұрын
What is different about this new video compared to the prior ones?
@DataEngUncomplicated
@DataEngUncomplicated 8 ай бұрын
This one is with visual studio code vs my last video was pycharm. I got a lot of comments that more people use vs code and wanted a tutorial specifically for that ide
@rahulpanda9256
@rahulpanda9256 4 ай бұрын
This video is not clear.. especially the workspace section. Can you try to create a new workspace and show the same? Also how would developers use a common code base in this case as the workspace location is internal to glue. How can we mount an s3 bucket to save everyone’s code?
@DataEngUncomplicated
@DataEngUncomplicated 2 ай бұрын
Hi Rahul, The workspace location is specific to the individual developer. When we run code on our docker container, we are telling the docker container to run some code we have on our local machine. So to answer your question about "how would developers use a common code base". This should always be in a code repository like github, codecommit, or bitbucket. I wouldn't advise an s3 bucket for storing everyone's code.
@Angleito
@Angleito 3 ай бұрын
does this work with the debugger?
@DataEngUncomplicated
@DataEngUncomplicated 3 ай бұрын
Yes
@dipeshg8581
@dipeshg8581 7 ай бұрын
Thanks for the video. But sir we are not able to display dataframe as table . It's showing json line by line. Sir How to resolve this ?
@DataEngUncomplicated
@DataEngUncomplicated 7 ай бұрын
That's a good question, I'm not sure how to visualize the data in vs code from spark I use pycharm mostly.
@dipeshg8581
@dipeshg8581 7 ай бұрын
@@DataEngUncomplicated sir on pycharm also dynamicframe is shown as json line-by-line in your video
@dipeshg8581
@dipeshg8581 7 ай бұрын
@@DataEngUncomplicated Sir On pycharm also dynamic-frame is not shown as table instead it is json line-by-line as seen in your video.
@DataEngUncomplicated
@DataEngUncomplicated 7 ай бұрын
I don't think pycharm supports visualizing spark dataframes, you can bring the data into a pandas dataframe and then you can view the data in debugging mode as one method. @@dipeshg8581
@dipeshg8581
@dipeshg8581 7 ай бұрын
@@DataEngUncomplicated thank you sir 🙏🏼
Deploying a Glue Job to AWS with Terraform: A Step-by-Step Tutorial
16:51
DataEng Uncomplicated
Рет қаралды 3,6 М.
Smart Sigma Kid #funny #sigma #comedy
00:26
CRAZY GREAPA
Рет қаралды 7 МЛН
Happy 4th of July 😂
00:12
Alyssa's Ways
Рет қаралды 65 МЛН
Don't use VSCode
35:31
PyCon South Africa
Рет қаралды 215 М.
If you're not developing with this, you're wasting your time
14:30
Articulated Robotics
Рет қаралды 271 М.
Top AWS Services A Data Engineer Should Know
13:11
DataEng Uncomplicated
Рет қаралды 156 М.
AWS Tutorials - Interactively Develop Glue Job using Jupyter Notebook
25:09
The cloud is over-engineered and overpriced (no music)
14:39
Tom Delalande
Рет қаралды 503 М.
Why Data Engineers Should Develop AWS Glue Jobs Locally
6:45
DataEng Uncomplicated
Рет қаралды 6 М.
AWS Tutorials - AWS Glue Studio integration with Code Repository
20:20