Building and deploying AWS Lambda with Serverless framework in just a few of minutes - Part 2

Building and deploying AWS Lambda with Serverless framework in just a few of minutes - Part 2

In this article, I’ll show you how to deploy the lambda that we constructed in the previous section. This time, we need to set up AWS in preparation for deployment. If you missed Part 1, please read it first. Building and deploying AWS Lambda with Serverless framework in just a few of minutes How to create an AWS Lambda using a Serverless framework, as well as how to structure and manage your functions as projects in your repository ...

February 26, 2024 · William Sena
Building and deploying AWS Lambda with Serverless framework in just a few of minutes

Building and deploying AWS Lambda with Serverless framework in just a few of minutes

Today I’ll teach you how to create an AWS Lambda using a Serverless framework, as well as how to structure and manage your functions as projects in your repository. Serverless provides an interface for AWS settings that you may configure in your deployment configurations and function permissions for any service, including S3, SNS, SQS, Kinesis, DynamoDB, Secret Manager, and others. AWS Lambda Is a serverless computing solution offered by Amazon Web Services. It lets you run code without having to provision or manage servers. With Lambda, you can upload your code as functions, and AWS will install, scale, and manage the infrastructure required to perform those functions. ...

February 19, 2024 · William Sena
Turbinando a instalação dos pacotes NPM com o PNPM

Turbinando a instalação dos pacotes NPM com o PNPM

Anos atrás, eu estava entre o NPM e o Yarn, uma questão comum entre desenvolvedores Node.js. Eu sempre mantive ambos instalados e depois de uma melhoria de performance no NPM, o Yarn virou plano B, “se o NPM falhar bora de Yarn”. Em busca de conhecimento 👽, encontrei o PNPM há algum tempo e resolvi testá-lo. Notei uma melhoria gigante na instalação de pacotes e o mais interessante é que essa estratégia aprimorada de reuso de pacotes do projeto, reduz o espaço em disco consumido pelos pacotes. ...

August 31, 2023 · William Sena
Building a Squid Proxy Container to test NPM with HTTP Proxy

Building a Squid Proxy Container to test NPM with HTTP Proxy

What’s up, everyone? I’ll show you how to set up your NPM to use an HTTP proxy today. A long time ago, I had a problem at a previous job where internet access was proxied and fixed to a specific endpoint. This article is for you if you had this connection problem or if you want to use a proxy to cache some files. To put this scenario to the test, we’ll use a known caching proxy, Squid with authentication. So, make your favorite coffee ☕, and let’s get started on a kernel update. ...

March 19, 2023 · William Sena
Handling Docker Volumes Permissions without root privilege

Handling Docker Volumes Permissions without root privilege

Hello there, Today, I’d want to introduce you to a typical Docker Volumes issue. Sometimes our applications are not Cloud Native as they should be, or they are not as mature as we would like. This article describes how to mount Docker volumes between the host and container without root privileges. Some open-source projects still require root privileges! However, because this is a HIGH-RISK vulnerability, it should be avoided in production environments. It’s a…. Let’s start with a simple** Node.js** HTTP server that writes logs and shares them with hosts via mount docker volume. ...

October 30, 2022 · William Sena
Why Ghost might be your Blogging Platform?

Why Ghost might be your Blogging Platform?

Ghost is awesome! There are many reasons to choose Ghost as your blog platform. That is the word from a long-term user. When I started, the version was 0.6.x. Everything I needed was there. I love to write posts at Ghost. The platform is designed to be very fluid and productive, it’s easy to format, insert an image, set up a script, and most important “You don’t need plugins to work and waste time fixing”. Keep your focus on writing and sharing your message. ...

September 8, 2022 · William Sena