Dilip Pal’s Post

3 weeks ago, I didn’t even know what 𝐀𝐏𝐈 𝐆𝐚𝐭𝐞𝐰𝐚𝐲 was. Today, I shipped a fully serverless URL shortener on AWS , built with Mohan Merugu. 🚀☁️ And honestly? This project taught me more than any course ever could. Here's how it actually went: 𝐖𝐞𝐞𝐤 1 — "How hard can it be?" We set up DynamoDB, wrote the Lambda functions in Python, connected everything to API Gateway. It worked. We felt like geniuses. 𝐖𝐞𝐞𝐤 2 — Reality check. CORS errors. IAM permission issues. CloudFront cache not refreshing. The kind of bugs that don't make sense until suddenly they do. 𝐖𝐞𝐞𝐤 3 — It clicked. Everything connected. User pastes a URL → Lambda shortens it → DynamoDB stores it → short link redirects perfectly. Zero servers managed. What we shipped: ⚙️ lambda_shorten.py — generates a 6-char short code + writes to DynamoDB 🔁 lambda_redirect.py — fetches the URL and returns HTTP 302 redirect 🌍 S3 + CloudFront frontend — fast UI, HTTPS, globally accessible 🔐 iam_policy.json — strict least-privilege access (security-first) This is project #2 in my cloud journey (Azure was #1). Each one teaches something the docs never tell you. 📂 The full repo is public on GitHub. Every file — Lambda functions, IAM policy, frontend, README — is open for anyone who wants to learn how a real cloud project is structured. If you're just starting out, use it. That's exactly why we made it public. 🔗 https://lnkd.in/d7a6dMvm #AWS #Serverless #CloudComputing #BuildInPublic #OpenSource #Lambda #Python #StudentDeveloper #hackerhaibhai

To view or add a comment, sign in

Explore content categories