AWS Databases vs. Storage: Choosing the Right Service for Data Science

Analytics Vidhya · Intermediate ·🏗️ Systems Design & Architecture ·5mo ago

Key Takeaways

The video discusses the differences between AWS databases and storage services, highlighting their use cases and benefits for data science workflows, including relational and non-relational databases, and storage options like S3 for long-term data storage.

Full Transcript

Now what do you mean by databases? If that is a question I'm going to ask to all of you. Maybe I'm going to get a definition. Database is the collection of data stored in rows and column in a tabular form. It's very common. That's a very common definition we used to hear from our school days. Okay? And we used to feel this definition as a right definition all the time. But let me make this very clear to all of you. These days in the current trend, we are not only dealing with structured data. We're not only dealing with data stored in rows and column in a table form. Instead, we can deal with any type of data or any kind of data coming from any of the data source. Okay. So in a similar manner if you have to talk about databases you can simply say databases are used to organize query and manage data efficiently. Now why AWS databases? The first thing about AWS databases is most of the administrative task will be taken care by AWS based on the choice of service you're making. Okay. and then databases offers a high performance, secure and reliable foundation to power generative AI solutions. Okay. So these days when we are talking about or when we are living in the world of generating AI, we are also looking towards the services like from the generative AI point of view. Okay. But other than generative AI, these services can help you out with different features and these are widely used in the industry even before generative AI or recent generative AI. I can say that. Okay. So best part what I like about this document apart from benefits and databases if you will scroll down they are talking about many more things. Okay. And these are the database services. Now this table is very useful for the candidates who are not aware about different type of databases. Okay. Now obviously this would not be an exam question. Okay. But the idea is there are different categories which has been used in order to divide AWS services like relational key value in memory document and graph and even white column and time series. Okay. And they have given you first of all what are these database types. So if somebody is new, if somebody wants to get a basic understanding don't want to get a deep dive into they can refer this particular article. Okay. Then we are talking about the use cases for each database type and what are the services supports these use cases or what are the services supported by these database types. Okay. Anything you can say the major categorization of databases like we can do that is relational and non- relational. Relational means where the schema or the structure is defined. Non relational means where the structure or schema is not defined. Okay. Now as a part of our videos lecture series this particular video lecture series we will be talking about RDS and ratchet the two major database categories. Okay. So you can see from here like what do you mean by relational? Relational databases are having predefined schema and relationship between the data. Okay. Key value these are very commonly optimized for the storing and retrieving large amount of data. Okay. So here the power is database delivers quick response time even in extreme volumes. Okay. Of concurrent request in memory means you want to reduce the overhead. you want to reduce the burden on the master database or main database by providing the data or by responding to the queries from the memory. Okay. So they are used for the applications that require realtime access to data. In a similar manner we have document graph and other database types. Okay. Now before I'm going to conclude this particular video lecture, let me ask you what are the key takeaways okay from our discussion till now. So key takeaways means storage service you can assume where and how you keep your stuff. Databases you can say how you structure and retrieve that stuff efficiently. Means first of all you are storing somewhere in the storage service. then you are basically defining a structure. You are retrieving the data efficiently. Okay. So if you're going to compare with the real life in the real life you won't store tax records in your backpack or keep thousand of books on a whiteboard. Each service fits a specific role. And when you are going to explore a particular service category, you will be able to understand the major benefits these services leverages. Okay. Now I also want to discuss about one last question with all of you. Okay. My last question is what is the difference between storage and databases? Very important question. Okay. Can storage act as a databases? So answer to this question whenever I have to talk about see actually you can provide lot of distinctions you can provide some similarities in storage and databases one very simple answer which I always give that is storage are used for long-term storage databases are used for performing day-to-day queries or day-to-day operations or daily activities okay so storage purpose is to store, retrieve raw data and database purpose is to organize and query and manage data efficiently. Okay. Then another difference can come with respect to the data type. So storage options which we have seen these storage options supports structured, unstructured and semistructured data. Okay. In databases structured data is stored in tabular form in rows and columns. If we are talking about semistructured, we store the data in key value and JSON format. Okay. So on the same line, there can be many differences between storage and databases. But yes, you can use both of them together. As I had given one example to all of you, I'm going to give it again. So like in your real life, you would not store tax records in your backpack or keep thousands of books on a whiteboard. Each service fits a specific role. Okay. So if there are similarities, understand the similarities but on the other side don't deny the differences among different AWS services and that is a reason they have been designed for different use cases. Okay. So in this video lecture we are going to talk about deep dive into S3 for data science workflows. We will be covering different concepts here that includes folders, versioning and life cycle policies. I have taken a blog for all of you and I am also going to help you out with the help of some diagrams. Now first question which comes to our mind why S3 is central to data science workflows like whenever we are exploring AWS why we want to talk about S3 all the time. Okay. So, S3 is a data lake backbone. Whenever we talk about data lake, we can call data leak as a single source of truth or we can call data lake as a centralized repository where we are storing data in its native form or raw form. Okay. Now S3 being a powerful service or cost effective storage option it gives you durability means chances of data loss is minimal as AWS creates the copies of object in multiple availability zone. Obviously there is one exception as per the storage class. Okay. It is scalable and integrates tightly with the AWS services and machine learning tools. So if I have to talk about some use cases data scientists typically use S3 for the first one is raw data injection and storage. Then you have intermediate processing output. You can use S3 for model training data. You can use S3 for model artifacts like checkpoints, logs, metrics and you can use S3 for the final reports or dashboards. It's your choice what exactly your use case is. Okay. Now let me first of all give you an idea from the management console. So if I'm going to take you all to the management console, you know this is our landing page which is also known as console home. Means you know that if you have to start exploring AWS services, you need to have an active AWS account. And whenever you have to explore a specific service, you can search the name of the service in the search bar. Okay. So we had explored S3 in our past video lecture series. Also we know identifier for S3 is bucket. Okay. You can relate bucket as a container or a repository where you are storing your data and data is stored in S3 in form of object. Each object is characterized by three things. One is data, another is metadata and third one is object key. Okay, means actual content. Then the info about that content and finally the object key as an identifier.

