Swapping out SSD

Is it possible to swap my 1TB SSD for a 4TB or higher SSD? I’m worried that I might lose the data. Would be great to just be able to add more storage instead of turning my node off to add more storage.