选择您的 Cookie 首选项

我们使用必要 Cookie 和类似工具提供我们的网站和服务。我们使用性能 Cookie 收集匿名统计数据,以便我们可以了解客户如何使用我们的网站并进行改进。必要 Cookie 无法停用,但您可以单击“自定义”或“拒绝”来拒绝性能 Cookie。

如果您同意,AWS 和经批准的第三方还将使用 Cookie 提供有用的网站功能、记住您的首选项并显示相关内容,包括相关广告。要接受或拒绝所有非必要 Cookie,请单击“接受”或“拒绝”。要做出更详细的选择,请单击“自定义”。

EC2 IAM instance profile

聚焦模式
EC2 IAM instance profile - AMS Advanced User Guide
此页面尚未翻译为您的语言。 请求翻译

An instance profile is a container for an IAM role that you can use to pass role information to an EC2 instance when the instance starts.

MALZ

There are two AMS default instance profiles, customer-mc-ec2-instance-profile and customer-mc-ec2-instance-profile-s3. These instance profiles provide the permissions described in the following table.

Policy descriptions
Profile Policies

customer-mc-ec2-instance-profile

AmazonSSMManagedInstanceCore: Allows Ec2 instances to use the SSM agent.

AMSInstanceProfileLoggingPolicy: Allows Ec2 instances to push logs to S3 and CloudWatch.

AMSInstanceProfileManagementPolicy: Allows Ec2 instances to perform booting actions, like joining Active Directory.

AMSInstanceProfileMonitoringPolicy: Allows Ec2 instances to report findings to AMS monitoring services.

AMSInstanceProfilePatchPolicy: Allows Ec2 instances to receive patches.

customer-mc-ec2-instance-profile-s3

AMSInstanceProfileBYOEPSPolicy: Allows Ec2 instances to use AMS bring your own EPS.

AMSInstanceProfileLoggingPolicy: Allows Ec2 instances to push logs to S3 and CloudWatch.

AMSInstanceProfileManagementPolicy: Allows Ec2 instances to perform booting actions, like joining Active Directory.

AMSInstanceProfileMonitoringPolicy: Allows Ec2 instances to report findings to AMS monitoring services.

AMSInstanceProfilePatchPolicy: Allows Ec2 instances to receive patches.

AMSInstanceProfileS3WritePolicy: Allows Ec2 instances to read/write to customer S3 buckets.

SALZ

There is one AMS default instance profile, customer-mc-ec2-instance-profile, that grants permissions from the IAM instance policy customer_ec2_instance_profile_policy. This instance profile provides the permissions described in the following table. The profile grants permissions to the applications running on the instance, not to users logging into the instance.

Policies often include multiple statements, where each statement grants permissions to a different set of resources or grants permissions under a specific condition.

CW = CloudWatch. ARN = Amazon Resource Name. * = wildcard (any).

EC2 default IAM instance profile permissions

CW = CloudWatch. ARN = Amazon Resource Name. * = wildcard (any).

Policy statement Effect Actions Description and resource (ARN)

Amazon Elastic Compute Cloud (Amazon EC2)

EC2 Message Actions

Allow

AcknowledgeMessage,

DeleteMessage,

FailMessage,

GetEndpoint,

GetMessages,

SendReply

Allows EC2 Systems Manager messaging actions in your account.

Ec2 Describe

Allow

* (All)

Allows the console to display configuration details of an EC2 in your account.

Iam Get Role ID

Allow

GetRole

Allows EC2 to get your IAM ID from aws:iam::*:role/customer-* and aws:iam::*:role/customer_*.

Instance To Upload Log Events

Allow

Create Log Group

Allows logs to be created in: aws:logs:*:*:log-group:i-*

Create Log Stream

Allows logs to be streamed to: aws:logs:*:*:log-group:i-*

CW For MMS

Allow

DescribeAlarms,

PutMetricAlarm,

PutMetricData

Allows CloudWatch to retrieve alarms in your account.

Allows CW to create or update an alarm and associate it with the specified metric.

Allows CW to publish metric data points to your account.

Ec2 Tags

Allow

CreateTags,

DescribeTags,

Allows tags to be added, overwritten, and described on the specified instances in your account.

Explicitly Deny CW Logs

Deny

DescribeLogStreams,

FilterLogEvents,

GetLogEvents