Original Description

Unlock the power of AWS for your data workflows! 📊 In this second part of our AWS Data Series, we move beyond the basic definitions of databases to explore how cloud architecture handles modern, unstructured data. We break down the critical differences between Cloud Storage and Cloud Databases and why understanding both is essential for any Data Scientist or Engineer. In this video, we cover: ✅ Modern Database Definitions: Why databases are more than just "rows and columns." ✅ AWS Database Categories: A breakdown of Relational (RDS), Key-Value (DynamoDB), In-Memory, Document, and Graph databases. ✅ Storage vs. Databases: The definitive answer to when to use S3 versus a structured database like Redshift. ✅ S3 for Data Science: Why Amazon S3 is the "Backbone" of Data Lakes, raw data ingestion, and storing model artifacts. ✅ AWS Console Walkthrough: A first look at Buckets, Objects, Metadata, and Object Keys. Key Takeaway: Storage is where you keep your stuff; Databases are how you structure and retrieve it efficiently. Learn how to combine both to build a professional-grade Data Lake.
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Analytics Vidhya · Analytics Vidhya · 0 of 60

← Previous Next →
1 The DataHour: Data Science in Retail
The DataHour: Data Science in Retail
Analytics Vidhya
2 The DataHour: Anomaly detection using NLP and Predictive Modeling
The DataHour: Anomaly detection using NLP and Predictive Modeling
Analytics Vidhya
3 The DataHour: Energy Data Science Project from Scratch
The DataHour: Energy Data Science Project from Scratch
Analytics Vidhya
4 The DataHour: Explainable AI Need and Implementation
The DataHour: Explainable AI Need and Implementation
Analytics Vidhya
5 The DataHour: Google Cloud AI/ML
The DataHour: Google Cloud AI/ML
Analytics Vidhya
6 Prediction to Production in Machine Learning #machinelearning #prediction
Prediction to Production in Machine Learning #machinelearning #prediction
Analytics Vidhya
7 Practical Applications of Data science in Ecommerce
Practical Applications of Data science in Ecommerce
Analytics Vidhya
8 How to tackle Overfitting?#machinelearning #overfitting
How to tackle Overfitting?#machinelearning #overfitting
Analytics Vidhya
9 Building Data Pipelines on GCP #googlecloud #datapipelines #data
Building Data Pipelines on GCP #googlecloud #datapipelines #data
Analytics Vidhya
10 Hands-on with A/B Testing #abtesting #datascience
Hands-on with A/B Testing #abtesting #datascience
Analytics Vidhya
11 Efficient Implementations of Transformers #transformers #cnn  #machinelearning
Efficient Implementations of Transformers #transformers #cnn #machinelearning
Analytics Vidhya
12 Modern Deep Learning Architecture #deeplearning  #architecture #deeplearningtutorial
Modern Deep Learning Architecture #deeplearning #architecture #deeplearningtutorial
Analytics Vidhya
13 Key steps for Designing Artificial Neural Network (ANN) for Image classification #machinelearning
Key steps for Designing Artificial Neural Network (ANN) for Image classification #machinelearning
Analytics Vidhya
14 5 things you should know about Azure SQL #azure #sql #datahour #datascience
5 things you should know about Azure SQL #azure #sql #datahour #datascience
Analytics Vidhya
15 AI & ML in the Automotive Industry #machinelearning #ai
AI & ML in the Automotive Industry #machinelearning #ai
Analytics Vidhya
16 Building Machine Learning Models in BigQuery
Building Machine Learning Models in BigQuery
Analytics Vidhya
17 NLP aspects in Telecommunication Industry
NLP aspects in Telecommunication Industry
Analytics Vidhya
18 Practical Time Series Analysis
Practical Time Series Analysis
Analytics Vidhya
19 Fundamentals of Quantum Computing
Fundamentals of Quantum Computing
Analytics Vidhya
20 A DAY IN THE LIFE of a Data Scientist (From waking up to working on algorithms)
A DAY IN THE LIFE of a Data Scientist (From waking up to working on algorithms)
Analytics Vidhya
21 Classification Machine Learning Model from Scratch
Classification Machine Learning Model from Scratch
Analytics Vidhya
22 Knowledge Graph Solutions using Neo4j
Knowledge Graph Solutions using Neo4j
Analytics Vidhya
23 Model Guesstimation (MLOps)
Model Guesstimation (MLOps)
Analytics Vidhya
24 ETL Pipelines in Google Cloud Platform
ETL Pipelines in Google Cloud Platform
Analytics Vidhya
25 Key steps for Designing Convolutional Neural Network(CNN) for Image Classification
Key steps for Designing Convolutional Neural Network(CNN) for Image Classification
Analytics Vidhya
26 Getting Started with AWS EC2 #amazon #aws
Getting Started with AWS EC2 #amazon #aws
Analytics Vidhya
27 How to Use Azure NLP and Graph Databases for Intelligent Knowledge Mining
How to Use Azure NLP and Graph Databases for Intelligent Knowledge Mining
Analytics Vidhya
28 Certified AI & ML BlackBelt Plus Program #shorts
Certified AI & ML BlackBelt Plus Program #shorts
Analytics Vidhya
29 Visualizing Data using Python #machinelearning #visualization #python
Visualizing Data using Python #machinelearning #visualization #python
Analytics Vidhya
30 DCNN for Machine RUL Prediction using Time-series Data #timeseries #machinelearning #datascience
DCNN for Machine RUL Prediction using Time-series Data #timeseries #machinelearning #datascience
Analytics Vidhya
31 M in ML stands for Math & Magic
M in ML stands for Math & Magic
Analytics Vidhya
32 An Unsupervised ML approach using Clustering
An Unsupervised ML approach using Clustering
Analytics Vidhya
33 Customizing Large Language Models GPT3 for Real-life Use Cases #gpt3 #datascience
Customizing Large Language Models GPT3 for Real-life Use Cases #gpt3 #datascience
Analytics Vidhya
34 Model Parameters vs Hyperparameters - Techniques in ML Engineering #machinelearning
Model Parameters vs Hyperparameters - Techniques in ML Engineering #machinelearning
Analytics Vidhya
35 Practical MLOps #mlops #datascience
Practical MLOps #mlops #datascience
Analytics Vidhya
36 Data Engineering with Databricks #dataengineering #databricks
Data Engineering with Databricks #dataengineering #databricks
Analytics Vidhya
37 Multi-Objective Optimisation
Multi-Objective Optimisation
Analytics Vidhya
38 When Airflow Meets Kubernetes
When Airflow Meets Kubernetes
Analytics Vidhya
39 AI in Banking
AI in Banking
Analytics Vidhya
40 Learn Convolutional Neural Network for Image Recognition
Learn Convolutional Neural Network for Image Recognition
Analytics Vidhya
41 Extracting Value from Data
Extracting Value from Data
Analytics Vidhya
42 How to measure Marketing Channel Effectiveness
How to measure Marketing Channel Effectiveness
Analytics Vidhya
43 Transforming Lives | Data Science Immersive Bootcamp
Transforming Lives | Data Science Immersive Bootcamp
Analytics Vidhya
44 Stock Market Analysis - AI driven approach
Stock Market Analysis - AI driven approach
Analytics Vidhya
45 Become a Data Engineering Professional in 2022 | Future Trends + Skills Required
Become a Data Engineering Professional in 2022 | Future Trends + Skills Required
Analytics Vidhya
46 Ensemble Techniques in Machine Learning #machinelearning #ensemble #datascience
Ensemble Techniques in Machine Learning #machinelearning #ensemble #datascience
Analytics Vidhya
47 The Power of Visualization | Tableau Full Course | Analytics Vidhya
The Power of Visualization | Tableau Full Course | Analytics Vidhya
Analytics Vidhya
48 Demand for Data Engineers is on the Rise | Data Engineer | Analytics Vidhya
Demand for Data Engineers is on the Rise | Data Engineer | Analytics Vidhya
Analytics Vidhya
49 Data Visualization in Data Science | DataHour | Analytics Vidhya
Data Visualization in Data Science | DataHour | Analytics Vidhya
Analytics Vidhya
50 Role of Optimization in Machine Learning & Deep Learning | DataHour | Analytics Vidhya
Role of Optimization in Machine Learning & Deep Learning | DataHour | Analytics Vidhya
Analytics Vidhya
51 Solving any Machine Learning Problem | Approach and Steps Involved
Solving any Machine Learning Problem | Approach and Steps Involved
Analytics Vidhya
52 Topic Modeling Explained with Implementation | Using LDA in Python | DataHour by Arpendu Ganguly
Topic Modeling Explained with Implementation | Using LDA in Python | DataHour by Arpendu Ganguly
Analytics Vidhya
53 Data Engineering in E-Commerce | The Best Case Study
Data Engineering in E-Commerce | The Best Case Study
Analytics Vidhya
54 Introduction to Classification using Azure Machine Learning | DataHour | Analytics Vidhya
Introduction to Classification using Azure Machine Learning | DataHour | Analytics Vidhya
Analytics Vidhya
55 Introduction to Federated Learning | DataHour | Analytics Vidhya
Introduction to Federated Learning | DataHour | Analytics Vidhya
Analytics Vidhya
56 Diffusion Models for Generative Arts | DataHour | Analytics Vidhya
Diffusion Models for Generative Arts | DataHour | Analytics Vidhya
Analytics Vidhya
57 Master Google Analytics in 1 Hour | DataHour | Analytics Vidhya
Master Google Analytics in 1 Hour | DataHour | Analytics Vidhya
Analytics Vidhya
58 Learn Hypothesis Testing | DataHour | Analytics Vidhya
Learn Hypothesis Testing | DataHour | Analytics Vidhya
Analytics Vidhya
59 A Practical Approach to Kaggle Competition | DataHour | Analytics Vidhya
A Practical Approach to Kaggle Competition | DataHour | Analytics Vidhya
Analytics Vidhya
60 Making AI work for Business | DataHour | Analytics Vidhya
Making AI work for Business | DataHour | Analytics Vidhya
Analytics Vidhya

