A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-configuration-recovery.html below:

Configure simplified automatic recovery on an Amazon EC2 instance

Configure simplified automatic recovery on an Amazon EC2 instance

Important

This section describes how to proactively configure recovery mechanisms on an EC2 instance. These recovery mechanisms are designed to restore instance availability when AWS detects an underlying hardware or software issue that causes a system status check to fail. If you are currently experiencing problems accessing your instance, see Troubleshoot EC2 instances.

If AWS detects that an instance is unavailable due to an underlying hardware or software issue, simplified automatic recovery can automatically restore instance availability by moving the instance from the host with the underlying issue to a different host.

If simplified automatic recovery occurs, AWS sends one of the following events to your AWS Health Dashboard, depending on the outcome:

To be notified of these events, you can configure notifications. For more information, see Creating your first notification configuration in AWS User Notifications in the AWS User Notifications User Guide. You can also use Amazon EventBridge rules to monitor simplified automatic recovery events.

Simplified automatic recovery is enabled by default on all supported instances during instance launch. However, it can only operate if an instance is in the running state, there are no service events listed in the AWS Health Dashboard, and there is available capacity for the instance type. In some situations, such as significant outages, capacity constraints might cause recovery attempts to fail. For more information, see Troubleshoot simplified automatic recovery failures.

You can disable simplified automatic recovery during or after launch, and re-enable it later if required.

Warning

When AWS recovers your instance due to an underlying hardware or software issue, be aware of the following consequences: data stored in volatile memory (RAM) will be lost and the operating system’s uptime will start over from zero. To help protect against data loss, we recommend that you regularly create backups of valuable data. For more information about backup and recovery best practices for EC2 instances, see Best practices for Amazon EC2.

Automatic instance recovery mechanisms are designed for individual instances. For guidance on building a resilient system, see Build a resilient system.

Requirements for enabling simplified automatic recovery

Simplified automatic recovery can be enabled on instances that meet the following criteria:

Instance types
Tenancy

For more information, see Amazon EC2 Dedicated Instances.

Limitations

Simplified automatic recovery is not supported for instances with the following characteristics:

Configure simplified automatic recovery

Simplified automatic recovery is enabled by default when you launch a supported instance. You can set the automatic recovery behavior to disabled during or after launching the instance.

The default configuration doesn't enable simplified automatic recovery for an unsupported instance.

Console
To disable simplified automatic recovery at launch
  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. In the navigation pane, choose Instances, and then choose Launch instance.

  3. In the Advanced details section, for Instance auto-recovery, choose Disabled.

  4. Configure the remaining instance launch settings as needed and then launch the instance.

To disable simplified automatic recovery after launch
  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. In the navigation pane, choose Instances.

  3. Select the instance, and then choose Actions, Instance settings, Change auto-recovery behavior.

  4. Choose Off, and then choose Save.

To enable simplified automatic recovery after launch
  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. In the navigation pane, choose Instances.

  3. Select the instance, and then choose Actions, Instance settings, Change auto-recovery behavior.

  4. Choose Default (On), and then choose Save.

AWS CLI
To disable simplified automatic recovery at launch

Use the run-instances command with the --maintenance-options option.

--maintenance-options AutoRecovery=Disabled
To disable simplified automatic recovery after launch

Use the modify-instance-maintenance-options command.

aws ec2 modify-instance-maintenance-options \
    --instance-id i-1234567890abcdef0 \
    --auto-recovery disabled
To enable simplified automatic recovery after launch

Use the modify-instance-maintenance-options command.

aws ec2 modify-instance-maintenance-options \
    --instance-id i-1234567890abcdef0 \
    --auto-recovery default
PowerShell
To disable simplified automatic recovery at launch

Use the New-EC2Instance cmdlet.

-MaintenanceOptions_AutoRecovery Disabled
To disable simplified automatic recovery after launch

Use the Edit-EC2InstanceMaintenanceOption cmdlet.

Edit-EC2InstanceMaintenanceOption `
    -InstanceId i-1234567890abcdef0 `
    -AutoRecovery Disabled
To enable simplified automatic recovery after launch

Use the Edit-EC2InstanceMaintenanceOption cmdlet.

Edit-EC2InstanceMaintenanceOption `
    -InstanceId i-1234567890abcdef0 `
    -AutoRecovery Enabled
Troubleshoot simplified automatic recovery failures

If simplified automatic recovery fails to recover your instance, consider the following issues:

If the instance’s system status check failure persists despite multiple recovery attempts, see Troubleshoot instances with failed status checks for additional guidance.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4