Author Archives: setevoy

Debian: logrotate won’t rotate logs with an “unknown group ‘syslog'” error
0 (0)

9 October 2019

We have an AWS EC2 with Debian and logrotate. One day its root partition was exhausted and when I started investigating it – found, that we have a bunch of files like /var/log/syslog.N.gz. At the same time by default logrotate creates a config file to rotate syslog log files: [simterm] root@monitoring-dev:~# cat /etc/logrotate.d/syslog # Ansible… Read More: Debian: logrotate won’t rotate logs with an “unknown group ‘syslog'”… »

Loading

Okta: the Custom domain and TLS configuration
0 (0)

4 October 2019

You can use your own domain configured for Okta. The one thing worth to mention here is the fact that Okta’s official plugin doesn’t work with a Custom domain feature so you’ll have to use Okta’s URL for the plugin authentification, see the  documentation for details. Custom domain configuration Go to the Settings > Customization:… Read More: Okta: the Custom domain and TLS configuration0 (0) »

Loading

Jenkins: Docker Compose deployment from Ansible with ECR authentication
0 (0)

26 September 2019

In addition to the AWS: create an Elastic Container Registry and Jenkins deploy job post – the next part, where we will create a new Jenkins job to deploy a Docker Compose file to run our Docker image. Docker Compose file will be updated by an Ansible role called docker-deploy, which will set the desired… Read More: Jenkins: Docker Compose deployment from Ansible with ECR authentication0 (0) »

Loading

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