PODCAST

AWS Bites

AWS Bites

AWS Bites is the weekly show where we answer questions about AWS in about five minutes. This show is brought to you be Eoin Shanaghy and Luciano Mammino, certified AWS experts.

43. When is it OK to cheat on AWS?
Yesterday
43. When is it OK to cheat on AWS?
We do love AWS, but sometimes we have to admit that it’s not always a silver bullet. There are definitely use cases where it might be worth considering alternatives to AWS. In this episode we will discuss some of these use cases and try to highlight what are the advantages that other platforms or services can have over AWS in very specific circumstances. First of all we clarify why we like AWS and why (and when) it’s worth sticking with it. Then, we discuss what are some of the reasons why it might be worth considering alternatives to AWS. At this point we go into the specifics and talk about authentication services (Auth0), search services (ElasticSearch, Algolia), CDN Services (GitHub Pages, Netlify, Vercel, CloudFlare, Fastly, Akamai), Databases (MongoDB Atlas, Digital Ocean managed databases, IBM Compose, CloudFlare D1, Upstash, Confluent Kafka), Headless CMS services (ContentFul, Storyful, AirTable, Google Spreadsheet), Virtual Machine services (Digital Ocean, Linode). In this episode, we mentioned the following resources: - Episode 3. "​​How do you deploy a static website on AWS?”: Auth0: Amazon OpenSearch: Elastic Cloud: Algolia: Vercel: Netlify: MongoDB Atlas: Digital Ocean managed database: Compose (now IBM Cloud Databases): Upstash: Confluent: AirTable: Linode: episode is also available on YouTube: can listen to AWS Bites wherever you get your podcasts: - Apple Podcasts: Spotify: Google: Breaker: RSS: ​​ you have any AWS questions you would like us to address? Connect with us on Twitter: -
41. How can Middy make writing Lambda functions easier?
Jun 16 2022
41. How can Middy make writing Lambda functions easier?
Lambda functions are small units of code that achieve a specific purpose. It’s always a good idea to keep your code short, clean and simple. And yet, sometimes you find yourself writing lots of boilerplate code in every function to do common things, like parsing events, validation, loading parameters and lots more. The Middy.js framework was designed to help you keep Node.js Lambda function code simple, letting you focus on the business logic and clearing away duplication and boilerplate. By the end of this episode, you will know: How Middy.js works with JavaScript and TypeScript, how to perform validation, event parsing and parameter loading, and how you can even write and use your own Middy middleware. Finally you’ll get to know who is using Middy and how you could contribute to the Middy ecosystem. In this episode, we mentioned the following resources: - Middy Website and documentation: How to get started with middy (official docs): Middy official middlewares (official docs): How to write your own middlewares (official docs): Middy integrations (official docs): Interview with Taco Bell in an episode of Real World Serverless where they mention how they use middy: Open source projects using Middy: Lambda Power Tools for TypeScript Middy Integration: episode is also available on YouTube: can listen to AWS Bites wherever you get your podcasts: - Apple Podcasts: Spotify: Google: Breaker: RSS: ​​ you have any AWS questions you would like us to address? Leave a comment here or connect with us on Twitter: - #serverless #lambda
39. How do you build a cross-account event backbone with EventBridge?
Jun 2 2022
39. How do you build a cross-account event backbone with EventBridge?
When it comes to building and deploying microservice applications on AWS, there are 2 emerging best practices: use a separate AWS account per application (and environment) and decouple communication between separate systems using events (instead of point-to-point communication). Can we use these two best practices together? Yes, but we will need to find a way to pass messages between AWS accounts! In this episode we discuss how to do that using EventBridge as a cross-account event backbone! We discuss why these 2 suggestions are well established best practices, what are the pros and cons that they bring to the table, what an event backbone is and why EventBridge is a great service to implement one. Finally, we will discuss a case study and an example implementation of this pattern in the context of an e-commerce application built with a microservices architecture. In this episode, we mentioned the following resources: - Article “How to use EventBridge as a Cross-Account Event Backbone” Repository with example code: Article “What can you do with EventBridge?” (fourTheorem blog): For great ideas on structuring event payloads, take a read of Sheen Brisals' post on the Lego Engineering blog: Article “What do you need to know about SNS?” (fourTheorem blog) which includes a comparison of SNS and EventBridge: AWS Bites Episode 23: “What’s the big deal with EventBridge?” : AWS Community Day talk by Luc van Donkersgoed “Event-Driven Architecture at PostNL Scale” episode is also available on YouTube: can listen to AWS Bites wherever you get your podcasts: - Apple Podcasts: Spotify: Google: Breaker: RSS: ​​ you have any AWS questions you would like us to address? Leave a comment here or connect with us on Twitter: - #microservice #eventbridge
37. How do you migrate a monolith to AWS without the drama?
May 19 2022
37. How do you migrate a monolith to AWS without the drama?
Migrating monoliths to the cloud can be a scary, expensive and time consuming and time consuming activity. Many companies try to avoid it even if it could be beneficial for them, just because they think it would require too much work and be too risky. But there are interesting compromises and incremental approaches that can be used to simplify and de-risk this kind of migration. The idea is that you don’t necessarily have to dramatically re-engineer your application to move it to the cloud (and start to take advantage of it). In this episode, based on an InfoQ article that we recently published, we discuss a fictional use case where a company with a monolithic application managed to move to the cloud with a minimum amount of change. The move to the cloud has brought more scalability and resilience for the company to move forward and expand. But it also brings new challenges and opportunities. We will discuss all of this in more detail and by the end of this episode you should have a checklist for migrating monoliths to the cloud with minimal effort. In this episode, we mentioned the following resources: - InfoQ article “A Recipe to Migrate and Scale Monoliths in the Cloud”: Our previous episode about other cloud migration strategies: Our previous episode about the difference between CloudFormation and Terraform for infrastructure as code: Our previous episode about the pros and cons of CDK for infrastructure as code: episode is also available on YouTube: can listen to AWS Bites wherever you get your podcasts: - Apple Podcasts: Spotify: Google: Breaker: RSS: you have any AWS questions you would like us to address? Leave a comment here or connect with us on Twitter: - #monolith #migration