- 1984
- 12 MONKEYS
- 2001 A SPACE ODYSSEY
- A BEAUTIFUL MIND
- A CLOCKWORK ORANGE
- A TALE OF TWO SISTERS
- ADAPTATION
- AMERICAN PSYCHO
- ANNIHILATION
- ANTICHRIST
This file contains 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 | |
# The below is run as root user (or sudo user) and tested on Ubuntu Machine | |
export USER_NAME="<ENTER USER NAME HERE>" | |
# Create a User with restricted bash shell | |
useradd -s /bin/rbash -m "$USER_NAME" | |
mkdir /home/"$USER_NAME"/.ssh/ | |
cd /home/"$USER_NAME"/ | |
# Copy the pubkeys here and change permissions | |
cat "<AUTH_KEYS>" >> .ssh/authorized_keys |
This file contains 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 | |
export AWS_ACCOUNT_ID="<ENTER_ACCOUNT_ID>" | |
export AWS_DEFAULT_REGION="ap-south-1" | |
SNS_ARN="arn:aws:sns:ap-south-1:$AWS_ACCOUNT_ID:GetPublicIP" | |
PUBIPADDRESS="$(curl -s icanhazip.com)" | |
INST_NAME="$(aws ec2 describe-instances --filters Name=ip-address,Values="$PUBIPADDRESS" --query 'Reservations[*].Instances[*].Tags[?Key==`Name`].Value')" | |
aws sns publish \ |
-
Enable IAM Authentication in existing RDS using the link here: Enabling and Disabling IAM Database Authentication
-
Login to RDS with master username password.
mysql -h <RDS_ENDPOINT> --user <MASTER_USERNAME> --password
This file contains 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
====== | |
Videos | |
====== | |
DevOps | |
What is DevOps? by Rackspace - Really great introduction to DevOps | |
https://www.youtube.com/watch?v=_I94-tJlovg | |
Sanjeev Sharma series on DevOps (great repetition to really get the DevOps concept) |
NewerOlder