AWS: VPC Flow Logs – an overview and example with CloudWatch Logs Insights

19 July 2022
 

  AWS VPC Flow Logs allow you to log traffic information between network interfaces in a VPC. Further, these logs can be stored in AWS S3 or sent to AWS CloudWatch Logs, while enabling traffic logging does not affect the performance of the network interface in any way. Let’s briefly review the basic concepts, and… Read More »

Arch Linux: pacman – error “HTTP server doesn’t seem to support byte ranges”

30 May 2022
 

 During system upgrade with pacman -Syu, I got internet disruption, and on the next upgrade I got the error from pacman. It sounds like “HTTP server doesn’t seem to support byte ranges. Cannot resume“: Actually, we can see that there is a problem with the Clightd/archive/5.6.tar.gz file, so let’s try to find it on your… Read More »

NGINX: IP Geolocation by Cloudflare and “nested” if conditions

2 April 2022
 

 Among other features provided by Cloudflare, it can add a special header with a country value, from where a visitor came. As a Ukrainian, I’d like to ban all visitors from russia, but: redirect all visitors from russian IPs to another web domain – russki-voenny-korabl-idi-nahuy.com during this, I’d like to filter requests and leave requests… Read More »

Elastic Stack: an overview and ELK installation on Ubuntu 20.04

22 February 2022
 

 The last time I’ve worked with the ELK stack about 7 years ago, see the ELK: установка Elasticsearch+Logstash+Kibana на CentOS. Currently, we are using Logz.io, but its costs going higher and higher, so we started looking at the self-hosted ELK solution to be running on our AWS Elastic Kubernetes Service clusters. So, the task, for… Read More »

AWS: Trusted Advisor, part 2 – CloudWatch Alarms and Slack notifications

29 November 2021
 

 Continuing with the theme of the AWS Trusted Advisor service, let’s see how can we configure notifications about new findings. The first part: AWS: Trusted Advisor, part 1 – its features overview. To have notifications, we can use Trusted Advisor metrics from the CloudWatch, see their list on the Trusted Advisor metrics and dimensions page.… Read More »

AWS: Trusted Advisor, part 1 – its features overview

29 November 2021
 

 AWS Trusted Advisor is another service that allows monitoring your accountant its resources in use for their cost-effectiveness, performance, security, and more. Keep in mind, that Trusted Advisor’s checks that are available for you depend on the AWS Support Plan of your account. вашего аккаунта. Fortunately, we have Premium so I’m able to how all… Read More »

AWS: Console – The Dark theme

23 November 2021
 

 The feature is not in production yet (maybe, will be announced on the re:Invent-2021?), but it already can be used via the browser’s Developer Tools. So, open the Developer Tools (F12), and open AWS Console, in the Dev Tools switch to the Application tab, on the left side in the Storage open Cookies: In the… Read More »

AWS: Cost optimization – services expenses overview and traffic costs in AWS

3 November 2021
 

 Let’s proceed with our journey on AWS Cost Optimization topics. Previous parts – AWS: Cost Explorer – costs checking on the CloudWatch Logs example and AWS: cost optimization – purchasing RDS Reserved Instances. One of the shortcomings of the cloud-based architecture is the fact, that it can cost much more than when using own bare-metal… Read More »