Tagged with

Serverless

Event-Driven and serverless in world of IoT

Event-Driven and serverless in world of IoT

In large-scale IoT systems, where thousands of devices are constantly communicating, data and control messages can flow unpredictably and at varying rates throughout the day. Serverless and event-driven architectures provide a dynamic and efficient solution to this challenge. In this session, we’ll explore why serverless is a great fit for IoT, particularly in handling data ingestion and management. We’ll dive into the key architectural patterns used in IoT systems, highlighting how event-driven design enables scalability, flexibility, and cost optimization. I’ll also walk you through an architecture I designed for an IoT use case, showcasing the integration of various AWS services tailored for data ingestion, processing, and analytics. Along the way, we’ll discuss the challenges encountered and lessons learned during development, offering actionable insights into the unique aspects of building serverless IoT solutions. Join me to understand how serverless and event-driven architectures can unlock the full potential of IoT, enabling resilient and scalable systems that are easy to manage and adapt to evolving demands.

Serverless IoT AWS · 2025-03-26
PEP and PDP for Secure Authorization with AVP

PEP and PDP for Secure Authorization with AVP

As authorization needs evolve, managing access efficiently becomes even more crucial. In this follow-up post, we extend our Policy Decision Point (PDP) and Policy Enforcement Point (PEP) solution by introducing Amazon Verified Permissions (AVP) for fine-grained authorization. Instead of storing permissions in DynamoDB, we leverage AVP’s centralized policy engine and Cedar policy language to define and enforce access control dynamically.

aws, authz, serverless · 2025-02-20
PEP and PDP for Secure Authorization with Cognito

PEP and PDP for Secure Authorization with Cognito

Authorization is a critical part of securing cloud applications, and understanding the best practices for implementing it can make all the difference. In this post, we dig deep on the concepts of Policy Decision Points (PDPs) and Policy Enforcement Points (PEPs), and how they work together to manage user access efficiently. We dive into a serverless solution using AWS Lambda and API Gateway, implementing Role-Based Access Control (RBAC) for fine-grained access control based on Cognito User Groups. This solution ensures scalability, low latency, and efficient authorization in serverless environments.

aws, authz, serverless · 2025-01-30
Serverless self-service IoT certificate management - Part 2.

Serverless self-service IoT certificate management - Part 2.

Secure communication is a important in IoT systems, where certificates and trust play a vital role. In this post we extend the API introduced in part 1, we will add functionality to create device certificates, introduce an inventory, add some event-driven parts, and the possibility to list and get certificates. This hands-on approach is great for learning purposes and development environments, production setups however require robust managed solutions.

aws, iot, security, serverless · 2024-12-22
Serverless self-service IoT certificate management - Part 1.

Serverless self-service IoT certificate management - Part 1.

Secure communication is a important in IoT systems, where certificates and trust play a vital role. In this post, I explore the foundations of certificate management, including PKI, certificate chains, and trust. Also I introduce a serverless self-service API using Amazon API Gateway and Lambda for an easy way to create certificates. This hands-on approach is great for learning purposes and development environments, production setups however require robust managed solutions.

aws, iot, security, serverless · 2024-11-27
Serverless website analytics with Lambda@Edge

Serverless website analytics with Lambda@Edge

Talk about the innovative approach of utilizing AWS Lambda@Edge to gather statistics for a static website, focusing on server-side data collection for page views.

serverless AWS analytics · 2024-11-06
Serverless AI powered content moderation service

Serverless AI powered content moderation service

In this post, I extend the File Manager service I built previously by adding content moderation capabilities. The original service stores files in S3 and records them in a DynamoDB table, using a serverless, event-driven approach. Now, with AWS GuardDuty and Rekognition, I’ve enhanced the service with malware scanning and image moderation.

aws, ai, security, serverless · 2024-10-31
Building a serverless connected BBQ as SaaS - Part 4 - AuthZ

Building a serverless connected BBQ as SaaS - Part 4 - AuthZ

In part four of the series about the world of BBQ, where tradition and technology rarely cross paths. The future of grilling is here, and it’s connected, smart, and runs on the cloud! We look at the key difference between Authentication and Authorization in a SaaS solution. We introduce a new authorization architecture with a centralized Policy Decision Point (PDP) and distributed Policy Enforcement Points (PEPs) implemented serverless with API Gateway and Lambda.

serverless, aws, saas, IoT · 2024-09-20
Serverless website analytics with Lambda@Edge

Serverless website analytics with Lambda@Edge

Talk about the innovative approach of utilizing AWS Lambda@Edge to gather statistics for a static website, focusing on server-side data collection for page views.

serverless AWS analytics · 2024-09-11
Serverless website analytics with Lambda@Edge

Serverless website analytics with Lambda@Edge

Talk about the innovative approach of utilizing AWS Lambda@Edge to gather statistics for a static website, focusing on server-side data collection for page views.

serverless AWS analytics · 2024-08-24
Building a serverless connected BBQ as SaaS - Part 3 - Tenants

