Better Dev

  • Twitter Threads
  • About
  • Contact

AWS

AWS

Forcing Lambda Response Streaming to Flush Content

Lambda Response Streaming allows sending incremental responses, but those response chunks can arrive long after you write them. They are buffered in a rather unexpected way, delaying all messages you stream. But there is a workaround to force the stream to flush.

Read more »
By Maciej Radzikowski, 2 weeks2 weeks ago
AWS

Building a CDK Construct Library: thoughts and tips

I recently created a CDK library provisioning a CI/CD pipeline for serverless apps on AWS. Having finished the “regular” JS library, it took me a day to convert it to a “proper” CDK Construct library. Not long, and I learned a lot. Here are my thoughts and tips.

Read more »
By Maciej Radzikowski, 4 months4 months ago
AWS

AWS Lambda – Node.js vs. Python for serverless

After tabs vs. spaces, vi vs. emacs, let’s fight over this: which is better, Node.js or Python for AWS Lambda and serverless in general? I have my opinion on this, and the fact I prefer TypeScript over Python makes me only slightly biased.

Read more »
By Maciej Radzikowski, 7 months7 months ago
AWS

Understanding Logical IDs in CDK and CloudFormation

CDK generates Logical IDs used by the CloudFormation to track and identify resources. In this post, I’ll explain what Logical IDs are, how they’re generated, and why they’re important. Understanding this will help you avoid unexpected resource deletions and baffling “resource already exists” errors during deployment.

Read more »
By Maciej Radzikowski, 9 months8 months ago
AWS

Top 12 Serverless Announcements from re:Invent 2022

re:Invent 2022, the annual AWS conference in Las Vegas, is now behind us. I did not attend in person, but that gave me time to consolidate this list of top new serverless features while everyone else is sleeping off the intense 5-day conference. And I envy them just a little.

Read more »
By Maciej Radzikowski, 10 months10 months ago
AWS

How to pass AWS Certification exams

I’ve never cared too much about certificates, apart from the SSL ones (haha). And yet I passed 7 AWS exams. Why? How to prepare? How to pass? How to pay only 50% for the exam? I answer all this and more in this post.

Read more »
By Maciej Radzikowski, 10 months ago
AWS

Running Serverless ML on AWS Lambda

Yes, you can run Machine Learning models on serverless, directly with AWS Lambda. I know because I built and productionized such solutions. It’s not complicated, but there are a few things to be aware of. I explain them in this in-depth tutorial, where we build a serverless ML pipeline.

Read more »
By Maciej Radzikowski, 11 months11 months ago
AWS

Least deployment privilege with CDK Bootstrap

Security is not convenient. That’s probably why the CDK, by default, uses AdministratorAccess Policy to deploy resources. But we can easily change it and increase the security of our AWS account, following the least privilege principle with a minimal additional burden.

Read more »
By Maciej Radzikowski, 1 year11 months ago
AWS

The AWS CDK, Or Why I Stopped Being a CDK Skeptic

Until recently, I was skeptical about the AWS CDK. I believe in Infrastructure as Code (IaC), but with the “code” being YAML. But after using CDK in real projects, the amount of heavy lifting it does and the vast reduction of a boilerplate code changed my view.

Read more »
By Maciej Radzikowski, 1 year1 year ago
AWS

Decision Tree: choose the right AWS messaging service

Have you ever been stuck deciding between SQS, SNS, Kinesis Streams, and EventBridge? Struggled to pick the right one for your use case? If the answer is “yes”, I’ve got you covered with a simple decision tree to help you make the right decision.

Read more »
By Maciej Radzikowski, 1 year1 year ago

Posts navigation

1 2 3 Next
Hi, I'm Maciej đź‘‹

I'm a Software Developer and Architect, member of the AWS Community Builders. I do serverless AWS, a bit of frontend, and really - whatever needs to be done.

Learn a little bit more...

Get Free Ebook

Join 360+ subscribers that receive my spam-free newsletter.

You will get A Starter’s Guide To Serverless on AWS - my ebook about serverless best practices, Infrastructure as Code, AWS services, and architecture patterns.

Follow me

Twitter

RSS

GitHub

Twitter Threads

Shorter bits of knowledge →

Recent Posts
  • Forcing Lambda Response Streaming to Flush Content
  • Building a CDK Construct Library: thoughts and tips
  • AWS Lambda – Node.js vs. Python for serverless
  • Understanding Logical IDs in CDK and CloudFormation
  • Top 12 Serverless Announcements from re:Invent 2022
Categories
  • AWS (21)
  • Programming (1)
  • Things I Found Interesting (5)
  • Tools (6)
  • Uncategorized (1)
  • Series
  • About
  • Contact
  • Privacy Policy
Hestia | Developed by ThemeIsle