In this short article I will show you how to build a simple Serverless app on AWS to upload and update images using Terraform.
The basic idea is build an app to upload a set of images with some metadata, also the app has to be able to update images and keep those versioned.
Following best practices, I have decided to build the infrastructure using Terraform modules. Those modules create the whole AWS infrastructure and also upload the Lambda function code.
Distributed systems such as Kubernetes are designed to be robust, resilient to failures and, auto recover in such scenarios, and Kubernetes accomplish this very well. However, It‘s common for the worker nodes to get disconnected from their master due to various reasons and in these cases, you would like Kubernetes to react fast to make the system robust in terms of availability and reliability.
By default, you might have noticed that when a node gets down, the pods of the broken node are still running for some time and they still get requests, and those requests fail. …
This article shows you how AWS EKS allocates IPs in clusters and how you can avoid running out of IPs. If you are getting curious or impatient to get this done, take a look into this repository with all Terraform configurations placed in a single place.
Every AWS EKS cluster comes pre-configured by default with the AWS VPC CNI plugin which provides robust networking for pods. This plugin is responsible for assigning IPs to the pods whenever the pods are created. …
Cloud and DevOps Engineer