Find out what OS you are running (where this is not shown in AWS Console or via the AMI) Unix: cat /etc/os-release
Policy Created: EC2_Memory_Profiling_Policy Role created: EC2_Memory_Profiling_Role
https://netflixtechblog.com/introducing-lemur-ceae8830f621 |
#RDS Secret Creation | |
aws secretsmanager create-secret --name "name-of-secret" --description "description-of-secret" --secret-string "{\"username\":\"db-username\",\"password\":\"db-password\",\"engine\":\"db-engine\",\"host\":\"db-host\",\"port\":db-port-number,\"dbClusterIdentifier\":\"db-cluster-id\"}" | |
# Generic Secrets Creation | |
aws secretsmanager create-secret --name "name-of-secret" --description "description-of-secret" --secret-string "{\"username\":\"username”\",\"password\":\"password\"}" |
sudo sysctl debug.lowpri_throttle_enabled=0 |
aws ec2 modify-instance-attribute --instance-id i-0f405d23fd4e77d57 --ena-support --region eu-west-1 |
git commit -a -m "Removing idea" |
aws iam list-virtual-mfa-devices | |
aws iam delete-virtual-mfa-device --serial-number <arn_of_iam_mfa_from_previous_command> |
Adapted from this great article
sudo pip install pipenv
pipenv install django==3.0.3 gunicorn --python 3.8.1
python manage.py runserver