- 12 Factor principles.
- Principles of Chaos Engineering covers experimenting on a deployment/system
to uncover systemic issues:
- Define a measurable "steady state".
- Expectation that "steady state" should continue in both control/test groups.
- Introduce "real world" events (crashes, connectivity failures, infrastructure failures,...).
- Disprove expectations.
- Confidence comes from extremes it takes to disprove the control vs test expectation,
- See:
- Verify your stateless/statefull cloud application/infrastructure deployments resilience by randomly nuking nodes.
Docker:
- Docker: Dockerfile reference.
- Github: garethr/multi-stage-build-example. See: Velocity: Advanced Docker image build patterns (Gareth Rushgrove, Docker).
Kubernetes:
- AWS CLI docker.
docker run --rm -it -v ~/.aws:/root/.aws amazon/aws-cli --color=on --profile=development-poweruser --region=us-east-1 ec2 describe-instances
AMI's are rapidly updated, so here are the commands to get back the latest Linux/Windows AMI paths, which can then be used to get the latest ID for a specific path:
# All latest Amazon Linux AMI's:
aws ssm get-parameters-by-path --path "/aws/service/ami-amazon-linux-latest" --region <region> --profile <profile>
# All latest Windows AMI's:
aws ssm get-parameters-by-path --path "/aws/service/ami-windows-latest" --region <region> --profile <profile>
-
Run PowerShell command and log to CloudWatch:
aws ssm send-command --instance-ids "<instance_id>" --profile <profile> --cloud-watch-output-config "CloudWatchLogGroupName=echotest,CloudWatchOutputEnabled=true" --document-name AWS-RunPowerShellScript --parameters commands="echo Hello World"
Link dump of things I need to INVESTIGATE or document further:
- GCloud: Pusing Docker images.
- GCloud: JSON Key Authentication.
- GCloud: Configuring Domain Names & Static IPs.
- Labels & Selectors.
- Github: CloudNativeWales/container.training.
- Google: SRE (Site Reliability Engineering) Handbook.
- NovemberFive: PyPI repo on AWS S3.
- Zipkin - Distributed tracing system to diagnose latency issues within microservice architectures.
- Loader.io - Free load tester for Web App API's.