
How to configure different event webhooks in Sendgrid
SendGrid is a cloud-based SMTP provider for transactional and marketing email. You can send email via SMTP relay or through the web API. When an email is processed, events are generated. There are two types of events: delivery and engagement. Delivery events indicate the status of the email delivered. Engagement events specify how the recipient interacts with the email. Then, you can configure Sendgrid’s Event Webhooks to notify a custom URL via HTTP POST with information abo

The future of e-commerce
In recent months, electronic commerce has acquired greater relevance as a result of the digital transformation due to Covid-19. This has made it necessary for companies that are not online to quickly centralize their sales transactions in virtual channels. In 2021, it began to require companies to continue to maintain an accelerated pace of digital maturation. Likewise, it is not only a matter of organizations starting their operations online by adopting an e-commerce platfor

Terraform workspaces, direnv, dotenv, and mental sanity
Once you have all your environments working with Direnv, Advanced Direnv for Devops, if you are working with Terraform namespaces there is another improvement you can make to automate further. We use another directive from direnv called watch_file, which reloads the environment each time a particular file is changed. We can point this directive to the .terraform/workspace file, which holds the currently selected workspace in Terraform. The following code in the .envrc file im

Getting into your instances
Did you get excited about this article? Let’s have a look at how it is on a less theoretical level. Ok, so you have created an i-fafafafafafafa AWS instance in your private subnet but for some reason, you need an SSH like connection to it to maybe use it hopefully not too often. In the old days, having a bastion host used to be an acceptable choice. On these days, not so much. Basically because of the exposed ports. Even if you don't use port 22 it is still a risk. Even an el

Advanced Direnv for Devops
Now you are using Direnv to manage your workspaces (see THIS), but you stumble upon a difficulty, maybe motivated (like me) by Terraform workspaces. You have a single codebase for a project, but this codebase needs to be deployed to different environments. Now, we can no longer have a .envrc file in the project's folder, because the environment should be different depending on where we want to deploy. So, how do we solve this? Direnv to the rescue, again. Using .env's Direnv

Direnv for Devops
For DevOps engineers, working in many different projects and different clouds is a reality of life. We have developed many tools to help us to manage and switch among the different contexts and projects, each one with its ups and downs. Today we explore the one that, IMHO, is the best of them all: direnv. How it works Direnv has a very simple premise: each time you cd into a directory with a .envrc file, a new environment is started for that particular directory using the env