Building an API with Python, Rust, Pulumi, and AWS: DynamoDB Integration - Episode 166

Channel:
Subscribers:
542
Published on ● Video Link: https://www.youtube.com/watch?v=Q2_5t0BkYIk



Duration: 0:00
94 views
7


In this video, I deep dive into building an API using Python, Rust, Pulumi, and AWS, focusing on critical aspects like data migration, DynamoDB integration, and adding authentication with AWS Cognito. Throughout the session, I explore automating processes, ensuring data accuracy, and explain strategies for structuring APIs and handling user authentication via API Gateway.


🔗 Check out my Twitch channel for more streams: https://www.twitch.tv/saebyn
GitHub: https://github.com/saebyn
Discord: https://discord.gg/N7xfy7PyHs

I start by sharing the challenges and solutions for migrating data from PostgreSQL to DynamoDB, ensuring no duplication and maintaining data integrity. Next, I walk through the setup of episodes and streams data models, refine how metadata is processed, and think about automating manual steps in the ingestion workflow.

Later, I introduce the concept of securing application endpoints by incorporating Cognito user authentication in Pulumi scripts. This involves creating and configuring Cognito user pools, setting up authorizers in API Gateway, and implementing token-based access controls for API endpoints.

I also experiment with testing API calls, discuss security considerations when exposing APIs, and explore tools like the REST client for debugging workflows. As I address real-world issues, such as caching and token invalidation, I ensure the API setup is user-authentication compliant and production-ready.

Towards the end, I reflect on restructuring API resource definitions, renaming components for clarity, and set the groundwork for building comprehensive CRUD operations for various resources like streams, episodes, and video clips. Throughout the video, I also share plans for improving the project’s overall architecture, documenting lessons learned, and planning next steps for enhanced functionality.




Other Videos By saebynVODs


2025-04-17Improving Twitch Integration for Glowing-Telegram: Backend and Frontend Updates - Episode 176
2025-04-15Navigating CORS Errors and AWS API Gateway Challenges - Ep 175
2025-04-13Exploring AWS Step Functions & API Gateway Integration with CDK - Episode 174
2025-04-12Exploring AWS CDK and API Gateway Setup for Glowing-Telegram Project - Episode 173
2025-04-10Refactoring Rust Lambda Functions + Handling AWS Rate Limit Errors - Episode 172
2025-04-08Improving OpenAI API Usage in Rust with Exponential Backoff - Episode 171
2025-04-06Building a Stream Manager with TypeScript and Rust – Episode 170
2025-03-30Implementing DynamoDB Queries and Debugging in Rust: Glowing-Telegram Project - Episode 169
2025-03-25Optimizing Row Interaction and Backend Enhancements | Rust APIs + React-Admin - Episode 168
2025-03-22Building Stream Timelines and Bulk Episode Creation | Glowing-Telegram Project - Episode 167
2025-03-15Building an API with Python, Rust, Pulumi, and AWS: DynamoDB Integration - Episode 166
2025-03-06DynamoDB Table Creation and Data Sync with Pulumi and Python - Episode 165
2025-02-23Migrating Data from Postgres to DynamoDB with Python for Glowing Telegram Project - Episode 164
2024-12-31Building a Dynamic Stream Manager Interface with Material-UI | Episode 163
2024-12-30Building a Custom Stream Manager UI for Glowing Telegram | Episode 162
2024-12-29Building a Custom Twitch Dashboard: React + Rust Integration | Episode 161
2024-12-27Exploring Profile Management and Authentication with React-Admin | Episode 160
2024-12-26Building a Dynamic Time Zone Selector with React & Material-UI | Episode 159
2024-12-25Advancing the Streaming Admin Dashboard with React-Admin and Rust APIs | Episode 158
2024-12-21Exploring Recurrence Logic & UI Enhancements in React-Admin - Episode 157
2024-12-19Navigating Time Zone Challenges, new frontend continued - Episode 156