Skip to content

Instantly share code, notes, and snippets.

View WillHoule's full-sized avatar

Will WillHoule

  • Amazon Web Services @aws
  • Herndon, Virginia
View GitHub Profile
@WillHoule
WillHoule / squid.conf
Last active February 25, 2020 19:33
squid proxy config
http_port 3128
# Amazon Linux 2 package repositories (test)
acl repo dstdomain amazonlinux.us-east-1.amazonaws.com
# Amazon Linux package repositories
acl repo dstdomain repo.us-east-1.amazonaws.com
acl repo dstdomain repo.us-east-2.amazonaws.com
acl repo dstdomain repo.us-west-1.amazonaws.com
acl repo dstdomain repo.us-west-2.amazonaws.com
@WillHoule
WillHoule / ekcstl_create_help
Created July 11, 2019 16:05
eksctl create cluster --help
Create a cluster
Usage: eksctl create cluster [flags]
General flags:
-n, --name string EKS cluster name (generated if unspecified, e.g. "adorable-painting-1562861079")
--tags stringToString A list of KV pairs used to tag the AWS resources (e.g. "Owner=John Doe,Team=Some Team") (default [])
-r, --region string AWS region
--zones strings (auto-select if unspecified)
--version string Kubernetes version (valid options: 1.10, 1.11, 1.12, 1.13) (default "1.13")
@WillHoule
WillHoule / els-copypasta.md
Last active July 11, 2019 16:31
Commands as they appear in the ELS presentation

Basic Docker Commands

docker pull httpd

docker images

docker run httpd

docker build -t my-website .

@WillHoule
WillHoule / Dockerfile
Created July 11, 2019 02:52
Example Dockerfile
FROM ubuntu:16.04
# Install dependencies
RUN apt-get update
RUN apt-get -y install apache2
# Install apache and write hello world message
RUN echo 'Hello World!' > /var/www/html/index.html
# Configure apache
@WillHoule
WillHoule / docker-snippets.md
Last active July 10, 2019 22:07
Docker command snippets
@WillHoule
WillHoule / els-workstation-commands.md
Last active July 11, 2019 17:05
Commands used for preparing the ELS Workstations AMI

Docker / EKS Environment Configuration


ELS Workstation

AMI IDs

N. Virginia / us-east-1: ami-0819d92eaea635917

@WillHoule
WillHoule / dynamic_aws_sg_access.sh
Created April 19, 2017 01:51 — forked from ProgrammingAce/dynamic_aws_sg_access.sh
Create/modify security group to allow port 22
#!/usr/bin/env bash
# MIT Licence applies, except if you modify this script you agree to the following terms:
# Don't use `set -e`, you're not an animal. Trap your errors.
# Don't use uppercase for variables that aren't inherited from the environment.
# Use 'echo -e' by default because science.
# Terminate lines with semicolons because voodoo.
# Quote your variable interpolations just about everywhere.
# This script takes the name of an AWS security group: