Keeping GenAI Data Reliable on AWS | Vector Updates, Reranking, S3 Storage & Security
Patel Akash
0:00 / 0:00
Keeping GenAI Data Reliable on AWS | Vector Updates, Reranking, S3 Storage & Security
11 просмотров · 2 дня назад
Patel Akash
23 подписчика
11 просмотров · 2 дня назад
In this video, I learned how to keep Generative AI data updated, secure, and reliable after the application is already running.
Earlier, I studied different vector stores. But this topic helped me understand that storing data one time is not enough. Business data keeps changing, so the vector store also needs to stay updated.
For example, if a company changes an HR policy, the embeddings should also be updated. Otherwise, the AI assistant may still give an old answer.
A simple update flow can be:
Source Data Changes
→ EventBridge or Lambda
→ Create New Embeddings
→ Update Vector Store
I also explain vector index maintenance.
Over time, an index can become less efficient because data keeps getting added, changed, or removed. In some cases, the index may need to be rebuilt and validated before replacing the old version.
Another topic is reranking.
Vector search can return many related chunks, but the first result is not always the best one.
A reranker checks the results again and puts the most useful information first.
Simple flow:
Query
→ Vector Search
→ Relevant Chunks
→ Reranker
→ Best Chunks
→ Foundation Model
The second part of the video focuses on Amazon S3.
S3 is important in Generative AI because it can store source data such as PDFs, documents, images, audio, logs, and datasets.
I covered different S3 storage classes, including:
• S3 Standard
• Standard-IA
• One Zone-IA
• Glacier Instant Retrieval
• Glacier Flexible Retrieval
• Glacier Deep Archive
• Intelligent-Tiering
The main idea is simple:
Use faster storage for data that is used often, and cheaper storage for data that is used less often.
I also explain S3 Lifecycle Rules.
These rules can automatically move data to cheaper storage after some time.
Example:
0–30 days → S3 Standard
31–180 days → Standard-IA
After 180 days → Glacier
I also studied S3 Replication.
Cross-Region Replication copies data to another AWS Region.
Same-Region Replication copies data to another bucket in the same Region.
This can help with backup, compliance, and separate environments.
Security is another important part of this video.
I explain:
• SSE-S3
• SSE-KMS
• SSE-C
• Client-Side Encryption
I also cover encryption in transit using HTTPS.
A simple way to remember it is:
Encryption at rest protects stored data.
Encryption in transit protects data while it is moving.
The video also includes S3 Access Logs and S3 Access Points.
Access Logs help track who accessed the bucket.
Access Points help different teams or applications use the same
bucket with separate access rules.
One complete GenAI flow from this topic is:
S3 stores source documents
→ EventBridge detects changes
→ New embeddings are created
→ Vector store is updated
→ Reranking improves retrieval
→ Amazon Bedrock generates the final answer
The biggest thing I learned is that a reliable Generative AI application needs more than just a model.
The data should stay current, relevant, secure, cost-efficient, and available to the correct users.
I would like to thank Professor Dr. Victor Govindaswamy for helping us understand how these AWS services work together in a real Generative AI system.
His guidance helped me see that data management, security, storage, and vector maintenance are all important parts of building a complete AI application.
GitHub Repository:
https://github.com/Aka-sh20/AWS-Certi...
Linkedin Post:
https://www.linkedin.com/posts/patel-...
Thank you for watching.
Please Like, Share, and Subscribe if this video was helpful.
Presented by: Akash Patel
Concordia University Chicago
#aws #GenerativeAI #AmazonS3 #RAG #VectorDatabase #VectorStore #Reranking #AmazonBedrock #EventBridge #S3Lifecycle #S3StorageClasses #S3Replication #Encryption #SSEKMS #CloudSecurity #Embeddings #AWSGenerativeAI #AWSCloud #CloudComputing #AIEngineering #AWSDeveloper #AWSCertification #LearnAWS #StudentLearning