Skip to content
Main Menu
  • Home
  • Blog
  • Contact

DevOps Fu

Tips and Tricks for DevOps Engineers

  • Home
  • Blog
  • Contact

Year: 2019

  • Home
  • 2019

What is the VPC flow log format?

November 26, 2019March 10, 2020 Fabrice

When you enable VPC flow logs, records will be created in CloudWatch Logs (or S3 if you choose so, but CloudWatch Logs is definitely better for debugging). There will be one log stream per network interface, and the format of… Read More

AWSVPC

What is the best git workflow?

June 2, 2019March 10, 2020 Fabrice

Many people have different opinions on this subject. The best according to me is to have a master branch which contain only deployable commits. Every commit on the master branch could potentially be deployed. Every time you need to add… Read More

Git

How to mount a LUKS encrypted drive on Ubuntu running as a Guest OS of VirtualBox on Mac?

May 23, 2019 Fabrice

Insert the encrypted device in your Mac. It will tell you it can’t use it and would invite you to initialize it. Just click “Ignore”. Run the disk utility to identify what disk is your encrypted device (probably it will… Read More

SysadminMacOS, Ubuntu, VirtualBox

A useful ps command

May 10, 2019 Fabrice

$ sudo ps -eH -o user,pid,ppid,state,pcpu,pmem,vsize,start_time,time,nlwp,cmd

Sysadmin

How to setup MFA on AWS using only the command line?

May 7, 2019 Fabrice

You obviously need to have the credentials to perform IAM operations (either you have the access key and secret key of a such a user, or you can SSH to an EC2 instance whose role allow that, etc.) Also, this… Read More

AWS

How to install the latest version of AWS command line tool on Ubuntu?

May 6, 2019May 7, 2019 Fabrice

Follow the steps: $ sudo apt update $ sudo apt install python python-pip $ sudo pip install awscli This will install a reasonably recent version of awscli, at least more recent than installing directly with `$ sudo apt install awscli`.… Read More

AWS, Sysadmin

How to get the current git commit?

April 24, 2019 Fabrice

Do this: $ git rev-parse HEAD This gives you the full commit id, for the short id, run this: $ git rev-parse –short HEAD I work as a freelancer, so if you don’t want to do that kind of things… Read More

Developmentgit

How to create a Let’s Encrypt SSL certificate using DNS challenge?

April 23, 2019 Fabrice

First of all, register the domain name if not done already. Then run the steps: $ sudo certbot -d YOUR.DOMAIN.COM –manual –preferred-challenges dns certonly When prompted, create the required TXT record with your DNS provider and press enter in certbot.

SysadminCertbot, SSL

How to link Atom and GitHub

April 6, 2019April 6, 2019 Fabrice

Follow the steps: Start Atom Select menu item `View -> Toggle Command Palette` Search for “clone” Select “GitHub: Clone” Enter the URL of the GitHub project you want to clone Click “Clone” To know the URL to use, go to… Read More

Development

How to create a virtual environment in Python3?

March 29, 2019 Fabrice

Install whatever Python3 package you want for your OS, along with pip. For example for Ubuntu: $ sudo apt update $ sudo apt install python3.7 python3-pip Go into a directory you want to use as a base and run the… Read More

DevelopmentPython

Posts navigation

1 2 Next

Recent Posts

  • How to test that a service account has access to a certain resource in Kubernetes?
  • How to persist variables in a loop from a find command in Bash?
  • How to iterate an array in Bash?
  • How to trim leading and trailing characters in Bash?
  • How to install jq on CentOS?

Categories

  • Automation
  • AWS
  • Bash
  • CentOS
  • Containers
  • Cryptography
  • Database
  • Development
  • Docker
  • Git
  • Kubernetes
  • Linux
  • Python
  • Sysadmin
  • Virtualization

Archives

  • March 2021
  • December 2020
  • October 2020
  • August 2020
  • July 2020
  • June 2020
  • April 2020
  • March 2020
  • February 2020
  • November 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
Copyright © 2018-2019 Fabrice Triboix
Best Business by Axle Themes