Posts

Showing posts from November, 2025

Bridging the Gap: A Scalable Workflow for Figma and React with AWS Amplify

Image
In modern front-end development, the handoff from design to development is often a source of friction. Designers meticulously craft pixel-perfect layouts in Figma, and developers are tasked with a manual, error-prone translation of that design into React components. What if the design was the component? What if we could create a system that was not only fast to build but also incredibly resilient to design changes? In this post, I'm breaking down the scalable, UI-first workflow we're using to connect Figma directly to our live React application using AWS Amplify. The 4-Step Workflow: From Figma to React Our process turns a static design into a fully functional, data-driven component in four steps. Step 1: Design Components (in Figma) This all starts with the designer. They don't just draw pictures; they build reusable components with variants (e.g., a button with active and enabled states) and organize them in a library. Step 2: Sync to Amplify Studio The designer us...

AWS Best Practice: Securely Connecting EC2 to RDS with Security Group Referencing

Image
Hello everyone! When connecting an EC2 application to an RDS database in AWS, using IP addresses or setting "Public Access" to 'Yes' is highly insecure. The real, professional-grade solution is to use Security Group Referencing inside a Custom VPC. In this article, I'll walk you through the exact, secure architecture we just built. Our Architecture: The Foundation (VPC): A custom private network named my-first-vpc . The Application (EC2): An EC2 instance launched with its own Security Group, my-server-sg , inside my-first-vpc . The Database (RDS): An RDS instance launched with its own separate Security Group, rds-sg , also inside my-first-vpc . The Secure Connection: We tell rds-sg , "You are only allowed to accept traffic that comes from my-server-sg ." Step 1: Launch the EC2 Instance & its Security Group First, let's set up our application server. Go to the EC2 service in the AWS Console - > "Launch instances". In the Netw...