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.
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. …