Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AWSEC2SpotFleetServiceRolePolicy - AWS Managed Policy

AWSEC2SpotFleetServiceRolePolicy

Description: Allows EC2 Spot Fleet to launch and manage spot fleet instances

AWSEC2SpotFleetServiceRolePolicy is an AWS managed policy.

Using this policy

This policy is attached to a service-linked role that allows the service to perform actions on your behalf. You cannot attach this policy to your users, groups, or roles.

Policy details

  • Type: Service-linked role policy

  • Creation time: October 23, 2017, 19:13 UTC

  • Edited time: March 16, 2020, 19:16 UTC

  • ARN: arn:aws:iam::aws:policy/aws-service-role/AWSEC2SpotFleetServiceRolePolicy

Policy version

Policy version: v4 (default)

The policy's default version is the version that defines the permissions for the policy. When a user or role with the policy makes a request to access an AWS resource, AWS checks the default version of the policy to determine whether to allow the request.

JSON policy document

{ "Version" : "2012-10-17", "Statement" : [ { "Effect" : "Allow", "Action" : [ "ec2:DescribeImages", "ec2:DescribeSubnets", "ec2:RequestSpotInstances", "ec2:DescribeInstanceStatus", "ec2:RunInstances" ], "Resource" : [ "*" ] }, { "Effect" : "Allow", "Action" : [ "iam:PassRole" ], "Resource" : [ "*" ], "Condition" : { "StringEquals" : { "iam:PassedToService" : [ "ec2.amazonaws.com", "ec2.amazonaws.com.cn" ] } } }, { "Effect" : "Allow", "Action" : [ "ec2:CreateTags" ], "Resource" : [ "arn:aws:ec2:*:*:instance/*", "arn:aws:ec2:*:*:spot-instances-request/*", "arn:aws:ec2:*:*:spot-fleet-request/*", "arn:aws:ec2:*:*:volume/*" ] }, { "Effect" : "Allow", "Action" : [ "ec2:TerminateInstances" ], "Resource" : "*", "Condition" : { "StringLike" : { "ec2:ResourceTag/aws:ec2spot:fleet-request-id" : "*" } } }, { "Effect" : "Allow", "Action" : [ "elasticloadbalancing:RegisterInstancesWithLoadBalancer" ], "Resource" : [ "arn:aws:elasticloadbalancing:*:*:loadbalancer/*" ] }, { "Effect" : "Allow", "Action" : [ "elasticloadbalancing:RegisterTargets" ], "Resource" : [ "arn:aws:elasticloadbalancing:*:*:*/*" ] } ] }

Learn more

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.