Create Ubuntu EC2 Instance on AWS

— Login to the AWS console — Under “AWS Management Console” –> “AWS Services” –> “Find Services” enter EC2 then click on search result “EC2: Virtual Servers in the Cloud”. — Click on “Instances” section then select “Instances” — Click on “Launch Instance” — Under search box type “Ubuntu” and then press enter. Choose your […]

Some useful MongoDB commands

Connection Connect to node Check connection status Check connection count group by IP address WiredTiger Check WT cache status Check WT available ticket status Replication Check replication members and their status Check replication lags of nodes Check oplog size and log length in hours Check replication configuration Failover to secondary/another node Freeze slave node from […]