Author Archives: setevoy

RTFM: How and why is this blog written?
0 (0)

10 September 2023

For a long time now, people have been asking me to tell them how I write my blog posts on the rtfm.co.ua. And since I’m finally going to write about it, let’s take a look at why (if) it’s good to have your own IT blog. Why do you need to run an IT blog?… Read More »

Loading

Terraform: Building EKS, part 1 – VPC, Subnets and Endpoints
0 (0)

10 September 2023

So, now that we’ve been reminded a bit about Terraform’s data types and loops, it’s time to start building something real. The first thing we will deploy with Terraform is the AWS Elastic Kubernetes Service cluster and all the resources associated with it because now it is done with AWS CDK, and in addition to… Read More »

Loading

Terraform: introduction to data types – primitives and complex
0 (0)

9 September 2023

In this post, we will take a brief look at the data types that we can use in Terraform to better understand the topic of the following post – Terraform: count, for_each, and for loops. Documentation – Type Constraints and Types and Values. We have the following types divided into groups: Primitive Types: string: sequence of Unicode characters,… Read More »

Loading

Terraform: dynamic remote state with AWS S3 and multiple environments by directory
0 (0)

3 September 2023

Following the series of posts about preparing to use Terraform on a project. So, in the first part, we thought about how to organize the preparation of the backend for the project, that is, to perform its bootstrap, and a bit – how to manage the Dev/Prod environments in general, see Terraform: Getting started and… Read More »

Loading

Terraform: remote state with AWS S3, and state locking with DynamoDB
0 (0)

3 September 2023

We are preparing to transfer infrastructure management from AWS CDK to Terraform. I’ve already wrote about planning it in the Terraform: planning a new project with Dev/Prod environments post, but there I didn’t wrote about one very important option – creating a lock for state files. State file locking is used to avoid situations where… Read More »

Loading

VictoriaMetrics: VMAuth – Proxy, Authentication, and Authorization
0 (0)

27 August 2023

We continue to develop our monitoring stack. See the first part – VictoriaMetrics: creating a Kubernetes monitoring stack with its own Helm chart. What do we want to do next: give access to developers so that they can set Silence for alerts themselves in Alertmanager to avoid spamming Slack, see Prometheus: Alertmanager Web UI alerts Silence.… Read More »

Loading

AWS: Getting started with Karpenter for autoscaling in EKS, and its installation with Helm
0 (0)

19 August 2023

On all my previous projects where Kubernetes was, for its WorkerNodes scaling I’ve used the Cluster Autoscaler (CAS) because actually there were no other options before. In general, CAS worked well, but in November 2020 AWS released its own solution for scaling nodes in EKS – the Karpenter, and if at first time reviews were… Read More »

Loading

Grafana: values ​​from records in Loki logs, and dual-Y-axes panels in Grafana
0 (0)

19 August 2023

We have a function in AWS Lambda, that is writing logs to CloudWatch Logs, from where with the lambda-promtail we are getting them to a Grafana Loki instance to use them in Grafana graphs. What the task is: in the logs, we have records about “Init duration” and “Max Memory Used” by Lambdas. There are no… Read More »

Loading