Doesn't EC2 allow you to do this using a snapshot?
Yes, EC2 allows EBS snapshot. That's what I did restored the snapshot on a different instance the hostname changed because it's a different instance.
Ah, gotcha. Can you destroy the old instance then use a DNS entry to point the original name to the new server.
No, we can not destroy the old instance because we need both production instance and sandbox instance for upgrade testing, debugging issues.
AFAIK, you will definitely get issues if you use an installation with a different hostname... You will definitely need to reinstall.
The best to do is to create a backup, reinstall and restore.
Were you able to fix this issue? I am also following the same approach but in windows machine. I pushed the image in dev environment (EC2) now i get error which checking the tsm status "Could not connect to tsm controller"
Same problem here.
Someone has got it working without a backup-reinstall-restore?
At this time, making a backup and reinstalling tableau server is the only solution.
By changing the hostname, it could make Tableau Server in error state, because the configuration still use the previous hostname.
There is a feature request about that : https://community.tableau.com/ideas/10005
I have managed with the following steps:
0. backup (tsm + VM snapshot)
1. Deactivate Server Keys.
2. Snapshot restored, tsm stopped.
3. set the gateway to the new name:
tsm configuration set -k gateway.public.host -v newhostname
4. activate server keys
tsm license activate -k XXX-XXX-XXX-XXX
5. tsm pending-changes apply
6. tsm start
Tableau Server 2019.3 - Linux.