In order to mount an S3 Bucket as a file system, you need to install s3fs Create a directory to mount: And add the following to "/etc/fstab": Where: "artem-service-bucket:/upload/" – S3 bucket name and the directory inside the bucket to mount "url=https://s3.eu-central-1.amazonaws.com,endpoint=eu-central-1" – the region where the S3 bucket is located "iam_role" – …
Continue reading " S3 – Mounting in Linux"
It is necessary to extract the login and password from RDS, which are stored in AWS Secret Manager and use their values in the Terraform code. To do this, you can use the following construction: And use variables:
The SSM Parameter Store contains the following JSON: It is necessary to extract the login and password, and use their values in the Terraform code. To do this, you can use the following construction: And use variables:
In order to exclude a specific range or IP address, you need to add the parameter "net_gateway". For example, it is necessary that the network "10.0.0.0/8" is routed through the VPN, but at the same time the network "10.0.1.0/24" is excluded from the route, the entry in the configuration file will look like this: …
Continue reading " OpenVPN – Exclude specific IPs or networks from routes"
In order to convert an existing private key to PEM format, just do the following:
When trying to upgrade "Jenkins" on CentOS 7, the following error may occur: Public key for jenkins-2.289.3-1.1.noarch.rpm is not installed To fix it, just import the repository key:
Similar error: /etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /run/resolvconf/resolv.conf It may indicate that the symbolic link "/etc/resolv.conf" is missing, in order to fix this, you can create it manually: Alternatively, run a "resolvconf" reconfiguration using the following command: