AWS
aws rds start-db-instance --db-instance-identifier
aws rds stop-db-instance --db-instance-identifier
Linux
--Run as postgresql linux user
pg_ctl start -D
--Run as postgresql linux user
pg_ctl stop -D
sudo systemctl start postgresql
sudo systemctl stop postgresql
Azure
az login
az postgres server stop --resource-group --name
az postgres server start --resource-group --name