Extract user_agent fields from logs using AWS ElasticSearch
ElasticSearch service has become one of the preferred services where sysops department store logs and metrics information. Recently, we faced with a problem that we already solved related with the user_agent field we get from nginx json logs. When a new request transaction goes to our web services we want to get some certain relevant […]
Securing Jenkins access to AWS (part I)
Jenkins is an open source automation server used to accelerate the software delivery process and has become the de facto DevOps engine, specially for its scripted Jenkinsfile pipelines committed to source control. To accomplish its function, Jenkins needs to interface with some external systems, such as GitHub or, the reason for this article, AWS. One […]
EFS & WordPress: When best practices don’t work
Today we are going to talk about AWS recommendations to deploy WordPress in your cloud. AWS offers us a multitude of solutions depending on the environment we need to deploy. In most cases we will want to deploy this well-known CMS taking advantage of the solutions offered by AWS in terms of scalability and flexibility, […]
Securing Jenkins access to AWS (part II)
Recommended setup If you followed the steps in my previous post, you have: IAM users than can only assume a role AWS access keys for those users stored in Jenkins (using AWS Credentials plugin) An MFA device assigned to each user A condition that forces MFA when assuming roles Example pipeline With all this, we […]
Kubernetes backups with Velero
Talk about backup in a Kubernetes cluster may sound weird and you may thing is not necessary as you can recreate at any time and in a very quick way any of your deployments or resources simply aplying a yaml file… but in some cases a backup of your resources can be very useful and […]
RDS performance issues by IOPS on GP SSD
We want to share with you a problem that we have recently solved with a project. RDS is the managed database service offered by AWS that solves the main management, operation and maintenance problems involved in having a relational database platform. With RDS everything is very simple, you guarantee the service and the operative allowing […]
NFS volumes in Docker containers
In many cases we find ourselves using a volume in the docker that is shared from another server via NFS. For this purpose, the docker includes its own NFS driver that will allow us to use this volume directly without having to run it on the host machine. We have different options when using these NFS […]
A quick view of modules in Terraform
Introduction Modules in Terraform are a collection of resources that can be linked or just created individually. When we call a module, we are calling a file with a bunch of resources with some parameters inside, parameters we need either to specify in the resource itself or in another file which stores our variables. Why […]
AWS vs Azure, which one should I choose?
Introduction Migrating to the cloud is becoming increasingly common and convenient for most companies that work on the Internet, given that it offers advantages such as scalability, agility, cost reduction, availability, etc. But when it comes to deciding on a cloud provider, how do we decide which one is the most convenient? We are going […]
Error using AWS EFS for MySQL
Introduction In this post we are going to see how to solve the following error that we face while working with MySQL databases using AWS EFS service for storage: ERROR 1030 (HY000) at line 1744: Got error 168 from storage engine Starting situation Our use case consisted of a Kubernetes EKS cluster, where we needed […]