Closed slynch401k closed 5 years ago
How do I downgrade from small to micro? I saw this but I do not know how to change a running implementation.
To use t2.micro (free tier) you can add this to the UserData as workaround:
... /usr/bin/fallocate -l 1G /swapfile && /bin/chmod 600 /swapfile && /sbin/mkswap /swapfile && /sbin/swapon /swapfile
How do I downgrade from small to micro? I saw this but I do not know how to change a running implementation.
To use t2.micro (free tier) you can add this to the UserData as workaround:
!/bin/bash -x
... /usr/bin/fallocate -l 1G /swapfile && /bin/chmod 600 /swapfile && /sbin/mkswap /swapfile && /sbin/swapon /swapfile