Week 4
Week 4 at Strastan
This week was all about securing the GenAI backend from user authentication to event-driven architecture. With our usual OJT rooms occupied for graduation rehearsals, we worked from the school’s computer lab, which turned out to be the perfect base for rapid iteration and testing.
We finalized the Cognito setup, deployed Lambda functions for sign-up and user retrieval, and integrated a custom authorizer to protect sensitive routes. The registration flow was refined to encrypt user profiles post-confirmation, and token validation was tested thoroughly using Postman.
Midweek, we shifted gears to IAM and EventBridge. Each Lambda was scoped with least-privilege access, and a custom event bus was deployed with strict filtering rules to ensure only trusted events were processed. CORS policies were enforced, and API Gateway endpoints were hardened to reject unauthorized requests.
By Friday, we completed a full security audit verifying token behavior, reviewing logs, and confirming that every route and event trigger was locked down. The campus lab’s fast network made redeploys smooth, and the environment helped us stay focused despite the graduation buzz around us.
Reflections & Challenges
Securing a cloud backend isn’t just about writing code it’s about understanding how identity, permissions, and event flows interact. This week taught me how to think like a security architect while still moving fast as a developer. From IAM tweaks to token validation, every fix made our system stronger. Week 4 ended with a backend that’s not just functional it’s fortified and future-ready.
Comments
Post a Comment