This file contains hidden or 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
[prod] | |
credential_process = python /Users/test/aws_cli_saml_ping_v2/authenticate.py --credential-process --username test --role arn:aws:iam:::role/Read |
- Single-master cluster
- 1 write and 1 read/replica node
- Write node r5.8xlarge instance
- Replica/Read node r5.8xlarge instance
- Engine version: 5.7.mysql_aurora.2.07.5 (LTS)
- Replica/Reader node in different AZ - Fast failover and high availability
- Subnet groups - private subnets in different AZs
- RDS Data API
- Event Subscriptions
- Maintenance Window
[1] Create Ubuntu Pod
cat <<EOF | kubectl apply -f -
apiVersion: v1
kind: Pod
metadata:
name: ubuntu
labels:
app: ubuntu
[1] Add this Dockerfile
FROM python:alpine
ARG CLI_VERSION=1.18.188
RUN apk -uv add --no-cache groff jq less mysql-client && \
pip install --no-cache-dir awscli==$CLI_VERSION
This file contains hidden or 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
aws ecr describe-repositories --output text | | |
awk '{print $6}' | | |
while read line; do | |
if [[ $line == *"api"* ]]; then | |
aws ecr list-images --repository-name $line --query 'imageIds[*]' --output text | |
fi | | |
while read imageDigest imageTag; do | |
aws ecr batch-delete-image --repository-name $line --image-ids imageDigest=$imageDigest; | |
done; | |
done |
This file contains hidden or 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 groovy | |
final List<String> environments = Env.values().collect() { it.name() } | |
pipeline { | |
agent { | |
label any | |
} | |
parameters { |
This file contains hidden or 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
wtf: | |
colors: | |
border: | |
focusable: darkslateblue | |
focused: orange | |
normal: gray | |
grid: | |
columns: [32, 32, 32, 32, 90] | |
rows: [10, 10, 10, 4, 4, 90] | |
refreshInterval: 1 |
This file contains hidden or 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
<!DOCTYPE NETSCAPE-Bookmark-file-1> | |
<!-- This is an automatically generated file. | |
It will be read and overwritten. | |
DO NOT EDIT! --> | |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> | |
<TITLE>Bookmarks</TITLE> | |
<H1>Bookmarks</H1> | |
<DL><p> | |
<DT><H3 ADD_DATE="1578324816" LAST_MODIFIED="1644755499" PERSONAL_TOOLBAR_FOLDER="true">Bookmarks bar</H3> | |
<DL><p> |