Disallows listing, filtering, or getting the log streams for: aws:logs:*:*:log-group:/mc/*

Amazon EC2 Simple Systems Manager (SSM)

SSM Actions

Allow

DescribeAssociation,

GetDocument,

ListAssociations,

UpdateAssociationStatus,

UpdateInstanceInformation

Allows a variety of SSM functions in your account.

SSM Access In S3

Allow

GetObject,

PutObject,

AbortMultipartUpload,

ListMultipartUploadPorts,

ListBucketMultipartUploads

Allows the SSM on the EC2 to get and update objects in, and to abort a multi-part object upload to, and list ports and buckets available for, multi-part uploads in aws:s3:::mc-*-internal-*/aws/ssm*.

Amazon EC2 Simple Storage Service (S3)

Get Object In S3

Allow

Get

List

Allows EC2 applications to retrieve and list objects in S3 buckets in your account.

Customer Encrypted Log S3 Access

Allow

PutObject

Allows EC2 applications to update objects in aws:s3:::mc-*-logs-*/encrypted/app/*

Patch Data Put Object S3

Allow

PutObject

Allows EC2 applications to upload patching data to your S3 buckets at aws:s3:::awsms-a*-patch-data-*

Uploading Own Logs To S3

Allow

PutObject

Allows EC2 applications to upload custom logs to: aws:s3:::mc-a*-logs-*/aws/instances/*/${aws:userid}/*

Explicitly Deny MC Namespace S3 Logs

Deny

GetObject*

Put*

Disallows EC2 applications getting or putting any objects from or to:

aws:s3:::mc-*-logs-*/encrypted/mc*,

aws:s3:::mc-*-logs-*/mc/*,

aws:s3:::mc-a*-logs-*-audit/*

Explicitly Deny S3 Delete

Deny

* (all)

Disallows EC2 applications taking any action on objects in:

aws:s3:::mc-a*-logs-*/*,

aws:s3:::mc-a*-internal-*/*,

Explicitly Deny S3 CFN Bucket

Deny

Delete*

Disallows EC2 applications deleting any objects from: aws:s3:::cf-templates-*

Explicitly Deny List Bucket S3

Deny

ListBucket

Disallows you listing any encrypted, audit log, or reserved (mc) objects from: aws:s3:::mc-*-logs-*

AWS Secrets Manager in Amazon EC2

Trend Cloud One Secrets Access

Allow

GetSecretValue

Allows EC2 to access secrets for Trend Cloud One migration:

aws:secretsmanager:*:*:secret:/ams/eps/cloud-one-agent-tenant-id*,

arn:aws:secretsmanager:*:*:secret:/ams/eps/cloud-one-agent-activation-token*,

aws:secretsmanager:*:*:secret:/ams/eps/cloud-one-agent-tenant-id*,

aws:secretsmanager:*:*:secret:/ams/eps/cloud-one-agent-tenant-guid*

AWS Key Management Service in Amazon EC2

Trend Cloud One Decryption Key

Allow

Decrypt

Allow EC2 to decrypt the AWS KMS key with alias name /ams/eps/cloudone-migration

aws:kms:*:*:key/*

There are two AMS default instance profiles, customer-mc-ec2-instance-profile and customer-mc-ec2-instance-profile-s3. These instance profiles provide the permissions described in the following table.

Policy descriptions
Profile Policies

customer-mc-ec2-instance-profile

AmazonSSMManagedInstanceCore: Allows Ec2 instances to use the SSM agent.

AMSInstanceProfileLoggingPolicy: Allows Ec2 instances to push logs to S3 and CloudWatch.

AMSInstanceProfileManagementPolicy: Allows Ec2 instances to perform booting actions, like joining Active Directory.

AMSInstanceProfileMonitoringPolicy: Allows Ec2 instances to report findings to AMS monitoring services.

AMSInstanceProfilePatchPolicy: Allows Ec2 instances to receive patches.

customer-mc-ec2-instance-profile-s3

AMSInstanceProfileBYOEPSPolicy: Allows Ec2 instances to use AMS bring your own EPS.

AMSInstanceProfileLoggingPolicy: Allows Ec2 instances to push logs to S3 and CloudWatch.

AMSInstanceProfileManagementPolicy: Allows Ec2 instances to perform booting actions, like joining Active Directory.

AMSInstanceProfileMonitoringPolicy: Allows Ec2 instances to report findings to AMS monitoring services.

AMSInstanceProfilePatchPolicy: Allows Ec2 instances to receive patches.

AMSInstanceProfileS3WritePolicy: Allows Ec2 instances to read/write to customer S3 buckets.

If you're unfamiliar with Amazon IAM policies, see Overview of IAM Policies for important information.

Note

Policies often include multiple statements, where each statement grants permissions to a different set of resources or grants permissions under a specific condition.

隐私网站条款Cookie 首选项
© 2025, Amazon Web Services, Inc. 或其附属公司。保留所有权利。