The table below lists the EC2 parameters. These values are set by adding them to the /etc/default/LifeKeeper configuration file. Because none of the components of the Recovery Kit for EC2 are memory resident, changes to these particular values become effective immediately after they are changed in /etc/default/LifeKeeper without requiring a LifeKeeper restart.
Parameter Name | Meaning | Setting Value | Default Value | Notes |
---|---|---|---|---|
EC2_RESTORE_TIMEOUT | Timeout for the resource restore, in seconds. | Integers | 300 | |
EC2_REMOVE_TIMEOUT | Timeout for the resource remove, in seconds. | Integers | 300 | |
EC2_RECOVER_TIMEOUT | Timeout for the local recovery, in seconds. | Integers | 300 | |
EC2_QUICKCHECK_TIMEOUT | Timeout for the quickCheck, in seconds. | Integers | 100 | |
EC2_AWS_REGION | Specifies the region where EC2 resources reside. | String | (not set) | |
IP_NOLINKCHECK | Disables the link check for the protected network interface. | 0: enabled 1: disabled |
0 | This value only applies when protecting an Elastic IP. |
IP_WAIT_LINKDOWN | Number of seconds to wait in between taking the protected network interface down and back up. A delay between these two actions is necessary in some environments. | Integers | 5 | As required This value only applies when protecting an Elastic IP. |
IP_MAX_LINKCHK | The maximum number of seconds to wait for the link to come back up after it has been repaired. In some environments, it may be necessary to increase this value. | Integers | 5 | This value only applies when protecting an Elastic IP. |
AWSCLI_CONNECT_TIMEOUT | The connection timeout value in seconds used when running “AWS” commands. It is specified via —cli-connect-timeout argument. | Integers | 10 | This is the same parameter as used in Route53. |
AWSCLI_READ_TIMEOUT | The read timeout value in seconds used when running “AWS” commands. It is specified via —cli-read-timeout argument. | Integers | 5 | This is the same parameter as used in Route53. |
HTTP_PROXY HTTPS_PROXY NO_PROXY |
Set these parameters when using a HTTP proxy for accessing the service endpoint.The value set here is passed to AWS CLI. Please refer to AWS Documentation for details. https://docs.aws.amazon.com/cli/latest/userguide/cli-http-proxy.html |
String | (not set) | This is the same parameter as used in Route53 and Quorum. |
EC2_NO_SRC_DEST_CHECK_QUICKCHECK | Checks whether the source/destination check is disabled during quickCheck and restore. During restore, performs operations according to the EC2_NO_SRC_DEST_CHECK setting. | 0: do not check 1: check |
1 (During a new installation, an environment variable definition is added with this value. If not specified, it is treated as 0) | This parameter is only applied when the route table is protected. |
EC2_NO_SRC_DEST_CHECK | Disable source/destination check settings in AWS. | 0: do not disable 1: Disable | 1 | This parameter is only applied when the route table is protected. |
AWS_IMDS_VERSION | Specifies the version of the Instance Metadata Service (IMDS) used by LifeKeeper to access instance metadata on the protected Amazon EC2 instance. In order to use IMDSv1 (AWS_IMDS_VERSION=1), IMDSv2 support must be set to "optional" for the protected Amazon EC2 instance. If IMDSv2 support is set to "required", then this value must be set to 2. | 1 or 2 | 2 | If not specified, the default value is used. |
AWS_IMDS_TTL_SEC | Specifies the expiration time (in seconds) of the secret token when 2 is specified for AWS_IMDS_VERSION. | Integer value between 1-21600 | 120 | If not specified, the default value is used. |
Post your comment on this topic.