Building a serverless connected BBQ as SaaS - Part 3 - Tenants

In part three of the series about the world of BBQ, where tradition and technology rarely cross paths. The future of grilling is here, and it’s connected, smart, and runs on the cloud! I continue with tenant management using an serverless and event-driven approach with EventBridge, StepFunctions, API Gateway, Lambda, and Cognito User Pools.

serverless, aws, saas, IoT · 2024-08-23
How I extend my blog with gamified learning

How I extend my blog with gamified learning

One of the major reason that I write all of these blog posts is to help people learn about cloud and AWS. How would you know that you understood what you read and learned from it? In this post I discuss how I introduced gamified learning by adding a quiz from kvist.ai on my blog posts, directly from my CI/CD pipeline running as an event-driven system using Amazon EventBridge and AWS StepFunctions.

aws, event-driven, serverless · 2024-07-25
Building a serverless connected BBQ as SaaS - Part 2 - User Creation

Building a serverless connected BBQ as SaaS - Part 2 - User Creation

In part two of the series about the world of BBQ, where tradition and technology rarely cross paths. The future of grilling is here, and it’s connected, smart, and runs on the cloud! I continue with user management using an serverless and event-driven approach with Cognito User Pool together with Lambda, EventBridge, and StepFunctions.

serverless, aws, saas, IoT · 2024-06-12
Building a serverless connected BBQ as SaaS - Part 1

Building a serverless connected BBQ as SaaS - Part 1

In the world of BBQ, tradition and technology rarely cross paths. But what if I told you that the future of grilling is here, and it’s connected, smart, and runs on the cloud? In this blog series, I will explore how AWS IoT, serverless, and event-driven architecture enables an automated cooking experience. As a tech-savvy griller, I discover how cloud technology can elevate my grilling game to a whole new level.

serverless, aws, IoT · 2024-05-29
AWS ECS and AWS Fargate demystified: run serverless containers

AWS ECS and AWS Fargate demystified: run serverless containers

Running containers in a serverless way, on Fargate, come with a lot of benefits. In this talk I share migration paths and benefits with moving to Fargate. I also share war stories from running containers on Fargate with several customers.

AWS, Serverless, Containers · 2024-05-22
Cloud-grilled delights a high-tech approach to perfect BBQ

Cloud-grilled delights a high-tech approach to perfect BBQ

Talk about building an IoT connected smoker and how to use AWS and IoT to perfect your BBQ skills.

serverless AWS · 2024-05-16
Building resilient serverless workloads: Navigating through failures

Building resilient serverless workloads: Navigating through failures

Talk about building resilient serverless workloads, real life examples and good to know architecture patterns.

serverless AWS · 2024-05-07
Navigating through failures, build resilient serverless systems

Navigating through failures, build resilient serverless systems

Serverless and event-driven workloads on AWS are well known for their inherent high availability and scalability, offering a robust platform right out of the box. In the world of cloud, it's well known that everything fails all the time. This reality becomes even more complex when serverless systems interact with non-serverless components. In this post, I'll dig into architecture concepts that can help you handle failures effectively.

serverless, aws · 2024-04-26
Serverless website analytics with Lambda@Edge

Serverless website analytics with Lambda@Edge

Talk about the innovative approach of utilizing AWS Lambda@Edge to gather statistics for a static website, focusing on server-side data collection for page views.

serverless AWS analytics · 2024-04-17
Protect API Gateway with Amazon Verified Permissions

Protect API Gateway with Amazon Verified Permissions

In this post we'll look at Amazon Verified Permissions (AVP) a serverless service for easy management and enforcement of application permissions, and how to use it to secure Amazon API gateway API together with Cognito User Pools.

serverless, aws · 2024-04-10
Serverless statistics solution with Lambda@Edge

Serverless statistics solution with Lambda@Edge

AWS offers several great serverless services for data engineering and analytics. In this post I describe my serverless analytics setup for click stream analytics of a static webpage, using Amazon Glue, Athena, Managed Grafana for analytics. Data ingestion and storage with Lamba@Edge, StepFunctions and S3.

serverless, aws · 2024-03-19
Encrypting data in S3 with Stepfunctions

Encrypting data in S3 with Stepfunctions

Talk about serverless and StepFunction and how it can be utilized to re-encrypt data in S3.

serverless AWS security · 2024-03-14
My Serverless Handbook - My serverless journey on AWS

My Serverless Handbook - My serverless journey on AWS

Introducing My Serverless Handbook. This will be the home to my serverless experience and learnings on AWS. It all started 2015 with the creation of my first Lambda function, now several years later, serverless solutions are still my passion. This is my story, this is my journey, this is my experience!

serverless, aws · 2024-02-28
AWS StepFunctions HTTP Endpoint demystified

AWS StepFunctions HTTP Endpoint demystified

Calling an API from AWS StepFunctions has for a long time required us to write a Lambda function to handle that. With the release of HTTP EndPoint there is no need for that anymore. In this post I'll go over the functionality and show how to use it.

serverless, stepfunctions, aws · 2024-02-14