• About
  • Blog
    • Tech
    • Travel
  • LinkedIn
  • GitHub
alvinyeoh.com Add SWAP to Instance
0Shares
0 0 0
alvinyeoh.com
  • About
  • Blog
    • Tech
    • Travel
  • LinkedIn
  • GitHub
Tech

Add SWAP to Instance

Alvin 17 October 2020 0

Reference: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-store-swap-volumes.html

Summary

lsblk

sudo swapon /dev/xvda3

Add to fstab

sudo blkid

sudo vi /etc/fstab

/dev/xvdb none swap sw 0 0
 


Tags aws
Share This
0 0 0
Latest Posts
  • Tech
    Migrating data directory of MariaDB to another disk
    Alvin 17 October 2020
  • Tech
    AWS Linux AMI 2 Extra Libraries
    Alvin 17 October 2020
  • Tech
    Add SWAP to Instance
    Alvin 17 October 2020
  • Tech
    Mounting EBS on EC2
    Alvin 17 October 2020
  • Tech
    MariaDB Master Slave / Replica Setup
    Alvin 17 October 2020
  • About
  • Blog
  • LinkedIn
  • GitHub

© 2017 alvinyeoh.com All RIGHTS RESERVED.