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.”

[CT.EC2.PV.6] Disallow the use of deprecated Amazon EC2 RequestSpotFleet and RequestSpotInstances API actions - AWS Control Tower

[CT.EC2.PV.6] Disallow the use of deprecated Amazon EC2 RequestSpotFleet and RequestSpotInstances API actions

This control disallows usage of EC2 RequestSpotFleet and RequestSpotInstances APIs, because they are legacy APIs with no planned investment.

This is a preventive control with elective guidance based on service control policies (SCPs). By default, this control is not enabled. You can enable this control through the AWS Control Tower console, or though the AWS Control Tower APIs.

AWS service: Amazon EC2

Control metadata
  • Control objective: Enforce least privilege, Protect configurations

  • Implementation: Service control policy (SCP)

  • Control behavior: Preventive

  • Control owner: AWS Control Tower

  • Control groups: digital-sovereignty

  • Resource types: AWS::EC2::SpotFleet

Usage considerations
  • This control denies ec2:RequestSpotFleet and ec2:RequestSpotInstances actions for all IAM principals. If you need to use these actions, do not enable this control.

  • This control does not prevent cancelling or modifying an existing spot fleet or spot instance request.

The artifact for this control is the following service control policy (SCP).

{ "Version": "2012-10-17", "Statement": [ { "Sid": "CTEC2PV6", "Effect": "Deny", "Action": [ "ec2:RequestSpotFleet", "ec2:RequestSpotInstances" ], "Resource": "*"{% if ExemptedPrincipalArns %}, "Condition": { "ArnNotLike": { "aws:PrincipalArn": {{ExemptedPrincipalArns}} } }{% endif %} } ] }
PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.