Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to enable instance recovery on Terraform created instances #5390

Closed
stonith opened this issue Mar 1, 2016 · 2 comments
Closed

Unable to enable instance recovery on Terraform created instances #5390

stonith opened this issue Mar 1, 2016 · 2 comments

Comments

@stonith
Copy link

stonith commented Mar 1, 2016

When Terraform creates instances, instance recovery is not available as an option in Cloudwatch. I was able to track this down to a bug in the AWS API. AWS is looking to fix this on their end however it's probably going to take some time as it may break functionality.

If you specify ephemeral storage via the API on an instance type that doesn't support ephemeral storage ie. C4, T2, etc. the block devices are created in AWS's system but not visible to the user in the instance OS, AWS Console, or API. I had to have a support person confirm that they saw the block devices on their end. As per the Instance Recovery documentation: "Currently, the recover action is not supported for... instances launched with block device mappings for instance store volumes." which means the invisible block devices end up blocking the instance recovery option.

Steps to Reproduce:

  • create an instance that supports instance recovery ie. T2, C4, etc with Terraform (or AWS API AND specify ephemeral storage)
  • attempt to enable instance recovery on the instance by creating a Cloudwatch alarm with the instance recovery action

Comparions

  • create same instance via AWS Web Console and enable instance recovery
  • create same instance via AWS API WITHOUT specifying ephemeral storage and enable instance recovery
@jen20
Copy link
Contributor

jen20 commented Mar 3, 2016

Hi @stonith! Thanks for opening the issue. I'm going to merge this into #5388 (as it is marginally older), which I think is referencing the same thing. It looks like this should be fixable.

@jen20 jen20 closed this as completed Mar 3, 2016
timonwong added a commit to timonwong/terraform that referenced this issue Dec 6, 2016
Fixes hashicorp#8455, hashicorp#5390

This add a new `no_device` attribute to `ephemeral_block_device` block,
which allows users omit ephemeral devices from AMI's predefined block
device mappings, which is useful for EBS-only instance types.
timonwong added a commit to timonwong/terraform that referenced this issue Dec 6, 2016
Fixes hashicorp#8455, hashicorp#5390

This add a new `no_device` attribute to `ephemeral_block_device` block,
which allows users omit ephemeral devices from AMI's predefined block
device mappings, which is useful for EBS-only instance types.
timonwong added a commit to timonwong/terraform that referenced this issue Dec 6, 2016
Fixes hashicorp#8455, hashicorp#5390

This add a new `no_device` attribute to `ephemeral_block_device` block,
which allows users omit ephemeral devices from AMI's predefined block
device mappings, which is useful for EBS-only instance types.
timonwong added a commit to timonwong/terraform that referenced this issue Dec 6, 2016
Fixes hashicorp#8455, hashicorp#5390

This add a new `no_device` attribute to `ephemeral_block_device` block,
which allows users omit ephemeral devices from AMI's predefined block
device mappings, which is useful for EBS-only instance types.
timonwong added a commit to timonwong/terraform that referenced this issue Dec 6, 2016
Fixes hashicorp#8455, hashicorp#5390

This add a new `no_device` attribute to `ephemeral_block_device` block,
which allows users omit ephemeral devices from AMI's predefined block
device mappings, which is useful for EBS-only instance types.
timonwong added a commit to timonwong/terraform that referenced this issue Dec 6, 2016
Fixes hashicorp#8455, hashicorp#5390

This add a new `no_device` attribute to `ephemeral_block_device` block,
which allows users omit ephemeral devices from AMI's predefined block
device mappings, which is useful for EBS-only instance types.
timonwong added a commit to timonwong/terraform that referenced this issue Dec 6, 2016
Fixes hashicorp#8455, hashicorp#5390

This add a new `no_device` attribute to `ephemeral_block_device` block,
which allows users omit ephemeral devices from AMI's predefined block
device mappings, which is useful for EBS-only instance types.
timonwong added a commit to timonwong/terraform that referenced this issue Dec 6, 2016
Fixes hashicorp#8455, hashicorp#5390

This add a new `no_device` attribute to `ephemeral_block_device` block,
which allows users omit ephemeral devices from AMI's predefined block
device mappings, which is useful for EBS-only instance types.
timonwong added a commit to timonwong/terraform that referenced this issue Dec 6, 2016
Fixes hashicorp#8455, hashicorp#5390

This add a new `no_device` attribute to `ephemeral_block_device` block,
which allows users omit ephemeral devices from AMI's predefined block
device mappings, which is useful for EBS-only instance types.
timonwong added a commit to timonwong/terraform that referenced this issue Dec 6, 2016
Fixes hashicorp#8455, hashicorp#5390

This add a new `no_device` attribute to `ephemeral_block_device` block,
which allows users omit ephemeral devices from AMI's predefined block
device mappings, which is useful for EBS-only instance types.
timonwong added a commit to timonwong/terraform that referenced this issue Dec 6, 2016
Fixes hashicorp#8455, hashicorp#5390

This add a new `no_device` attribute to `ephemeral_block_device` block,
which allows users omit ephemeral devices from AMI's predefined block
device mappings, which is useful for EBS-only instance types.
timonwong added a commit to timonwong/terraform that referenced this issue Dec 6, 2016
Fixes hashicorp#8455, hashicorp#5390

This add a new `no_device` attribute to `ephemeral_block_device` block,
which allows users omit ephemeral devices from AMI's predefined block
device mappings, which is useful for EBS-only instance types.
timonwong added a commit to timonwong/terraform that referenced this issue Dec 6, 2016
Fixes hashicorp#8455, hashicorp#5390

This add a new `no_device` attribute to `ephemeral_block_device` block,
which allows users omit ephemeral devices from AMI's predefined block
device mappings, which is useful for EBS-only instance types.
timonwong added a commit to timonwong/terraform that referenced this issue Dec 6, 2016
Fixes hashicorp#8455, hashicorp#5390

This add a new `no_device` attribute to `ephemeral_block_device` block,
which allows users omit ephemeral devices from AMI's predefined block
device mappings, which is useful for EBS-only instance types.
timonwong added a commit to timonwong/terraform that referenced this issue Dec 7, 2016
Fixes hashicorp#8455, hashicorp#5390

This add a new `no_device` attribute to `ephemeral_block_device` block,
which allows users omit ephemeral devices from AMI's predefined block
device mappings, which is useful for EBS-only instance types.
timonwong added a commit to timonwong/terraform that referenced this issue Dec 7, 2016
Fixes hashicorp#8455, hashicorp#5390

This add a new `no_device` attribute to `ephemeral_block_device` block,
which allows users omit ephemeral devices from AMI's predefined block
device mappings, which is useful for EBS-only instance types.
stack72 pushed a commit that referenced this issue Dec 8, 2016
)

Fixes #8455, #5390

This add a new `no_device` attribute to `ephemeral_block_device` block,
which allows users omit ephemeral devices from AMI's predefined block
device mappings, which is useful for EBS-only instance types.
@ghost
Copy link

ghost commented Apr 19, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants