CmdID / aws / aws redshift
aws redshift reboot-cluster
Reboots a cluster. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To reboot a cluster
The following reboot-cluster example reboots a cluster. By default, the output is in JSON format.
aws redshift reboot-cluster --cluster-identifier myclusterIdentify--cluster-identifierThe cluster identifier.Its output, shortened
{
"Cluster": {
"NodeType": "dw.hs1.xlarge",
"Endpoint": {
"Port": 5439,
"Address": "mycluster.coqoarplqhsn.us-west-2.redshift.amazonaws.com"
},
"ClusterVersion": "1.0",
"PubliclyAccessible": true,
"MasterUsername": "adminuser",
"ClusterParameterGroups": [
{
"ParameterApplyStatus": "in-sync",
"ParameterGroupName": "default.redshift-1.0"
}
],
"ClusterSecurityGroups": [
{
"Status": "active",
"ClusterSecurityGroupName": "default"
}
],
"AllowVersionUpgrade": true,
"VpcSecurityGroups": [],
"AvailabilityZone": "us-west-2a",
"ClusterCreateTime": "2013-01-22T21:59:29.559Z",
"PreferredMaintenanceWindow": "sun:23:15-mon:03:15",
"AutomatedSnapshotRetentionPeriod": 1,
"ClusterStatus": "rebooting",
"ClusterIdentifier": "mycluster",
… 5 more linesFor more information, see Rebooting a cluster in the Amazon Redshift Management Guide.
Options
--cluster-identifierThe cluster identifier.