AWS: create an Elastic Container Registry and Jenkins deploy job
0 (0)

23 September 2019

The task is to create an AWS ECR repository and add a Jenkins job to build and deploy Docker images to this repository. See the next part – Jenkins: Docker Compose deployment from Ansible with ECR authentication. AWS ECR Go to the ECR, click Get Started, set a new repository name: Lave Mutable, so you’ll be… Read More: AWS: create an Elastic Container Registry and Jenkins deploy job0… »

Loading

CloudFlare: CDN configuration for AWS S3 website hosting
0 (0)

20 September 2019

Need to create a static website hosting using AWS S3 and attach CloudFlare CDN to it. AWS S3 bucket Create a new bucket for your website with the same name as it will be used for your site, in this case, it will be cdn.example.com: Go to the Properties and enable website hosting: Go to… Read More: CloudFlare: CDN configuration for AWS S3 website hosting0 (0) »

Loading

PostgreSQL: FATAL: Peer authentication failed for user “name”
0 (0)

11 September 2019

A quick note mainly for myself on how to enable remote access in PostgreSQL and create its database dump. An EC2-server moved to our AWS account with one website. During an attempt to connect to the PostgreSQL running on this host – the “FATAL: Peer authentication failed for user “name”” appears. And the same error… Read More: PostgreSQL: FATAL: Peer authentication failed for user “name”0 (0) »

Loading

Redis: main configuration parameters and performance tuning overview
0 (0)

10 September 2019

Currently configuring Redis server as our backend caching service and during that wrote this post with some things to pay attention at in Redis config file. Shortly enough but with links to other posts or documentation. Let’s begin with the redis-benchmark utility. Will be installed alongside with Redis service, so can be used right after… Read More: Redis: main configuration parameters and performance tuning overview0 (0) »

Loading

Kubernetes: part 4 – AWS EKS authentification, aws-iam-authenticator and AWS IAM
0 (0)

3 September 2019

Let’s proceed with our AWS Elastic Kubernetes Service, EKS. Previous parts: Kubernetes: part 1 – architecture and main components overview Kubernetes: part 2 – a cluster set up on AWS with AWS cloud-provider and AWS LoadBalancer Kubernetes: part 3 – AWS EKS overview and manual EKS cluster set up. In the previous – Kubernetes: part… Read More: Kubernetes: part 4 – AWS EKS authentification, aws-iam-authenticator and AWS… »

Loading

SonarQube: solving “Unrecoverable indexation failures” and Elasticsearch “Disk watermark exceeded” errors
0 (0)

29 August 2019

We are using SonarQube started from a Jenkins jobs. See more at SonarQube: running tests from Jenkins Pipeline in Docker. So, the SonarQube is started from the Jenkins – all good here, but inside SonarQube we can see errors: java.lang.IllegalStateException: Unrecoverable indexation failures: 1 errors among 1 requests at org.sonar.server.es.IndexingListener$1.onFinish(IndexingListener.java:39) at org.sonar.server.es.BulkIndexer.stop(BulkIndexer.java:122) … And host… Read More: SonarQube: solving “Unrecoverable indexation failures” and Elasticsearch “Disk watermark exceeded”… »

Loading

Redis: fork – Cannot allocate memory, Linux, virtual memory and vm.overcommit_memory
0 (0)

28 August 2019

Currently, I’m configuring a Redis as a caching service for our application and during that, I faced with the question: do I need to set vm.overcommit_memory to the value 1, i.e. disable it – or not? The question is quite old for me, see The story, but only now I found time to get to… Read More: Redis: fork – Cannot allocate memory, Linux, virtual memory and… »

Loading

AWS: CloudCraft – an existing infrastructure’s map generator
0 (0)

21 August 2019

I’m using CloudCraft service for a while – really handy. A couple of days ago I got a full subscription with all its features (first two weeks are free, by the way) among which I’d like to try an ability to create a map of an existing AWS account with all its resources and their… Read More: AWS: CloudCraft – an existing infrastructure’s map generator0 (0) »

Loading