
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

Digital Transformation, and Resilience
This Covid-19 crisis put our society and digital resilience to the test, that is, the ability to overcome this critical moment and adapt to this unusual and unexpected situation using digital media. Technology has been a key factor in this time of crisis. Thanks to it, remote work, virtual education, telemedicine, and telecare have been enabled. Artificial intelligence has even been used to identify those infected with COVID-19. Human beings are complex entities that are part

Using GCloud service accounts in Terraform
Now that you are comfortably using ServiceAccounts to interact securely with GCP, are you still not using it? Refer to this Teratip Secure your access to GCloud cli with Service Accounts and start doing so, you want to use it with Terraform too. Terraform requires setting a Token, which gives it access to the GCP API using a different identity. This token can be obtained with the gcloud cli and then exported to a variable. Once you do this, terraform will pick it up automatic

Secure your access to GCloud cli with Service Accounts
Do you want a time-sensitive way to give access to a third party to your GCP account with a low administrative burden? Look no further! Set up a service account! How to do it It's actually very simple: Create a new service account, and give it the permissions needed by the third party Ask the third party for a Google Identity Add this identity to the service account with the TokenCreator permissions Profit! Now the third party needs to execute the gcloud command with an addit

How to keep your AWS Keys Safe on your terminal
One of the causes of AWS Keys leaks is configuring your AWS CLI by using the command aws configure; This can lead you to store your credentials in plain text under your home folder. If you are using Linux or macOS, you may know about the Keychain and D-bus secret service, so let’s combine both things into a secure and robust solution to keep your keys safe. We will use https://github.com/sorah/envchain as the primary tool to automate the keychain unlock, export the values int

Digital Nomads, Independent Location
We were forced to work from home by the pandemic. For some time now, our living room became an office, the dining room table, a desk, and surely some room into a virtual meeting room. This new normal is a way of understanding the world and the relationship between the personal and professional spheres. Remote work has become something that many of us love, it is the time of digital nomads and even more so now that technological advances allow us to broaden the horizon and wor