<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Matias Zilli on Medium]]></title>
        <description><![CDATA[Stories by Matias Zilli on Medium]]></description>
        <link>https://medium.com/@matiaszilli?source=rss-670862a7f5ee------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*GpzQFmXXRlRmJfEkapKktw.jpeg</url>
            <title>Stories by Matias Zilli on Medium</title>
            <link>https://medium.com/@matiaszilli?source=rss-670862a7f5ee------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 01:22:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@matiaszilli/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Improving Kubernetes reaction when nodes fail]]></title>
            <link>https://matiaszilli.medium.com/improving-kubernetes-reaction-when-nodes-fail-9ba6282630a?source=rss-670862a7f5ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ba6282630a</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[kubernetes-cluster]]></category>
            <category><![CDATA[kubernetes-engine]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Matias Zilli]]></dc:creator>
            <pubDate>Sat, 29 May 2021 01:00:38 GMT</pubDate>
            <atom:updated>2021-05-29T01:00:38.169Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*YzIKcuiQkdgzq5VRnNziyA.png" /></figure><p>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.</p><p>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. In my opinion, that time has to be reduced because by default is too high.</p><p>To see how Kubernetes HA works in terms of detecting when a node is down, let’s describe the communication between Kubelet and Controller Manager.</p><p>By default the normal behavior looks like:</p><ol><li>Kubelet updates it status to apiserver periodically, as specified by --node-status-update-frequency. Default value is <strong>10s</strong>.</li><li>Controller manager checks the Kubelet status every –-node-monitor-period. Default value is <strong>5s</strong>.</li><li>In case the status is updated within --node-monitor-grace-period of time, Controller manager considers the Kubelet to be healthy. Default <a href="https://github.com/kubernetes/kubernetes/blob/release-1.21/pkg/controller/nodelifecycle/config/v1alpha1/defaults.go#L42">value</a> is <strong>40s</strong>.</li></ol><h3>Failure</h3><p>In case some node goes down, this is the workflow of what happens:</p><ol><li>The Kubelet posts its status to the masters using--node-status-update-frequency=10s.</li><li>A node dies.</li><li>Controller manager will try to check the node status reported by the Kubelet every --node-monitor-period=5s of time.</li><li>Controller manager will see the node is unresponsive, and has a grace period<strong><em> </em></strong>--node-monitor-grace-period=40s until it considers the node to be unhealthy and set it to <em>NotReady</em> status.</li><li>Kube Proxy will remove the endpoints that pointed to pods inside of that node from all services so pods from failed node won’t be accessible anymore.</li></ol><p>In such a scenario, there will be some request error because the pods will continue to receive traffic until the node is considered as down and <em>NotReady </em>after <strong>45s</strong>.</p><p>There are a bunch of parameters to tweak in the Kubelet and the Controller Manager.</p><h3>Fast Update and Fast Reaction</h3><p>To improve Kubernetes reaction to down nodes, you could modify these parameters, so if -–node-status-update-frequency is set to <strong>1s</strong> (10s is by default), --node-monitor-period to <strong>1s</strong> (5s is by default) and --node-monitor-grace-period to <strong>4s</strong> (40s is by default), the node will be considered as down after approximately <strong>4s. </strong>These numbers would reduce the reaction time from <strong>40s</strong> to <strong>4s</strong>.</p><h3>Test Kubernetes Fast Reaction</h3><p>To try it in a test environment, we can create a Kubernetes cluster using <a href="https://kind.sigs.k8s.io/">Kind</a> or any other tool. We have created a custom Kind Cluster definition with the parameters specified in the previous section so that we can test the actual behavior.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a2eff9e7b1c695814d315ae01cdf8258/href">https://medium.com/media/a2eff9e7b1c695814d315ae01cdf8258/href</a></iframe><p>Then we set a deployment of two Nginx pods placed in the <em>control-plane</em> and <em>worker</em> node. We also created a pod with Ubuntu in the <em>control-plane</em> node so we can test the availability of Nginx when the <em>worker</em> is down.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a56d99c87126d94c07277f32b419fce4/href">https://medium.com/media/a56d99c87126d94c07277f32b419fce4/href</a></iframe><p>To try the Nginx availability, we accessed the service using curl from the Ubuntu pod placed in the <em>control-plane</em> and,<em> </em>we also watched the service endpoints belonging to the Nginx service from our terminal.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/37a6c23d48b0d801501005def910ccf9/href">https://medium.com/media/37a6c23d48b0d801501005def910ccf9/href</a></iframe><p>Finally, to simulate a node failure, we stopped the Kind container that runs the <em>worker</em> node. We also printed the timestamps when the node was down and when the node was detected to be <em>NotReady</em></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f8708ffe794652723782baa26ee9a6dd/href">https://medium.com/media/f8708ffe794652723782baa26ee9a6dd/href</a></iframe><p>After running the test, we noticed the node went down at 12:50:22 and the Controller manager detected it as down at 12:50:26, which is exactly what would be expected, 4 seconds later.</p><pre>Worker down at 12:50:22.285<br>Worker detected in down state by Control Plane at<br>      time: &quot;12:50:26Z&quot;</pre><p>We have noticed the same behavior from the tests from the terminal. The service started to return error states at 12:50:23 because the traffic was routed to the failed node. And at 12:50:26.744 the Kube Proxy removed the endpoint pointing to the failed node and the service availability was completely recovered.</p><pre>...<br>12:50:23.115 - Status: 200<br>12:50:23.141 - Status: 200<br>12:50:23.161 - Status: 200<br>12:50:23.190 - Status: 000<br>12:50:23.245 - Status: 200<br>12:50:23.269 - Status: 200<br>12:50:23.291 - Status: 000<br>12:50:23.503 - Status: 200<br>12:50:23.520 - Status: 000<br>12:50:23.738 - Status: 000<br>12:50:23.954 - Status: 000<br>12:50:24.166 - Status: 000<br>12:50:24.385 - Status: 200<br>12:50:24.407 - Status: 000<br>12:50:24.623 - Status: 000<br>12:50:24.839 - Status: 000<br>12:50:25.053 - Status: 000<br>12:50:25.276 - Status: 200<br>12:50:25.294 - Status: 000<br>12:50:25.509 - Status: 200<br>12:50:25.525 - Status: 200<br>12:50:25.541 - Status: 200<br>12:50:25.556 - Status: 200<br>12:50:25.575 - Status: 000<br>12:50:25.793 - Status: 200<br>12:50:25.809 - Status: 200<br>12:50:25.826 - Status: 200<br>12:50:25.847 - Status: 200<br>12:50:25.867 - Status: 200<br>12:50:25.890 - Status: 000<br>12:50:26.110 - Status: 000<br>12:50:26.325 - Status: 000<br>12:50:26.549 - Status: 000<br>12:50:26.604 - Status: 200<br>12:50:26.669 - Status: 000<br>12:50:27.108 - Status: 200<br>12:50:27.135 - Status: 200<br>12:50:27.162 - Status: 200<br>12:50:27.188 - Status: 200<br>...</pre><pre>...<br>------<br>12:50:26.523<br>&quot;kind-control-plane&quot;<br>&quot;kind-worker&quot;<br>------<br>12:50:26.618<br>&quot;kind-control-plane&quot;<br>&quot;kind-worker&quot;<br>------<br>12:50:26.744<br>&quot;kind-control-plane&quot;<br>------<br>12:50:26.878<br>&quot;kind-control-plane&quot;<br>------<br>...</pre><h3>Conclusions</h3><p>From the latest results, it is evident that the reaction improved considerably. There can be different combinations of parameters to satisfy specific cases and you may be quite tempted to lower the values for the Kubernetes system to react faster but, take into account that this scenario creates overhead on etcd as every node will try to update its status every 1 second. For example, if the cluster has 1000 nodes, there will be 60000 node updates per minute which may require large etcd containers or even dedicated nodes for etcd. <br>Also, if you set these too small, there would be some risks. For instance, a temporary network failure for a short period would result in traffic shifting frequently.</p><p>To sum up, the parameter values entirely depend upon business requirements such as application SLA’s, cluster resource utilization, infrastructure provider, etc.</p><p>I hope this helps. As always, I appreciate your comments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ba6282630a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Avoiding IP consumption in Amazon EKS]]></title>
            <link>https://matiaszilli.medium.com/avoiding-ip-consumption-in-amazon-eks-32fc7320253d?source=rss-670862a7f5ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/32fc7320253d</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[aws-eks]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[calico]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Matias Zilli]]></dc:creator>
            <pubDate>Wed, 09 Dec 2020 12:37:34 GMT</pubDate>
            <atom:updated>2020-12-10T08:46:42.213Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/973/1*BNunBR1zukr2Y87ue17OWQ.png" /><figcaption>EKS eating my available IPs</figcaption></figure><p>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 <a href="https://github.com/matiaszilli/terraform-aws-eks/tree/master/modules/calico_cni">this repository</a> with all Terraform configurations placed in a single place.</p><h3>Container Networking Interface and pod networking</h3><p>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. In order to assign an IP, the plugin needs to be aware of the underlying instance’s ENI capacity and know-how many primary and secondary interfaces are supported by the particular instance type, also it has to be aware of the available IPs in your VPC.</p><p>Usage of VPC CNI becomes a problem if you don’t do good network planning before going to production. The limitation comes in two aspects, first, if you’re running a subnet with a small number of IP addresses, you might quickly run into troubles. Second, ENIs are attached to the nodes, providing a means of attaching IPs for each pod in the cluster, so the number of pods running on a node is limited by the ENI capacity of the instance and therefore by the EC2 instance type.</p><p>To illustrate the first limitation, let’s assume that you have created three subnets with a /28 prefix, and associated them with worker nodes. With this setup, you can get a total of 33 IP addresses available for your worker nodes and the pods that are launched in the cluster. Let’s suppose that you have 5 worker nodes as part of your cluster, which means you only have room for 28 pods which is not a lot if you are running multiple applications within that VPC. <br>To show you the second limitation, let’s suppose that you have a t3.micro instance, that instance supports 2 ENIs and 2 IPs per each ENI, so using the following <a href="https://docs.aws.amazon.com/eks/latest/userguide/pod-networking.html">formula</a>:(Number of ENI * (number of IP per ENI — 1) + 2<br>a total of 4 pods can be scheduled in that instance(2 * (2 — 1) + 2) which obviously is too limited and you might surely be wasting computing resources.</p><h3>How to solve the problem?</h3><h4>1. Adding additional IPv4 CIDR blocks to VPC</h4><p>EKS allows clusters to be created in a VPC with <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html#vpc-resize">additional</a> IPv4 CIDR blocks added. By adding secondary CIDR blocks to a VPC from the 100.64.0.0/10 and 198.19.0.0/16 ranges, it is possible for pods to no longer consume any RFC-1918 IP addresses from the VPC.</p><p>By introducing a secondary CIDR range, you can release the pressure on your primary CIDR range, and it also allows to have room for more pods in the cluster but this approach doesn’t solve the second limitation because your instances will be still underutilized and you don’t want to increase the worker node count unless you were hitting high resource utilization on your existing worker nodes.</p><h4>2. Change VPC CNI for Calico CNI</h4><p>You can also tackle this problem using a custom CNI. There are many CNI available (e.g: calico, weave-net, flannel, etc.). I decided to show you how to use Calico as it is pretty straightforward to <a href="https://docs.projectcalico.org/getting-started/kubernetes/managed-public-cloud/eks">install</a> and this allows you to take advantage of the full set of Calico networking features, including Calico’s flexible IP address management capabilities.</p><p>To get EKS cluster to use Calico CNI, there were a couple of other steps I had to follow. Basically, first I had to uninstall the default VPC CNI, then install calico CNI, delete the pod limit per host and finally restart the kubelet on worker nodes.</p><p>After a short introduction, let’s get into the details. First of all, to uninstall VPC CNI using the Helm provider, I have replaced the aws-node daemon set container image by google/pause , doing that I deleted completely the pods that manage the VPC CNI networking. Take a look at the <a href="https://github.com/matiaszilli/terraform-aws-eks/blob/master/modules/calico_cni/charts/calico-cni/templates/replace_cni.yaml">code</a>.<br>Then, the Calico CNI installation is pretty simple, I have followed the official <a href="https://docs.projectcalico.org/getting-started/kubernetes/managed-public-cloud/eks">documentation</a> and applied a <a href="https://github.com/matiaszilli/terraform-aws-eks/blob/master/modules/calico_cni/charts/calico-cni/templates/calico-vxlan.yaml">yaml file</a> provided on that using the Helm provider.<br>Then, to delete the pod limit per host and solve the problem of max pod capacity per worker node, I created a daemon set of <a href="https://kubernetes.io/docs/concepts/workloads/pods/#privileged-mode-for-containers">privileged containers</a> so you can access to host pid namespace as well as the host filesystem. The daemon set uses a init container with <a href="https://hub.docker.com/_/busybox">busybox</a> to do its job, it is: modify the kubelet config file, change the kubelet service behavior and finally restart it. You can see below the bash code to do that.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c25220c79c14c36cd1ff2b630ebfdb2c/href">https://medium.com/media/c25220c79c14c36cd1ff2b630ebfdb2c/href</a></iframe><p>After that, your worker nodes should have its max pods setting set to the default Kubernetes number (110). The following command will return the maximum pods value for &lt;node_name&gt;:<br>kubectl get node &lt;node_name&gt; -ojsonpath=&#39;{.status.capacity.pods}{&quot;\n&quot;}&#39;<br>And you are all set. Your EKS cluster should now have Calico CNI installed and running.</p><p>I have implemented the whole process using Terraform and its Helm provider so that we can get a fully automated solution. I modified the official <a href="https://github.com/terraform-aws-modules/terraform-aws-eks">Terraform EKS module</a>, the usage of official Terraform modules brings us simplicity of coding AWS components following the best practices from verified providers (A.K.A. <em>do not reinvent the wheel</em>). The solution was developed as a submodule into the official module, you can see the full code in the following link.</p><p><a href="https://github.com/matiaszilli/terraform-aws-eks/tree/master/modules/calico_cni">https://github.com/matiaszilli/terraform-aws-eks/tree/master/modules/calico_cni</a></p><h3>Wrapping up</h3><p>Every technology has peculiarities and pitfalls. The advantages of using EKS are enormous. When you move into complex and big architectures, EKS can end up consuming a lot of IPs. Don’t make this a problem for yourself and make sure you have enough networking room for your system!</p><p>I would really appreciate any kind of questions, feedback or comments so feel free to ping me <a href="https://www.linkedin.com/in/matiaszilli/">here</a>, or post any comments below in this post.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32fc7320253d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a simple AWS Serverless app to upload images]]></title>
            <link>https://matiaszilli.medium.com/building-a-simple-aws-serverless-app-to-upload-images-2003c2084526?source=rss-670862a7f5ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/2003c2084526</guid>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-lambda]]></category>
            <dc:creator><![CDATA[Matias Zilli]]></dc:creator>
            <pubDate>Sat, 07 Nov 2020 11:41:59 GMT</pubDate>
            <atom:updated>2020-11-12T09:13:03.549Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building a simple AWS Serverless app to serve images</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1O-vUWDb-F1iGgKZoMs8fg.png" /><figcaption>Architecture</figcaption></figure><h3>Introduction</h3><p>In this short article I will show you how to build a simple Serverless app on AWS to upload and update images using Terraform.</p><p>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.<br>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.</p><p>The goal for writing this article is to provide a template that you can modify and use in your project. All source code is <a href="https://github.com/matiaszilli/serverless-images-app">here</a>.</p><h3>Services Used</h3><p>The following AWS services were used to build the app:</p><ul><li><strong>API Gateway</strong> is an AWS service for creating, publishing, maintaining, monitoring, and securing REST and WebSocket APIs at any scale.</li><li><strong>Lambda </strong>is a compute service that lets you run code without provisioning or managing servers. AWS Lambda executes your code only when needed and scales automatically, from a few requests per day to thousands per second.</li><li><strong>DynamoDB </strong>is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability. DynamoDB lets you offload the administrative burdens of operating and scaling a distributed database so that you don’t have to worry about hardware provisioning, setup and configuration, replication, software patching, or cluster scaling.</li><li><strong>S3 </strong>has a simple web services interface that you can use to store and retrieve any amount of data, at any time, from anywhere on the web.</li></ul><h3>Architecture</h3><h4>RestAPI</h4><p>An AWS API Gateway service was created to host the REST API and route traffic to the Lambda functions. The API contains just one proxy resource and two methods that triggers one Lambda each one:</p><ul><li>Method PUT: Updates an existing image passing the new image in the body, new metadata in headers and image id as a query parameter.<br>It returns the image id, new image url and version.</li><li>Method POST: Creates a new image passing the image in the body, metadata in headers and image name as a query parameter.<br>It returns the image url, id and version.</li></ul><p>See more details in OpenAPI specification <a href="https://github.com/matiaszilli/serverless-images-app/blob/master/code/OpenApiSpecification.json">here</a>.</p><h4>Metadata storage</h4><p>All the image metadata including the version tag is stored in a DynamoDB table, that has a composite primary key, this type of key is composed of two attributes. The first attribute is the partition key (“id” in this case), and the second attribute is the sort key (“version”).</p><p>Example Dynamo item:</p><pre><br>{<br> “Author”: “Matias Zilli”,<br> “Bucket”: “imagesproject”,<br> “Category”: “cats”,<br> “Date”: 1584453887564,<br> “Filename”: “1b2d32b0–25bb-41d4-ba74–9bb14f5c8369-test5.jpg”,<br> “id”: “1b2d32b0–25bb-41d4-ba74–9bb14f5c8369”,<br> “Version”: “RW3GW7UqujewJL_o1We4mMRhT6I3Y66j”<br>}<br></pre><h4>Image storage</h4><p>Images are stored in two S3 bucket using versioning, it allows keeping multiple variants of an image in a bucket without change the image name. Versioning is useful to preserve, retrieve, and restore every version of each image stored in a S3 bucket and with that, you can also easily recover from both unintended user actions and application failures.</p><p>A versioning example is shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/144/1*GJajONU5Ioy2h1sMsTjznA.jpeg" /><figcaption>S3 Versioning</figcaption></figure><p>In order to achieve better availability and reduce costs, there is a second bucket (shown as “backup” in the architecture diagram) to replicate and backup images in a different region. Replication enables automatic, asynchronous copying of objects across S3 buckets.</p><p>The main bucket has a storage class type “Standard” which provides the best availability and the lower cost for frequently accessed assets, and the backup bucket has a storage class type “One Zone-IA” which is designed for long-lived, infrequently accessed and non-critical data.</p><p>The images are continuously replicated from the main to backup bucket and non current version (old versions after a update) of the images expires from the main bucket after 6 days and never expires from backup bucket. That mechanism allows to have old image versions in a low cost and infrequent accessed storage which save a lot of money.</p><h4>Lambda functions and app code</h4><p>The app has two AWS Lambda function, one for upload and other for update images, both of them were developed using Javascript and run with Node.js 12. Both functions were deployed as public functions (i.e: not inside of a VPC), it was possible because S3 and Dynamo support calls from public Lambdas.</p><p>VPC Lambda functions add huge overheads on “cold starts”, it is about 8 second of delay that is a horrible user experience and running into multiple cold starts would negatively affect a user’s experience. Also keep in mind that each time a Lambda function is executed inside a VPC, it uses a proportion of your IP capacity from the subnet, so you must have enough IP capacity to support your Lambda scaling requirements.</p><p>Another optimization was accomplished adding “keep-alive” for Dynamo connections. By default the default Node.js HTTP/HTTPS agent creates a new TCP connection for every new request, to avoid that cost, you can reuse an existing connection setting the AWS_NODEJS_CONNECTION_REUSE_ENABLED environment variable to 1.</p><p><em>upload </em>Lambda function <a href="https://github.com/matiaszilli/serverless-images-app/blob/master/code/upload.js">source code</a>.<br><em>update </em>Lambda function <a href="https://github.com/matiaszilli/serverless-images-app/blob/master/code/update.js">source code</a>.</p><h3>Future improvements</h3><p>Another better approach to implement this, is generate S3 pre-signed urls and upload images directly to S3 using these. In this case we did not follow this approach for some constraints.</p><p>Also, the best way to serve images from S3 is using Cloudfront by creating a Cloudfront distribution to serve HTTPS image requests directly from a edge location that provides the lowest latency with the best possible performance to the end user.</p><p>Another optimization might be applied to the Node.js code using <a href="https://www.npmjs.com/package/minify">Minify </a>and <a href="https://www.npmjs.com/package/uglify-js">Uglify</a>, that reduces code size and therefore optimize “cold start” by reducing code download time.</p><h3>Resources</h3><ul><li><a href="https://github.com/matiaszilli/serverless-images-app">https://github.com/matiaszilli/serverless-images-app</a></li><li><a href="https://aws.amazon.com/api-gateway/">https://aws.amazon.com/api-gateway/</a></li><li><a href="https://aws.amazon.com/lambda/)">https://aws.amazon.com/lambda/</a></li><li><a href="https://aws.amazon.com/dynamodb/">https://aws.amazon.com/dynamodb/</a></li><li><a href="https://aws.amazon.com/s3/">https://aws.amazon.com/s3/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2003c2084526" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>