Photo

Alfonso Pauciello's Blog

Software Developer
Click here to view my resume

Proxy AWS API calls through API Gateway

03 Jul 2023

You can proxy any call to AWS API from API Gateway. You can use to enrich your serverless solution and avoid introducing some fancy service to perform even basic operations. This is possible because AWS features this out-of-the-box feature, which performs HTTP calls and authentication with minimal configuration, but a lot of people don't know how to make it work right.

Read More…
No comments yet • Tags
aws cli sdk api gateway call http signv4 curl

How do you calculate maximum turning speed?

16 Apr 2023

You are riding your bike or your car on a track. You have to get past a turn while speeding. Do traction and skills only matter to avoid crashing yourself into a barrier? What are the factors to consider?

Read More…
No comments yet • Tags
physics turn turning radius speed force centripetal acceleration newton first second law

My Short Experience On Liquibase

11 Jan 2023

This is a very short summary of my short experience on Liquibase. Take it as a note to be taken into consideration.

Read More…
No comments yet • Tags
liquibase mysql postgres oracle database code

How can I protect my Kubernetes Service?

06 Dec 2022

You must protect your K8S endpoint, but you cannot make changes to your service and/or your code. How can you add a layer on top of your services?

Read More…
3 comments • Tags
protect kubernetes service k8s service mtls tls nginx

Check Intersection Between Two Polygons

05 Oct 2022

I was doing some algorithm exercises around the internet, to keep myself motivated and challenged. I came up on this question. The proposed solution was not really appealing to me, so I thought it could have been done better.

Read More…
No comments yet • Tags
geometry intersection polygons convex concave game...

Should I rewrite a software?

29 Jun 2022

You have a piece of software which shows some signs of age, such as hard times adapting it to new technologies, extend it to be integrated with new components, port it over new infrastructures, and so on. You are considering if it's worth it to rewrite that piece of software.

Read More…
No comments yet • Tags
software management write rewrite effort development

Auth based on subrequest

13 Feb 2022

You have a layer in your application which you require, but you have no control over it. So, you decide to put some security layer on top of it, to control access from the outside world.

Read More…
1 comments • Tags
nginx auth request forward layer subrequest docker lua

Assign Requests and Limits for Kubernetes pods

31 Oct 2021

You have just developed your microservice, but what resources do you have to assign to it? How do you put some real numbers there, instead of some "lottery" ones? Here I show you a very simple, yet powerful technique I use for production environments. Your horizontal autoscalers will benefit from this!

Read More…
1 comments • Tags
aws eks k8s kubernetes pod requests limits cpu memory prometheus

Fully private EKS cluster deployment

18 Mar 2021

You tried to deploy a fully private EKS cluster in a VPC with a private endpoint, but you end up with a broken half installation of it. You waited almost 30 minutes without accomplishing your task. You are on a dead end. Other people on the internet had this issue. What to do to fix this?

Read More…
No comments yet • Tags
aws eks fully private cluster policy endpoint

Minimum IAM Policy for AWS GitLab Runner

16 Mar 2021

You have setup an Autoscaling GitLab Runner on your AWS account, following the official guide, but you don't know which actions to grant to the IAM user requested during the setup of GitLab Runner. You also did NOT to end up with giving full access to that user.

Read More…
1 comments • Tags
aws gitlab runner autoscaling iam policy

AWS Canary with Python

13 Mar 2021

If you ever tried to use AWS Canary with your own Python code, be it via CloudFormation template or manually via wizard, there is a chanche that you could not figure out how to correctly make it work, due to the restriction on the handler string used to call the Canary itself. You tried to find something already done to start with, but you found NodeJS examples only.

Read More…
No comments yet • Tags
aws canary python error lambda

We only use functional cookies. More info at our Privacy Policy. Click Here to close this popup.