@DevOps News & Tutorials
@devopsblogposts
659
subscribers
35
photos
451
links
News and topics from the DevOps world. Feel free to share your devops blog posts, stories and opinions.
Download Telegram
Join
@DevOps News & Tutorials
659 subscribers
@DevOps News & Tutorials
https://devcoops.com/reload-shell-session/
DevCoops
How to reload shell session
In order to update and see changes made in the shell environment, most of the time reload is required. So, instead of restarting the machine and wasting a lot of time, a simple command will reload the bash, zsh, ksh or whatever shell you are using.
@DevOps News & Tutorials
https://devcoops.com/mtime-and-24-hour-period-simplified/
DevCoops
mtime timestamp and the 24h period cheatsheet
For those who might be questioning, mtime or short for modified timestamp, is a Linux file timestamp which usually goes hand in hand with the find command in the most common scenarios, including finding and removing files or backups older then n days. At…
@DevOps News & Tutorials
https://devcoops.com/install-certbot-on-amazon-linux-2/
DevCoops
How to install Certbot on Amazon Linux 2
Using AWS amazon linux 2 template for your EC2 instance is always a preferred way as an AWS-optimized and proprietary template. So if your web application requires an SSL/TLS certificate you can use the AWS certificate manager or the easiest and the quickest…
@DevOps News & Tutorials
https://devcoops.com/generate-random-password-from-cli/
DevCoops
How to generate random password from the CLI
There are a lot of ways to generate random passwords, starting from simple password generator sites found online to the most advanced password management solutions. Today’s topic will be focused on creating passwords from the CLI using quick and simple methods.
@DevOps News & Tutorials
https://devcoops.com/expose-vs-publish-ports-in-docker/
DevCoops
Expose vs Publish ports in Docker
The general idea for communication between microservices (whatever is HTTP, message or event-driven communication) is related to certain protocols and ports on which each microservice listens for incoming requests. Since Docker is the most popular choice…
@DevOps News & Tutorials
https://devcoops.com/terraform-refresh-only/
DevCoops
Refreshing Terraform state
Refreshing Terraform state is done by adding the -refresh-only flag (since terraform refresh is depricated) when running plan and apply operations. To start off, what does it mean and why are you getting stdout messsages telling you to add the -refresh-only…
@DevOps News & Tutorials
https://devcoops.com/check-log4j-vulnerability-in-jenkins/
DevCoops
How to check Apache Log4j vulnerability in Jenkins
There are a lot of open forums and discussions due to the Log4j zero-day flaw these days. Log4j is an open-source java-based library developed by Apache Software Foundation and it’s used for logging error messages. CVE-2021-44228 announced that there is a…
@DevOps News & Tutorials
https://devcoops.com/access-host-network-from-docker-container/
DevCoops
Access host network from inside of a Docker container
This might be a really weird or edge case scenario, but what If we need to access host service(s) from inside a Docker container. For instance, we already have configured and running a service on the dev host machine and kinda lazy to dockerize it.
@DevOps News & Tutorials
https://devcoops.com/protect-elk-stack-from-log4j-vulnerability/
DevCoops
Protect Elasticsearch stack from Apache Log4j vulnerability
As the Apache Log4j vulnerability is growing massively and its spread all over the internet a lot of worldwide companies are affected mostly on their Java-based applications. Elasticsearch among the others is highly affected by Log4j, the impact is still…
@DevOps News & Tutorials
https://devcoops.com/scan-docker-images-for-log4j2/
DevCoops
Scan Docker Images for Apache Log4j2 vulnerability
Docker Hub already announced public Log4jShell detection which is now live on Docker Official Images. But for those of you who are still using some of the old or custom images, there is a way to scan your Docker Images for Apache Log4j2 vulnerability. Let’s…
@DevOps News & Tutorials
https://devcoops.com/create-cname-on-root-domain/
DevCoops
How to create CNAME for root domain
Working as a cloud engineer you may ask yourself, is it possible to create a CNAME record for your root domain? The answer will be no for most of the hosting providers but that’s not the case for Cloudflare. Cloudflare figured out that working on cloud, you…
@DevOps News & Tutorials
https://devcoops.com/calculate-postgresql-configuration/
DevCoops
Calculate PostgreSQL configuration
Fine-tuning PostgreSQL requires a lot of experience and screw-ups along the way. Luckily, there is a configuration calculator available online made just for DevOps, SysOps and DB admins which could be quite handy.
@DevOps News & Tutorials
https://devcoops.com/docker-alias-podman/
DevCoops
Docker as an alias for Podman
There is a quick hack to get started with Podman if you are not familiar with the syntax though.
@DevOps News & Tutorials
https://devcoops.com/run-always-free-instances-oracle-cloud/
DevCoops
Run Always Free Instances in the Oracle Cloud
I wouldn’t place Oracle Cloud in my top 5 cloud providers list, and as we know the cloud isn’t cheap nor free, but it seems that Oracle are stepping up the competitive game by offering always free resources which not surprisingly comes up with a certain limitation.
@DevOps News & Tutorials
https://devcoops.com/redirect-http-to-https-in-nginx/
DevCoops
Redirect HTTP to HTTPS in Nginx
Nowadays almost every owner of a website wants to secure his site with an SSL certificate. Once that is achieved the second step is to redirect the whole HTTP traffic to HTTPS depending on your web server, which will fully secure the connection between the…
@DevOps News & Tutorials
https://devcoops.com/find-latest-deployment-template-schema-api-version/
DevCoops
How to find the latest Azure deployment template schema API version
Using the latest ARM templates schema API version is important only when provisioning new resources. In general, there is no need to keep up-to-date API version of the already deployed resources, unless it’s advised so by Azure. If it works, don’t fix it.…
@DevOps News & Tutorials
https://devcoops.com/redirect-http-to-https-in-nginx/
DevCoops
Redirect HTTP to HTTPS in Nginx
Nowadays almost every owner of a website wants to secure his site with an SSL certificate. Once that is achieved the second step is to redirect the whole HTTP traffic to HTTPS depending on your web server, which will fully secure the connection between the…
@DevOps News & Tutorials
https://devcoops.com/decrypt-aws-iam-user-login-profile-password-terraform/
DevCoops
Decrypt iam_user_login_profile password in Terraform
It’s almost always not a good idea to decrypt aws_iam_user_login_profile password to Terraform output since there are better approaches, which will not be covered in this topic today. But just for the sake of argument, roll up your sleeves and try to decrypt…
@DevOps News & Tutorials
https://devcoops.com/aws-associate-vpc-with-private-hosted-zone/
DevCoops
AWS Associate VPC with Private Hosted Zone
Working with multiple AWS accounts can lead to timeouts between the different account services. Behind the VPC peering and the routing table connection, a very important thing is to set hosted zone association if you want to reach some service from the other…
@DevOps News & Tutorials
https://devcoops.com/aws-alb-allow-source-ip-to-access-specific-url-path/
DevCoops
AWS How to allow source IP addresses to access specific URL path using an Application Load Balancer
Most likely, if you use ECS as your application orchestration service it will require some basic knowledge to manage Application Load Balancers short ALBs. Essentially managing the access of your application can be accomplished through the ALBs security group…
@DevOps News & Tutorials
https://devcoops.com/wordpress-change-domain-url-through-wp-cli/
DevCoops
Change WordPress Domain URL through WP-CLI
While migrating your WordPress site or syncing the production database with staging you need to change the domain URL from the database. Instead of crawling within the WP database, I will show you how to change WP domain URL through wp-cli which is a more…