- Edit the gp2 storage class to add
allowVolumeExpansion: true
- Edit the persistent volume claim with the new amount of required storage
- Re-create the pod using the persistent volume claim
- The pv and pvc should now reflect the new amount of storage
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
TZ=":Etc/UTC" aws s3 ls s3://BUCKET/ |
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 cognito-idp admin-create-user --user-pool-id eu-west-3_POOLID --username [email protected] --message-action RESEND |
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
curl -IX GET --connect-to oldhost:443:newhost:443 https://oldhost |
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 rds describe-db-cluster-parameters \ | |
--db-cluster-parameter-group-name $PARAMETER_GROUP_NAME \ | |
--query 'Parameters[].{ParameterName:ParameterName,DataType:DataType,Source:Source,Description:Description,ParameterValue:ParameterValue} | [?Source == `user`]' |
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
#!/bin/bash | |
# Compare parameters from two different parameter groups, which can be in different regions or accounts | |
PROFILE1=$1 | |
PG1=$2 | |
PROFILE2=$3 | |
PG2=$4 | |
aws --profile $PROFILE1 rds describe-db-cluster-parameters --db-cluster-parameter-group-name $PG1 --query 'Parameters[].{ParameterName:ParameterName,ParameterValue:ParameterValue}' --output text | sort >> $$-pg1.txt |
OlderNewer