Good Data Lake Labs on AWS

These are some of good labs that can be tried on AWS regarding Big Data leveraging on Data Lake strategy.

Please kindly read through in here:
– simple lab:
– moderate lab:
– longer lab (the diagram below): (it will create custom page, i.e:

data lake architecture

Note: This sql code below is just my quick demo for lab purpose (please ignore this):

=== athena ===
SELECT state,
        request as page,
         count(request) AS totalviews
    FROM zipcodesdata z, joindatasets  m
    WHERE z.zipcode =
    GROUP BY  state, request
    ORDER BY  state
=== redshift spectrum ===
SELECT count(*) as TotalCount FROM "weblogs"."useractivity" where request like '%Dogs%';
SELECT username, COUNT(timestamp)
FROM local_weblogs.useractivity
GROUP BY username;
SELECT username, COUNT(timestamp)
FROM weblogs.useractivity
GROUP BY username;
SELECT ua.username, first_name, last_name, COUNT(timestamp)
FROM local_weblogs.useractivity ua
INNER JOIN weblogs.userprofile up ON ua.username = up.username
GROUP BY ua.username, first_name, last_name limit 100;
SELECT * FROM local_weblogs.useractivity_byuser LIMIT 100;

Kind Regards,
Doddi Priyambodo

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.