Building an ECS Cluster with Raspberry Pi 4 Nodes Using AWS ECS Anywhere

Building an ECS Cluster with Raspberry Pi 4 Nodes Using AWS ECS Anywhere In this guide, we’ll explore how to set up an Amazon Elastic Container Service (ECS) cluster using three Raspberry Pi 4 devices as external instances, leveraging AWS ECS Anywhere. We’ll delve into the capabilities of ECS, provide the necessary Terraform code to create the cluster, and walk through the steps to generate activation keys. Additionally, we’ll develop a Python 3 application that listens to an Amazon Simple Queue Service (SQS) queue for batch processing messages. This process involves downloading an object from Amazon S3, processing it through a mocked API, and storing the result in a DynamoDB table. We’ll also cover the Terraform configurations required to set up the DynamoDB table, SQS queue, S3 event notifications, and an Amazon Elastic Container Registry (ECR) repository for our Docker images. ...

November 4, 2024 · 5 min

An hard time for creativity

In recent years, concerns have emerged about a perceived decline in creativity across various domains, particularly in the arts and technology sectors. This phenomenon has sparked debates on the role of artificial intelligence (AI) and its impact on human artistry. The Impact of AI on Artistic Creativity Prominent artists have voiced apprehensions regarding AI’s influence on creative processes. Musician Nick Cave has expressed deep concern over AI’s potential to undermine the artistic struggle inherent in songwriting. He views AI-generated music as a threat to the authenticity and emotional depth that characterize human-created art. ...

September 10, 2024 · 3 min

Amplify v2: way better than v1

Building a Vue 3 Notes App with AWS Amplify V2 Introduction After the Summit, I decided for a while to give it a try to new amplify - boooom. You might be wondering why and this article is all about this :D and yes, that’s me in the left corner looking at the photo! AWS Amplify has undergone a significant evolution with the introduction of Amplify V2, offering an improved developer experience and better integration with modern frontend frameworks like Vue 3. In this tutorial, we will build a simple notes application using Vue 3 and Amplify V2. The app will allow users to register, log in, and save notes in an Amazon DynamoDB table. ...

July 28, 2024 · 3 min

How AWS Bedrock and 80s-Style Text Adventure Game got me selected at the AWS Summit 2024 in Milan

Introduction Text-based adventure games were among the earliest forms of digital entertainment, immersing players in interactive storytelling through simple text commands. Inspired by these classic games, I set out to create my own using AWS Bedrock, Amazon’s managed GenAI service. This article details how I leveraged generative AI, AWS infrastructure, and modern development tools to build and deploy my game, Kroz, bringing an old-school experience to modern cloud-based architecture. What is described in this article is also available here in form of slides - also, in a more available way! If you want to skip straight to a next-to-bedrock powered game, go instead here ...

May 15, 2024 · 3 min

That time I was selected as a coach in the AWS New Voices program

Introduction I’m thrilled to share that I’ve been selected as part of the AWS New Voices Program, an exclusive initiative by AWS designed to help community members refine their public speaking skills. As an AWS Community Builder and a Platform Engineer with over eight years of experience working with AWS, this opportunity is a game-changer in my journey as a tech speaker. What is AWS New Voices? The AWS New Voices Program is a specialized training initiative aimed at empowering new and aspiring speakers in the AWS ecosystem. What makes this program unique is its dedicated coaching by a professional trainer—the same expert who trains AWS C-level executives for high-impact global presentations. The goal? To help us craft and deliver talks that resonate with technical audiences worldwide. ...

March 2, 2024 · 2 min

The opponent strategy

Preamble In the last few months, my experiences have led me to a profound realization: the world is inherently problematic from any perspective. While addressing challenges is often a catalyst for growth and improvement, it’s not always a foolproof strategy—as evidenced by my numerous changes in approach throughout this year. This blog post delves into the complexities of navigating these challenges. Brace yourself for a narrative that aims to be both mundane and reflective simultaneously. ...

November 13, 2023 · 3 min

Seamless payment integration in your webapp with Stripe, Amplify and DynamoDB (+ indexes)

Prelude If you miss the beginning of my series, here’s my article about how to build an e-learning platform on AWS. Otherwise, if you are following this serie, the last time we build our backend to safely serve our HLS contents (if you miss it, follow the link).If you want to sell premium content you can leverage Stripe to handle multiple payments. This article will delve into the mechanisms of leveraging AWS services and signed cookies to deliver premium content seamlessly. ...

September 10, 2023 · 6 min

How to harden your premium Content Deliver Network

Prelude If you miss the beginning of my series, here’s my article about how to build an e-learning platform on AWS. Otherwise, if you are following this serie, the last time we build our backend to safely produce and store our HLS contents (if you miss it, follow the link). If you want to provide premium content you have put in place a solution to ensuring secure and efficient distribution of premium content to end-users. AWS CloudFront, coupled with signed cookies, provides a robust solution for precisely this purpose. This article will delve into the mechanisms of leveraging AWS CloudFront and signed cookies to deliver premium content seamlessly. ...

July 15, 2023 · 8 min

Produce HLS content ready for streaming with AWS Media Convert

Prelude To build a streaming platform, as discussed here - read it if you miss it! - you first need to know what’s behind a streaming. Have you ever notice that streaming from streaming platform constantly adapt to your network, trying to avoid buffering and slowing down of the stream itself? Today it’s pretty hard to have connection problems, but even only 10 years ago this was a problem for many of us. Moreover, have you ever tried to download a video from a streaming resource? From time to time it’s hard to do it, you only get some empty file or “small pieces”, even using downloader extensions… ...

June 22, 2023 · 5 min

AWS Amplify in 2023: the good, the bad, and the evil

Prelude Today I want to deep dive into how you can leverage AWS Amplify, a tool that provides a comprehensive set of tools and services that streamline the process of developing and deploying web applications on AWS infrastructure: we will explore how to build a web application served by AWS API Gateway and Lambda functions. We will walk through the steps of initializing an Amplify project, adding Lambda functions, linking them to an API, and implementing authentication mechanisms. ...

May 5, 2023 · 8 min