Skip to content

Instantly share code, notes, and snippets.

View markphahn's full-sized avatar

Mark P. Hahn markphahn

View GitHub Profile
@markphahn
markphahn / aws-iam-sso.md
Last active September 7, 2023 15:17
AWS CLI and Access Key authentication

AWS CLI and Access Key authentication

Subtitle: don't use access keys, use session keys

Session keys are created on the command line and then flow, via environment (sort-a) to the commands you run.

Sessions keys are easily created with SSO via an AWS SSO Login:

aws sso login

RFC 1918 Subnets

https://www.rfc-editor.org/rfc/rfc1918

This gist covers how to break up rfc1918 subnets for use in cloud environments.

The rfc1918 subnets are:

rfc1918 subnet netmask prefix notation

Nice Cozy Windows Environment

Git rid of bloatware

  • Turn off Alexa
  • Turn off Cortana
  • Remove installed SW
    • McAfee (several)
    • Alexa
    • Facebook, Instagram, What's App

AWS and PowerShell

. . . in incredibly easy. AWS commands product json:

aws account get-contact-information

So it can be easily converted using standard PowerShell commandlets

$a = aws account get-contact-information

Phone Screen Overview

Phone Screens and Interview Questions

My notes on screening candidates for technology consulting roles.

Approach

Generally, I do not have a standard set of questions. I limit my screens to 30 minutes. I do build a short rubric of the skills I need to discuss (see below). My rough script

@markphahn
markphahn / SAFeAntiPattern.md
Last active November 10, 2021 19:06
Scaled Agile Framework is an Anti-Pattern

Scaled Agile Framework is an Anti-Pattern

October 21, 2020
2020 Pittsburgh PMI - PittAgile Gathering

Elevator pitch

The Scaled Agile frame work is one attempt to create a culture which supports DevOps, Lean Software and Agile methods to empower teams to

@markphahn
markphahn / AMI.md
Last active December 7, 2022 21:29

AWS AMI, Instance types, Load Balancers, VPC Setup

AWS Cli and jq for finding thing on AWS.

AMI

Finding AMIs via the cli

aws ec2 describe-images 
@markphahn
markphahn / AWS Login and IAM
Last active August 2, 2021 16:33
AWS Login and IAM (a bit)
https://awscli.amazonaws.com/v2/documentation/api/latest/index.html
aws --version
aws configure list-profiles
export AWS_PROFILE=user1
aws sts get-caller-identity
aws iam get-user
aws iam list-account-aliases
@markphahn
markphahn / A gist to get started
Last active August 23, 2021 22:10
A gist to get started. . .
A gist to get started. . .
https://gist.github.com/markphahn
https://gist.github.com/gauntletwizard
https://gitlab.com/users/markphahn/snippets