# Ensure Amazon ECS Fargate Services Are Using the Latest Fargate Platform Version

- Source: https://support.icompaas.com/support/solutions/articles/62000233989-ensure-amazon-ecs-fargate-services-are-using-the-latest-fargate-platform-version
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [CIS AWS Compute Services Benchmark v1.1.0](https://support.icompaas.com/support/solutions/62000112682) › [AWS Compute Services Benchmark v1.1.0](https://support.icompaas.com/support/solutions/folders/62000169228)
- Last updated: 2026-05-29
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

**Profile Applicability:**  

-   **Level 1**

**Description:**  
Ensure that Amazon ECS Fargate services use the latest Fargate platform version to benefit from the latest security enhancements, performance improvements, and feature updates.

**Rationale:** Using the latest Fargate platform version ensures that ECS services are protected with the latest security patches and new features, leading to better performance and minimizing the exposure to vulnerabilities.

**Impact:** Updating to the latest platform version may require minor operational changes, including updating service configurations. However, the benefits in terms of security and performance are significant.

**Default Value:** The platform version for Fargate services is set to LATEST by default.

**Pre-requisites:**

-   AWS IAM permissions to manage ECS services: ecs:UpdateService, ecs:DescribeServices  
    
-   Access to AWS ECS Console or CLI  
    

**Remediation:**

**Test Plan:**

**Using AWS Console:**

1.  Log in to the ECS Console at [AWS ECS Console](https://console.aws.amazon.com/ecs/).  
    
2.  In the left panel, click Clusters.  
    
3.  Click the name of a cluster.  
    
4.  Under Services, from the Filter launch type drop-down menu, select FARGATE.  
    
5.  Click the name of a service.  
    
6.  Click Configuration and networking.  
    
7.  Under Service configuration, ensure Platform version is set to 1.4.0 or LATEST for Linux, or 1.0.0 or LATEST for Windows.  
    
8.  Repeat steps 1-7 for each ECS cluster and Fargate service.
    

**Using AWS CLI:**

1.  Run the following command to list clusters:  
    
    aws ecs list-clusters
    
2.  Run the following command to list services in a cluster:  
    
    aws ecs list-services --cluster <cluster-arn>
    
3.  Run the following command to view the details of a service:  
    
    aws ecs describe-services --cluster <cluster-arn> --services <service-arn> --query 'services\[\*\].\[platformFamily,platformVersion\]' --output table
    
4.  For Linux services, ensure platformVersion is 1.4.0 or LATEST. For Windows services, ensure platformVersion is 1.0.0 or LATEST.
    
5.  Repeat steps 1-4 for each cluster and service.  
    

**Implementation Plan:**

**Using AWS Console:**

1.  Log in to the ECS Console at [AWS ECS Console](https://console.aws.amazon.com/ecs/).  
    
2.  In the left panel, click Clusters.  
    
3.  Click the name of a cluster.  
    
4.  Under Services, from the Filter launch type drop-down menu, select FARGATE.  
    
5.  Click the name of a service.  
    
6.  Click Update service.  
    
7.  Expand the Compute configuration (advanced) section.  
    
8.  Under Platform version, select LATEST from the drop-down menu.  
    
9.  Click Update.  
    
10.  Repeat steps 1-9 for each ECS cluster and Fargate service requiring remediation.  
     

**Using AWS CLI:**

1.  For each service requiring remediation, run the following command to set platformVersion to LATEST:  
    
    aws ecs update-service --cluster <cluster-arn> --service <service-arn> --platform-version LATEST
    

### **Backout Plan:**

**Using AWS Console:**

1.  If issues arise after updating to the latest platform version, revert to the previous task definition with the older platform version.  
    
2.  Redeploy ECS services using the older platform version.  
    

**Using AWS CLI:**

1.  If problems arise, run the following command to revert to the previous platform version:  
    
    aws ecs update-service --cluster <cluster-arn> --service <service-arn> --platform-version <previous-platform-version>
    
      
    

### **References:**

1.  [AWS ECS: Platform Version  
    ](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platformfargate.html)
    
2.  [AWS CLI: List Clusters  
    ](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecs/listclusters.html)
    
3.  [AWS CLI: List Services  
    ](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecs/listservices.html)
    
4.  AWS CLI: Describe Services  
    
5.  [AWS CLI: Update Service  
    ](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecs/updateservice.html)
    

### **CIS Controls:**

<table style="border:none;border-collapse:collapse;font-family:&quot;Helvetica Neue&quot;"><colgroup style="font-family:&quot;Helvetica Neue&quot;"><col style="font-family:&quot;Helvetica Neue&quot;"><col style="font-family:&quot;Helvetica Neue&quot;"><col style="font-family:&quot;Helvetica Neue&quot;"></colgroup><tbody style="font-family:&quot;Helvetica Neue&quot;"><tr style="height:38.5pt;font-family:&quot;Helvetica Neue&quot;"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">Version</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">Control ID</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">Control Description</span></span></span></p></td></tr><tr style="height:51.25pt;font-family:&quot;Helvetica Neue&quot;"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">v8</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">2.2</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">Ensure Authorized Software is Currently Supported: Ensure the software is supported and up-to-date to avoid vulnerabilities and ensure compatibility.</span></span></span></p></td></tr><tr style="height:51.25pt;font-family:&quot;Helvetica Neue&quot;"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">v7</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">2.2</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">Ensure Software is Supported by Vendor: Ensure that only currently supported software is used within the organization's authorized software inventory.</span></span></span></p></td></tr></tbody></table>

## Related compliance guidance

- [SOC 2 compliance: a practical implementation guide for cloud-native SaaS teams](https://support.icompaas.com/compliance/soc-2-trust-services-criteria): Configuration checks like this one are the technical half of a SOC 2 / ISO 27001 programme — the guide shows where they fit, what else an auditor expects, and how to evidence them.
- [ISO/IEC 27001:2022 compliance: a practical implementation guide](https://support.icompaas.com/compliance/iso-27001-2022): ISO 27001 Annex A.8 (technological controls) is where cloud hardening evidence lands; the guide shows how to run the ISMS around it.
