Skip to content

Instantly share code, notes, and snippets.

View vishalkhoje's full-sized avatar
💭
I may be slow to respond.

Vishal Khoje vishalkhoje

💭
I may be slow to respond.
View GitHub Profile
@vishalkhoje
vishalkhoje / info.md
Created June 14, 2018 07:30 — forked from arbabnazar/info.md
RDS Production termination protection

RDS Production Termination Protection

Create a policy like this, substituting your AWS account number, then attach it to all groups and roles. It will prevent deletion of RDS instances containing the string "prod" in their name.

Note: This is intended to prevent accidental deletion, and is easily sidestepped.

#Add the Ubuntu 12.04(precise) repositories
cat <<EOF >> /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu precise main restricted universe
deb http://archive.ubuntu.com/ubuntu precise-updates main restricted universe
deb http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse
EOF
# Update the repos
apt-get update