Better Dev Serverless on AWS Wed, 15 Mar 2023 13:06:12 +0000 en-US hourly 1 Better Dev 32 32 AWS Lambda – Node.js vs. Python for serverless Wed, 15 Mar 2023 13:06:11 +0000 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. AWS Lambda: Node.js and Python lead popularity From six […]]]> 2 Understanding Logical IDs in CDK and CloudFormation Tue, 17 Jan 2023 15:50:24 +0000 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. CDK provides an abstraction […]]]> 0 Top 12 Serverless Announcements from re:Invent 2022 Tue, 06 Dec 2022 14:52:56 +0000 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. […]]]> 1 How to pass AWS Certification exams Wed, 23 Nov 2022 16:44:08 +0000 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. After passing both Professional-level exams, the […]]]> 1 Running Serverless ML on AWS Lambda Thu, 10 Nov 2022 18:10:23 +0000 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. As […]]]> 0 Least deployment privilege with CDK Bootstrap Tue, 30 Aug 2022 11:27:58 +0000 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. Dangers of default CDK Bootstrap To start using the […]]]> 4 The AWS CDK, Or Why I Stopped Being a CDK Skeptic Wed, 29 Jun 2022 14:26:38 +0000 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. I’m a long-time […]]]> 5 Things I Found Interesting #5 Wed, 11 May 2022 19:51:36 +0000 After some time, I accumulated enough articles to share. They are about Cloud, Tech, Programming, and Work, and also include two Games, a petition, and a survey. Pseudo Localization @ Netflix TechHow Netflix makes sure the UI will look good not only in English but also in other languages without […]]]> 0 Decision Tree: choose the right AWS messaging service Tue, 12 Apr 2022 17:33:44 +0000 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. I already wrote an overview of […]]]> 4 Personal backup to Amazon S3 – cheap and easy Wed, 09 Mar 2022 17:00:22 +0000 In need to backup my personal files in the cloud, I wrote a script that archives the data into the Amazon S3 bucket. After some fine-tuning and solving a bunch of edge-cases, it’s limited mainly by the disk read and my internet upload speed. And it costs me only $3.70 […]]]> 8