YouTube Data Analysis | END TO END DATA ENGINEERING PROJECT
Vložit
- čas přidán 26. 06. 2024
- Join My Data Engineering Courses - datavidhya.com/courses
In this video, you will execute the END TO END DATA ENGINEERING PROJECT using Kaggle CZcams Trending Dataset.
If you are someone who wants to learn Data Engineering by doing hands-on projects then this video is for you!
👉🏻Part 2 of the video - • CZcams Data Analysis ...
✨Visit ProjectPro for more projects - bit.ly/3iIGfM5
Useful links mentioned in the video -
1. Create Your AWS Account - aws.amazon.com/premiumsupport...
2. Download AWS CLI - aws.amazon.com/cli/
3. Download Data From Here - www.kaggle.com/datasnaek/yout...
Find Commands and Code Used in the video here - github.com/darshilparmar/data...
👉🏻 Learn Basics (If you don't know) 👈🏻
1. Learn Python From Here - bit.ly/3t9pFLx
2. Learn SQL here - bit.ly/3KNmUW8
3. Learn Spark and Big Data - bit.ly/3telBcW
4. Learn AWS Lambda - aws.amazon.com/lambda/
Join Data With Darshil Discord Server: / discord
Timestamps
0:00 Project Introduction (Very Important)
2:22 What You Will Learn
4:57 Understand Dataset That We Are Going To Use
6:16 On-Premise vs Cloud Data Processing
8:50 Create Your AWS Account
9:19 Best Practices To Follow On AWS
9:59 Create IAM Account For Admin
13:15 Install AWS CLI
16:05 Create S3 Bucket and Upload Our Data
22:05 What is Data Lake?
23:40 Understand Data That Got Uploaded
24:45 Build Glue Crawler and Catalog
30:14 Use Athena and SQL to Query Data
32:20 Solving Error and Preprocessing Data
34:57 Writing ETL Job In Lambda and Cleaning Data
42:33 What is AWS Lambda and Layers?
47:51 Querying Our Cleaned Data on Athena
👦🏻 My Linkedin - / darshil-parmar
📷 Instagram - / darshilparmarr
🎯Twitter - / parmardarshil07
🌟 Please leave a LIKE ❤️ and SUBSCRIBE for more AMAZING content! 🌟
3 Books You Should Read
📈Principles: Life and Work: amzn.to/3HQJDyP
👀Deep Work: amzn.to/3IParkk
💼Rework: amzn.to/3HW981O
Tech I use every day
💻MacBook Pro M1: amzn.to/3CiFVwC
📺LG 22 Inch Monitor: amzn.to/3zk0Dts
🎥Sony ZV1: amzn.to/3hRpSMJ
🎙Maono AU-A04: amzn.to/3Bnu53n
⽴Tripod Stand: amzn.to/3tA7hu7
🔅Osaka Ring Light and Stand: amzn.to/3MtLAEG
🎧Sony WH-1000XM4 Headphone: amzn.to/3sM4sXS
🖱Zebronics Zeb-War Keyboard and Mouse: amzn.to/3zeF1yq
💺CELLBELL C104 Office Chair: amzn.to/3IRpiL2
👉Data Engineering Complete Roadmap: • Data Engineer Complete...
👉Data Engineering Project Series: • Data Engineering Proje...
👉Become Full-Time Freelancer: • Best Freelancer Series...
👉Data With Darshil Podcast: • Podcast Series - Data ...
✨ Tags ✨
data engineering projects, big data project, data engineering project hands-on, hands-on data engineering projects, learn data engineering, data engineering roadmap, how to become data engineer, data engineering free projects, big data engineering, big data
✨ Hashtags ✨
#dataengineer #project #darshil
Thank you to Darshil Parmar!.
Please note that you deployed the lambda function at 39:00 minutes of the video. It is not mentioned specifically in your explanation.
If not deployed it will only run the default code which will anyway run successfully with hello-world print.
Yes, I have made mistake while editing the video, lot of people faced this error
thanks for the solution! i was stuck here for a long time 😅
Darshil Parmar thanks so much for the video! hopefully this solution can be pinned for others to refer to :)
@@DarshilParmar can you plz provide me a solution of error at 39:00 . i am getting error as
"{
"statusCode": 200,
"body": "\"Hello from Lambda!\""
}"
@@fahadbakshi5449 It's not an error, You need to click on Deploy button
This post needs to be pinned. I wasted todays trying to figure out how to make the lambda function work until I decided to go through the comments.
It takes a lot of effort and energy to execute the entire project and record it! I hope you find this useful and make sure you Like this video :)
What according to you will be the best resource to understand lambda in depth? I need help on that. I am working on bigdata project, but this was not my domain, learning new things and I need to learn faster. Any leads will be helpful for me. Thanks in advance. Also, please keep producing such awesome contents. Thanks a lot!!
@@aritra1414 check out AWS reinvent videos on CZcams on lambda and read white paper on lambda to understand more
Hi Darsheel .. great video as always and yes i did click on like 😀 ... Can you please make a video on how to create a project in Dev environment and then switch to production environment in AWS ..... Basically how to manage the code Lifecycle in AWS from Dev to Production.... or may be you can point to a resource ... Thanks
By following these steps is im able to build this project in azure
I respect your efforts but to be honest I didn't understand anything. please me it in simpler way or breakdown it into smaller chunk if you can
For people watching this tutorial now,
AWS DataWrangler has been changed to AWS SDK for Pandas. Name has been changed but core functionality remains same
thank you so much man, was going nuts on this! how did you know about this?
thanks man much appreciated
@@vishnuvardhan9082 hii,
When I changed the layer to AWS SDKPandas and modified the code I found the same error
Error :
{
"errorMessage": "Unable to import module 'lambda_function': No module named 'AWSSDKPandas'",
"errorType": "Runtime.ImportModuleError",
"stackTrace": []
}
Thank you very much
thanks bhai
Thank you to Darshil.
This is for those who facing issues -
1) Replace awswrangler with awssdkpandas in the code. The rest code remains the same.
2) Add Layer : AWSDataWrangler-Python3.8 replaced it with AWSSDKPandas-Python3.8 version 10
3) Create db_youtube_cleaned db using Glue or Athena before running the code.
4) For Task timed out issue - increasing the memory along with time, for eg. time = 5 min, memory = 512 MB
Hope this helps :)
Tip: Guys, please go through the comments, if you are stuck. You will be able to find a solution for sure.
Thanks for putting this in one comment
Thank you for the amazing tutorial and putting a lot of effort @@DarshilParmar. Looking forward to more projects :)
@snehakadam16 @Darshilparmar facing issues like
"errorMessage": "Unable to import module 'lambda_function': No module named 'awssdkpandas'",
"errorType": "Runtime.ImportModuleError",
"stackTrace": []
help me out
it worked i think the database name should be = ""db_youtube_cleansed"""
even awswrangler with AWSSDKPandas-Python3.8 version 10 and memory 256 mb is working fine for me. Thank you.
But as per the video the database should get created automatically
How did you solved this ?@@vamsivenna
These tutorials are so helpful for me! And also, they show how much effort on production you put into them. Thank you so much, Darshil!
This project and you explaining it in a simple and elaborate way was awesome. Keep them coming!
Amazing job - I'm just starting to use AWS because I would like to become a Cloud Engineer and this just incredible. Thank you a lot for your effort !!
Darshil, you have made one of the most valuable DE learning channels on youtube. Keep up the amazing work! Thank you.
Thanks, will do!
@@DarshilParmar Function Logs
START RequestId: 2b020a60-532e-4b33-9933-7cc87b5406cc Version: $LATEST
An error occurred (EntityNotFoundException) when calling the CreateTable operation: Database db_youtube_cleaned not found.
Error getting object youtube/raw_statistics_reference_data/CA_category_id.json from bucket de-on-youtube-raw-useast1dev. Make sure they exist and your bucket is in the same region as this function.
LAMBDA_WARNING: Unhandled exception. The most likely cause is an issue in the function code. However, in rare cases, a Lambda runtime update can cause unexpected function behavior. For functions using managed runtimes, runtime updates can be triggered by a function change, or can be applied automatically. To determine if the runtime has been updated, check the runtime version in the INIT_START log entry. If this error correlates with a change in the runtime version, you may be able to mitigate this error by temporarily rolling back to the previous runtime version. For more information, see docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html
[ERROR] EntityNotFoundException: An error occurred (EntityNotFoundException) when calling the CreateTable operation: Database db_youtube_cleaned not found.
Darshil, this is an amazingly executed project and it was easy to follow. Thanks for taking the time to put this together. Great channel.
Best video I have seen so far for the end to end project in big data. Thanks!
Amazing @darshil ....It is clearly visible how much effort u have put in for ppt , video reording , storyboarding and including small small nuances and error that could be potentially faced.
It can't express in words how valuable it is and how much information you are providing for the community. Really inspiring and motivating.
Someone in other comment rightly mentioned It is a pure gem on CZcams
Great Stuff, You Rock boey! The entire video was very much intuitive and I must say that without a shadow of doubt that all the nitty gritties of Data is discussed in this, heading for the second part now. Worth a ⌚
Thanks a loads for this video Darshil! Very much appreciated! 👏👏👏👏
Excellent work. Thank you for this amazing workshop.
(edited) Important note on missing libraires :
- AWSDataWrangler-Python3.8 is not still available
- I replaced it with AWSSDKPandas-Python3.8 version 1
I am having error for database db_youtube_cleaned not found can you please check once?
@@anupammathur918 same here
@@soumyaranjandash3597 becz that is not created go to athena nd create one db with that name
@@anupammathur918 Thanks this helped. I created the database in Glue and it worked
@@anupammathur918 can you please elaborate in anthena data sources are there
Just wanted to say thank you to Darshil Parmar for these projects. It's hard to find anything online that helps to this extent from end-to-end. This is great stuff! Cheers! :)
I am unable to proceed further after clicking on test getting err0r:"errorMessage": "'s3_cleansed_layer'",
"errorType": "KeyError", can anyone pls tell what's the problem?
Are You Solve the error@@mcaddit6802
Great Project Documentation to try for yourself. One little thing to add would be a rough aws cost estimate. Definitely a thing I would be looking for if I was starting.
hey Darshil, I rarely comment but just wanted to say a big thank u. This helped me out a lot! Looking forward to more of such content in the future :D
Thank you so much for doing this.... The only one on youtube with curated data related content ❤💫
Thank you for your support and kind words
Thank you, man.. Keep up the good work!
Great work Darshil! 🔥🔥
this is a great project with your excellent guidance Darshil. Thank you!😀
Thank you so much for this darshil!...keep up the good work🙌
Thank you, I will
Thank you so much for teaching us such valuable content! Be blessed
Just love your content man. Keep it up !!!
Appreciate it!
Thank you Darshil for this amazing video, it was very helpful. Just completed this whole project plus did some extra work of moving data to redshift using glue job as well while creation connection and enabling vpc endpoint.:)
Great video. Loved it and helped me build my resume. Would love to do what you do today and freelance
Really appreciate your hardwork you bring to tthe table!!!
Thank you making my hardwork pay off by watching video
Thanks for all your efforts! This is perfect.
You're very welcome!
Excellent explanation. Each and every step is easy to follow and understandable.
Thank you for this particular video
Great Video, Thank you so much!!
Thanks alot brother..needed such kind of lecture ..really helped in enhancing my skills..please make more such videos
Thank you so much Darshil for this video. We need more such project based learning in data engineering instead of just cliche theory. 😆
Yes, more videos like this is coming
I am unable to proceed further after clicking on test getting err0r:"errorMessage": "'s3_cleansed_layer'",
"errorType": "KeyError", can anyone pls tell what's the problem?
Great Work, Darshil!!! Next level Data Engineering knowledge provided by you in this content. ✌️ Industry level project.
Thank you for supporting
Hi Darshill, good video and thanks very much. I learned a lot. Please in your subsequent videos, do try to zoom in more often so we can get to see what you’re doing on the screen. Thanks.
Your content on data is pure! No match.
Thank you
Did you get charged while using AWS services under free tier?🤔
Thank you so much for making this video!!! This would be 6-7th video of yours which I've added to my playlist. I request you to post more such project videos in different domains.
Thank you, yes I will try to post such videos
Thanks, man.....appreciate your hard work and effort
Thanks Ijaj
its a great one, very useful n resourceful for aspirants like me👍🏼
WOWW. This is amazingggg. Thanks Darshil. I have just started watching the video and looking at the content got me excited.
This is the type of comment I wait for, thanks for supporting my work!
@@DarshilParmar you’re welcome
Awesome tutorial project. I could complete this session.
for those trying it now-
1. awswrangler name has been changed to awssdkpandas. Rest code wise - it remains the same
2. you need to have glue database created before hand, otherwise it throws error .
Hi Percy, while trying to add Aws layers, I only get 3 options - AppConfig Extension, Lambda Insights Extension, Parameters and Secret Lambda extension. Not sure what I am missing. Please help
@Darshil
Hi, Darshil thanks for this project. Faced a lot of errors but took two days to complete the project. In the end, it is satisfying.😀
can you give the estimated cost of aws services used in this project it will be of so much help and thank you
@@vanadin8009 we can do basically for free with free tier AWS account
Great video man.
AWS has updated the Emphemeral storage of Lambda to 10 GB
Thank you Darshil for this wonderful video. One thing I would like to point out that might help others following this tutorial is whenever you update your lambda function, click on deploy first to actually test your changes. In my case I wasn't getting any errors and later realized that the default hello world code was still running.
Yes, I might have made mistake while editing the video, I did click on deploy and lot of people missed it.
I will keep this in my mind
Thank you for the feedback
@@DarshilParmar while we're at it, could you please give a solution for the EntityNotFoundException that somebody else also pointed out. I'm also getting the same error and haven't been able to resolve it. Tried creating the cleansed database in glue manually but still it is not working. Hope to get a reply.
Thanks in advance :)
Thanks Ashutosh ,same thing faced by me .thanks for posting this comment ,its helpful.
@@arpansatpathi9645 was it resolved ?if yes could you post the solution?
@@arpansatpathi9645 rename 'db_youtube_cleaned' to 'de_youtube_cleaned' in env varialble
Thanks Darshil for Creating this Video
Thank you for watching
Part1 done. It was really informative. Waiting for part 2!
Check link in the description for that
Bro can u plzz help me for this actually I stuck in part 1 during catalog data from1week so I can move forward if u tell my mistakes over their🙏it will big help for me
@@harshalshende69do you find solution
Thank you Darshil, I completed this part successfully. Your content is invaluable may God bless you
bro i got stuck at 30:00 minute can u plz help me
How did you solve runtime error
Thanks Darshil for such a valuable learning...
Thank you for watching
I hope you have more such projects for us in your pipeline 😍 Please do it
Yes, I will work on it
Great and helpful tutorial.
Absolute gem! Thank you for making this video. Learned a lot today.
And if possible, Although I know you have your job, please try to make more of such content in future.
Lots of love💛💛
I will try my best to provide as much as I can
I am unable to proceed further after clicking on test getting err0r:"errorMessage": "'s3_cleansed_layer'",
"errorType": "KeyError", can anyone pls tell what's the problem?
How do you solve runtime error
@@mcaddit6802 yeah I am also getting same error, how did you solved it. Can you help me out
Thank you so much Darshil !
Most welcome!
Thank you very much brother.
Thank you so much!
Thank you very much!
After consistently working for 2 days, finally done with the project.
How did you solve the runtime problem?
@@sembrueldorinvil4167same question bro
How did you solve runtime lamda error ?
Found the answer. Assign memory to your function. I think 500 MB should work.
@@sembrueldorinvil4167 then also same error so much frustrating it is
Excellent.plz upload more project
Hi Darshil, please make video on how do you deliver the project to your clients after completing it.
It Was An Amzaing Project. I Learned Alot From This Video. Thank You So Much, Appreciated The Work.
You are most welcome
thank you darshil very informative content........please upload 2nd part of video
It is uploaded, check link in the description
Hi Darshil! You r doing great job
Please make more video on end to end project
Sure I will
That is pro level content ❤️💥
Pro level viewer who watches entire 1 hour thing in the world of reels/shorts
Thanks Darshil big help.
Did you get charged while using AWS services under free tier?🤔
best project 🔥
FYI - Now AWS Wrangler has been renamed to AWS SDK Pandas
Lifesaver ! Thanks
prajwal, I am getting this error:
{
"errorMessage": "Glue table does not exist in the catalog. Please pass the `path` argument to create it.",
"errorType": "InvalidArgumentValue",
"stackTrace": [
" File \"/var/task/lambda_function.py\", line 40, in lambda_handler
raise e
",
" File \"/var/task/lambda_function.py\", line 27, in lambda_handler
wr_response = wr.s3.to_parquet(
",
" File \"/opt/python/awswrangler/_config.py\", line 735, in wrapper
return function(**args)
",
" File \"/opt/python/awswrangler/_utils.py\", line 178, in inner
return func(*args, **kwargs)
",
" File \"/opt/python/awswrangler/s3/_write_parquet.py\", line 719, in to_parquet
return strategy.write(
",
" File \"/opt/python/awswrangler/s3/_write.py\", line 313, in write
raise exceptions.InvalidArgumentValue(
"
]
}
Please help.
Great Video 🔥🔥💯 Thanks
Appreciate it
best video
This is the first video I'm watching from your channel sir. Even though I didn't understand much, I watched till the end. Your explanation of the stuff just kept me going. I'm a 2nd year engineering student. I have done web development earlier and have basic knowledge of SQL. This data engineering field seems to be very interesting field to dive in. Can you please guide me through sir? So that I can learn the topics and build some good projects using necessary and relevant technology.
I have complete roadmap on my channel for Data Engineering and study plan, you can check that and start working
Hey Darshil ,i rarely comment but just wanted to tell you tht you are awesome nd you content is just amazing ❤️
Thank you Siddhi
Superrr bro
wow amazing man
Thanks a lot!
among this and covid project ..which one should i try building first as a beginner ?
good job !
Hey great video. I wanted to ask whether I will be charged for using AWS Athena coz it mentioned additional charges for using athena query when I opened it. Thanks for the video.
Please create similar end to end project using GCP services there is no content available on CZcams.
it will be very helpful,
Thanks👍
Took me 5 days to complete this video with hands on.
But these were all worth it.
- Complete noob me
Bro help me to solve run time error @rohanchoudhary672
Hello what should i learn before doing this project? What are the prerequisites? Thanks
You are amazing 💯
Thank you 🙌
thanks
Hey Darshil, if you were a beginner how would you write such long code in lemda? I am a beginner and wondering how will I be able to write such codes
@DarshilParmar I tried using flatten transform in ETL job but it didn't work
is it because json contains array?
can you suggest me how to proceed with ETl in few words so that I can work on that
What is the similar service in GCP for AWS Glue Crawler ?
Dear Darshil, Could you please let us know which architecture have you used in the demo -- Lambda architecture or Kappa Architecture. Wanted to understand more on architecture prospective. Please share your thoughts.
Hi Darshil while running the Athena job getting HIVE_CURSOR_ERROR: Row is not a valid JSON Object - JSONException: A JSONObject text must end with '}' at 2 [character 3 line 1]
This query ran against the "de_database_raw" database, unless qualified by the query. error
do you have a end to end but not with AWS? (like hadoop or spark?)
Nice
Hi Darshil, I always think of starting your project videos but I always got stuck whether aws cloud services willl be charged or it's free or is there any other alternatives
Thank you for your effort. How much amount AWS billed to build this project ? Or all services are under free tier ?
I have a question and i hope you will answer,
is these services free in aws free tier
Thank you bhaiya for this video
You are welcome
Did you get charged while using AWS services under free tier?🤔
The AWS tools used in this project are available in the free tier?
If you are getting a runtime error when running the lambda function even after 3 minutes. Make sure to add
import pandas as pd
This will solve the issue as the AWS wrangler changed to AWS SDK Pandas
hello thank you for this video. I am having a problem while configuring, every time i configure I get exited out.
@Darshil Parmar - In part-2 of this video, "region=us/" folder is not created for me; only ca and gb folders are created upon running the ETL job. PS: I added "predicate_pushdown = "region in ('ca','gb','us')" as well but folder is missing for "us" region. Can you please take a look at this?
u got sol for this ?
HEyy, in the end when im running sql query with where id = 1 condition , it is returning me 5 duplicate rows....why is that?
This was a great help..one question though..when you executed this project using different AWS services S3, Athena, Glue etc.. what was the approx. cost you got after full project execution...Thanks
Most likely there won't be any charge if you are under free trial but even if they charge you it will be max 3-5$
You can raise support ticket stating you were just trying to learn about service and they won't charge you
did i need to pay for aws services that i use for this project or we can create this project in aws 1 year free tier
Hi Darshil I have followed your end to end Data Engineering project on covid data Analysis it helped me to learn about different services on Aws and what exactly a data engineer does. Can u please make a end to end Data Engineering project using MS AZURE and Databricks. Thanks again 👍
Maybe in future I will do it, if you want then check out ProjectPro, not saying because I am sponsored or anything but they really have good projects.
@@DarshilParmar Does they provide Azure or AWS platform access?