Yan Cui
14.4K posts
I help you master AWS and serverless | AWS Serverless Hero
Newsletter 👉 bit.ly/master-sls
YouTube ▶️ bit.ly/41GicTS
- This is ridiculous, Netflix's monthly EC2 spend was $19M in 2020 (source: contino.io/insights/whos-…) when EVERYONE was binging TV shows at home. No way an SEO company would spend anywhere near that. Did someone forget to tell them the E in EC2 stands for "elastic"?
- AWS has 200+ services but you only need to learn these 10 to cover 90% of use cases and be very productive. • 𝗦3: data storage • 𝗗𝘆𝗻𝗮𝗺𝗼𝗗𝗕: scalable database with predictable performance at any scale • 𝗟𝗮𝗺𝗯𝗱𝗮: serverless compute • 𝗖𝗼𝗴𝗻𝗶𝘁𝗼: identity
- At DAZN, we had over 2M concurrent viewers at peak and crazy spiky traffic (everyone logs in 30s before a match starts). We had a similar principle, that any service on that critical path (of a user logging in and start watching a live event) has to run on containers, because of
- The no. 1 question I get about #serverless is around testing - how should I test these cloud-hosted functions? Should I use local simulators? How do I run these in my CI/CD pipeline? Here are my thoughts on this 🧵
- Launched a new app for client 3 weeks ago on AppSync, 5,000 users later, 100,000+ API calls per day, 99% cache hit rate, 0 problems, and 90% of AWS cost is on AppSync cache (T2.Small). Easily one of the most complex things I've ever built (in a few weeks). Gotta love #serverless!
- I have written ~800 technical articles/whitepapers in the last 10 years and they have been viewed millions of times. I see a lot of folks making the same mistakes I did early on in my journey. So here are some principles to help you get better at writing. 🧵
- Stop wasting money on CORS preflight requests. Here's a quick tip for reducing API Gateway costs. Every time the browser makes a cross-origin request, it first makes a preflight request to make sure it can actually send the request. Since API Gateway charges per request, you’re
- Ok, this is bonkers... S3 charges you for unauthorized requests 🤯 so someone can DDOS you by making unauthorized to your private bucket! All it takes is for them to guess your bucket name 🤦♂️
- For a lot of orgs, the easiest way to cut down on AWS spending is to give their devs access to billing. Without a feedback loop, devs won't know the $ impact of their architectural decisions.
- Cheatsheet for choosing async event sources for Lambda #serverless














