Site Reliability Engineer with 10 years of experience in all things infra - from hardware on-prem to hyper-scale cloud, from air-gapped networks to edge networks, from mobile apps to embedded devices, from consumer-tech to mil-tech.
I enjoy diving deep into tech, building infra for compute systems, reading latest papers from USENIX, and helping engineers around me to do their best work.
I love open-source, and made contributions to various projects, such as confd
and others at https://github.com/okushchenko.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REGION = us-east-1 | |
STATEBUCKET = changeme | |
ENVIRONMENTS = prd stg qa dev | |
TF_ACTIONS = plan apply destroy | |
WORKDIR = $(shell pwd) | |
# Magic | |
G_P := $(subst $ ,|,$(ENVIRONMENTS)) | |
DEPLOYMENTS := $(shell find . -mindepth 2 -maxdepth 2 -type d | grep -E "$(G_P)" | sed -e 's/\.\///g') |
I hereby claim:
- I am okushchenko on github.
- I am okushchenko (https://keybase.io/okushchenko) on keybase.
- I have a public key ASBu0yRzBY_F9U6jPTf0yoX3oq__Ps-rJoYAr4wBOX2lLwo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import boto.ec2 | |
import csv | |
region = "us-east-1" | |
with open('../secrets/credentials.csv', 'rb') as csvfile: | |
reader = csv.DictReader(csvfile) | |
credentials = list(reader)[0] | |
aws_access_key_id = credentials['Access Key Id'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat > break.yml <<EOF | |
- ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA' | |
EOF | |
vim break.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
SHORTCUT="[Desktop Entry] | |
Name=Sublime Text 3 | |
Comment=Edit text files | |
Exec=/opt/sublime_text_3/sublime_text | |
Icon=/opt/sublime_text_3/Icon/128x128/sublime-text.png | |
Terminal=false | |
Type=Application | |
Encoding=UTF-8 | |
Categories=Utility;TextEditor;" |