
In this lecture, you’ll learn how modern data systems work by building a real-time crypto dashboard from scratch. We’ll use AWS EC2, Python, Kafka, PostgreSQL, and Grafana to collect, stream, store, and visualize live Bitcoin and Ethereum prices. Even if you're a complete beginner, you’ll follow each step easily and understand how data flows across an end-to-end pipeline in real time.
After completing this lecture, you will be able to:
Collect live crypto prices using Python and a real API
Stream real-time data through Kafka
Store structured data in PostgreSQL
Build an auto-updating dashboard in Grafana
Understand how data is collected, moved, stored, and visualized in a real-world system
Learn how to create an AWS account, verify email and phone, set up a password and payment method, enable MFA with Google Authenticator, and sign in as root user.
Launch EC2 in AWS, name it crypto project, select Ubuntu on free plan, enable a public IP, skip the key pair, and connect via the browse-based terminal to set up.
Stop idle AWS EC2 instances to pause billing when not in use. Then start the instance and reconnect via the browser-based terminal to resume work.
Learn essential linux commands like pwd, mkdir, cd, touch, ls, and vi, plus encoding fixes, to create and run a hello world python script for a data dashboard project.
Set up a Python virtual environment, update and upgrade system packages, install crypto price data and streaming libraries, and verify installations with Linux commands and a hello word script.
Build a real-time crypto price collector in Python using the free Crypto Compare API to fetch Bitcoin and Ethereum prices, printing timestamped records every 120 seconds.
Fetch live Bitcoin and Ethereum prices via a crypto API, set up a Python virtual environment, write and run a script, then extend it to Kafka for real-time processing.
Kafka acts as a middle layer that decouples producers and consumers, using topics to route real-time data between systems, ensuring reliable delivery and automatic recovery when producers or consumers fail.
Understand how Zookeeper coordinates a distributed Kafka cluster by tracking brokers, enabling leader election and metadata management, with partitioned data and leader-follower replication for reliability.
Start an instance, install Java 11, download Kafka 3.7.2, extract it, rename the folder to Kafka, start ZooKeeper on port 2181, and then start Kafka on port 9092.
Kafka topics act as mailboxes for data streams, with producers sending messages and consumers reading them. It demonstrates creating a crypto price topic and verifying flow with producer-consumer scripts.
Run zookeeper, jukiper, and kafka in the background using nohup and & so they keep running after you close the terminal. Track the process id and output file.
Run Kafka and Jukiper in the background with nohup, log outputs to a file, and verify producer and consumer stay active on EC2 for a smooth real-time dashboard workflow.
Create a Python crypto producer to fetch real-time Bitcoin and Ethereum prices from the crypto compare API and publish them to a Kafka topic as JSON messages.
Collect Bitcoin and Ethereum price data from a crypto API and push it to Kafka to demonstrate end-to-end data ingestion and real-time streaming with a Python producer and consumer.
Set up a Postgrade SQL database named CryptoDB with a Crypto user and two tables, crypto price and crypto prediction, to store Kafka price data and Python-scripted ML predictions.
Start the instance, run Kafka and producer, then deploy a Python consumer to store real-time crypto price data in PostgreSQL. Verify storage by querying crypto DB with a select.
Master basic sql commands—select, from, where, max, as, order by, and group by—to query the crypto price table in a postgres database and extract meaningful insights.
Connect to CryptoDB, display price and timestamp from the crypto price table, filter BTC, show the max price with an alias, and group by symbol for the highest price.
Collect and store crypto price data from Kafka into PostgreSQL, then generate 60-second price predictions using linear regression and save results back to the database.
Build a real-time crypto price predictor by creating a Python script that forecasts one minute ahead and stores it in the PostgreSQL crypto prediction table, validating the end-to-end pipeline.
Explore Grafana as a real-time data visualization tool, connect to a database like postgrade SQL, and set up Grafana on Ubuntu to display real-time crypto prices via port 3000.
Install Grafana on an EC2 instance to visualize data on a dashboard, add Grafana repository and GPG key, update packages, start and enable service, and open port 3000 for login.
This course is designed for absolute beginners and early learners who want to understand real-time data—without needing any cloud, engineering, or programming background.
If you’ve been curious about AWS, Kafka, PostgreSQL, Python, or Grafana dashboards, this is the most beginner-friendly and practical way to start. You will follow a clear, step-by-step process and build a complete real-time crypto dashboard from scratch.
We focus on hands-on learning. Every section includes real activities, copy-and-run commands, and quizzes to reinforce your understanding. By the end of this course, you will not only understand how real-time pipelines work, but also have a fully functioning project running on AWS.
What This Course Covers
Section 1 — Introduction
Overview of the course, downloadable resources, and important AWS EC2 setup guidelines to ensure a safe learning environment.
Section 2 — Getting Started with AWS
Learn how to create your AWS account, launch your first EC2 instance, and safely stop resources to avoid additional charges. Includes guided activities and a review quiz.
Section 3 — Linux Essentials & Python Environment
Set up your Python virtual environment, learn basic Linux commands, and understand how API-based data collection works. Includes hands-on practice and a quiz.
Section 4 — Python Crypto Price Collector
Build your first Python script that collects live BTC and ETH prices every two minutes. Learn API calls, JSON handling, timestamps, and continuous execution.
Section 5 — Kafka & Streaming Fundamentals
Understand how Kafka and ZooKeeper work, how topics are created, and how producers and consumers exchange data. Install and configure Kafka, and stream real crypto prices into a Kafka topic.
Section 6 — PostgreSQL & SQL Commands
Install PostgreSQL, create databases and tables, and store Kafka messages in real time. Run SQL queries, compute 24-hour trends, and build a prediction pipeline using Python and SQL.
Section 7 — Build Grafana Dashboard
Install Grafana, connect it to PostgreSQL, and create visually appealing real-time dashboards. Build charts for price trends, predictions, 24-hour highs and lows, and more.
By the End of This Course, You Will Have Built:
- A complete real-time crypto pipeline
- Live data streaming from Python to Kafka
- Real-time storage inside PostgreSQL on AWS
- Interactive dashboards in Grafana
- BTC and ETH trend visualizations
- 24-hour high/low and price-change panels
- A prediction dashboard using Python and machine learning
- A professional, portfolio-ready project
Why This Course Is Perfect for You
- No cloud experience required
- No data engineering background needed
- No prior experience with Kafka, SQL, or Grafana
- Clear, beginner-friendly explanations
- 100% hands-on, step-by-step learning
- Builds a real, production-style system on AWS
If you’ve always wanted to understand how modern data pipelines work but didn’t know where to start, this course is the easiest and most practical way to begin.
Let’s build your first real-time dashboard together.