This video teaches data scientists how to choose between AWS databases and storage services for their data workflows, highlighting the benefits and use cases of each option. By understanding the differences between these services, data scientists can design more efficient and scalable data storage systems. The video also covers the use of S3 for long-term data storage and its integration with AWS services and machine learning tools.

Key Takeaways
  1. Identify the type of data to be stored
  2. Choose the appropriate AWS database or storage service
  3. Design a data storage system that meets the needs of the data science workflow
  4. Use S3 for long-term data storage
  5. Integrate S3 with AWS services and machine learning tools
💡 Understanding the differences between AWS databases and storage services is crucial for designing efficient and scalable data storage systems for data science workflows.

Related Reads

📰
Building NovaOS: A 16-bit Operating System from Scratch (in Assembly and C)
Learn to build a 16-bit operating system from scratch using Assembly and C, a fundamental project for low-level programming enthusiasts
Dev.to · Daniel Developer
📰
Stop Writing 40-Method Repositories: The Specification Pattern in Symfony
Learn to avoid fat repositories in Symfony by applying the Specification Pattern to improve code organization and maintainability
Medium · Programming
📰
You Don’t Have a Performance Problem — You Have a Design Problem
Most performance issues stem from design flaws, not coding errors, and can be solved by reevaluating system architecture
Medium · Programming
📰
Migrating to Astro, How I Built a Bilingual Static Blog
Learn how to migrate to Astro and build a bilingual static blog with features like content collections and zero-JS patterns
Dev.to · 灯里/iku
Up next
CI/CD Pipeline Explained in Telugu | Beginners (Complete Guide)
Withmesravani_
Watch →