Skip to content

Amazon

Mostly related to the technological offerings of Amazon, not the shopping experience.

Kindle

AWS

"Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, resizable compute capacity in the cloud. It is designed to make web-scale cloud computing easier for developers." - https://aws.amazon.com/ec2/

Cloudformation

cloudformation has its own notes page.

Tips

Determine if you are on an EC2 instance

grep -i '^ec2' /sys/hypervisor/uuid

Reformat accessKeys.csv into .aws/credentials format

awk -F, 'BEGIN { print "[temp_name]" ; } !/Access/ {print "aws_access_key_id = "$1"\naws_secret_access_key = "$2}' ~/Downloads/accessKeys.csv

Force reset mfa credentials

https://github.com/broamski/aws-mfa

aws-mfa --device arn:aws:iam::$UID:mfa/$USER --force

Create eks cluster from cli

https://github.com/weaveworks/eksctl

eksctl create cluster

Get eks cluster config

# find your cluster name
aws eks list-clusters | jq -r '.clusters[]'

# configure the current KUBECONFIG for the given cluster
aws eks update-kubeconfig --name the_cluster_name

See Also