AWS EC2 SWAP

# 4 GB
sudo dd if=/dev/zero of=/swapfile bs=128M count=32
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo swapon -s
# Start the swap file at System Startup
sudo nano /etc/fstab
/swapfile swap swap defaults 0 0
linkedin.com/in/sufian-qg/