Skip to content

Instantly share code, notes, and snippets.

@karmiclychee
Created February 23, 2021 00:21
Show Gist options
  • Save karmiclychee/9a6243ffd7e032611b0d4edca61ee246 to your computer and use it in GitHub Desktop.
Save karmiclychee/9a6243ffd7e032611b0d4edca61ee246 to your computer and use it in GitHub Desktop.
EC2 Mongo/Redis Setup Sequence
wget -qO - https://www.mongodb.org/static/pgp/server-4.0.asc | sudo apt-key add -'
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list'
wget https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem'
sudo apt update'
sudo apt install -y mongodb-org=4.0.21 mongodb-org-server=4.0.21 mongodb-org-shell=4.0.21 mongodb-org-mongos=4.0.21 mongodb-org-tools=4.0.21'
sudo apt install -y redis'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment