AWS re:Post을(를) 사용하면 다음에 동의하게 됩니다. AWS re:Post 이용 약관

Why can’t I modify my Amazon EC2 instance launch template?

2분 분량
0

I can’t modify the launch template for my Amazon Elastic Compute Cloud (Amazon EC2) instance. Or, I can’t see changes after I modified the launch template.

Short description

Launch templates are immutable. After you create a launch template, you can't modify it. Instead, you can create a new version of the launch template that includes any changes that you require. You can create different versions of a launch template, set the default version, describe a launch template version, and delete launch template versions.

Resolution

Note: If you receive errors when running AWS Command Line Interface (AWS CLI) commands, make sure that you're using the most recent AWS CLI version.

To modify the launch template for an Amazon EC2 instance, create a new version of the launch template. To do this, you can use either the AWS CLI or the Amazon EC2 console.

Resolve UnauthorizedOperation errors

After changing the launch template, you might receive an error similar to the following one:

"UnauthorizedOperation "You are not authorized to perform this operation. Encoded authorization failure message.""

The UnauthorizedOperation error indicates that you don't have the necessary permissions to modify the launch template. To resolve this error, see How can I decode an authorization failure message after receiving an "UnauthorizedOperation" error during an EC2 instance launch? To add the required permissions, see Work with launch templates.

Review the restrictions for modifying launch templates

There are a number of rules that apply to launch templates. Review the Launch template restrictions to make sure that your modifications follow these rules.

Check the version number of your launch template

When you create a launch template, make sure that you're using the default version for the launch template. If you don't use the default version, then your changes don't take effect.

AWS 공식
AWS 공식업데이트됨 일 년 전
댓글 없음

관련 콘텐츠