Softwr

Automation Integration · head to head

Amazon ECS vs AWS Step Functions

Amazon ECS logo

Amazon ECS

Automation Integration

AWS managed container orchestration, free to use, billed for Fargate or EC2 compute

From
On request
Free plan
No
AWS Step Functions logo

AWS Step Functions

Automation Integration

Serverless workflow orchestration service for coordinating AWS services

From
Free
Free plan
Yes

The short version

  • Amazon ECS is a fully managed container orchestration service on AWS; AWS Step Functions is a serverless orchestration service.
  • AWS Step Functions is free; Amazon ECS prices on request.
  • Only Amazon ECS lists fargate serverless containers; only AWS Step Functions lists visual drag and drop workflow builder.
  • Where Amazon ECS falls short: runs only on AWS, with no portability to other clouds.
  • Where AWS Step Functions falls short: built around AWS services, so orchestration across other clouds is awkward.

How do Amazon ECS and AWS Step Functions differ?

Amazon ECS and AWS Step Functions differ on starting price (On request against Free) and free tier (No against Yes). Only the attributes on which Amazon ECS and AWS Step Functions actually diverge.

Attributes where Amazon ECS and AWS Step Functions differ
AttributeAmazon ECSAWS Step Functions
Starting priceOn requestFree
Free tierNoYes

Identical on both: pricing model (Usage-based), platforms (Web).

Not yet recorded: category for Amazon ECS.

Which features does each one have?

They share no listed features; 8 appear only for Amazon ECS and 8 only for AWS Step Functions. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Amazon ECS

  • Fargate serverless containers
  • EC2 launch type
  • ECS Anywhere for on-premises and edge
  • ECS Managed Instances
  • IAM-based access control
  • Automated patching
  • Encryption in transit and at rest
  • Spot capacity support

Only in AWS Step Functions

  • Visual drag and drop workflow builder
  • State machine definitions
  • Direct integration with over 220 AWS services
  • Built in retry, catch and timeout handling
  • Parallel processing over S3 data
  • Standard workflows up to one year
  • Express workflows for high volume short tasks
  • Private API support through PrivateLink and VPC Lattice

What is each one used for?

Amazon ECS is most often brought in for running containerised web services on AWS; AWS Step Functions for coordinating Lambda functions. The jobs each tool is most often brought in to do.

Amazon ECS

  • Running containerised web services on AWSnot AWS Step Functions
  • Batch jobs on Spot capacitynot AWS Step Functions
  • Serverless containers without managing serversnot AWS Step Functions
  • Hybrid workloads using ECS Anywherenot AWS Step Functions

AWS Step Functions

  • Coordinating Lambda functionsnot Amazon ECS
  • Large scale parallel data processing over S3not Amazon ECS
  • Order and approval workflowsnot Amazon ECS
  • Retrying and handling errors across AWS servicesnot Amazon ECS

Where do Amazon ECS and AWS Step Functions fall short?

Amazon ECS's most cited limit: runs only on AWS, with no portability to other clouds. AWS Step Functions's: built around AWS services, so orchestration across other clouds is awkward. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon ECS

  • Runs only on AWS, with no portability to other clouds
  • Task definitions and APIs are AWS-specific, unlike Kubernetes
  • Costs combine ECS-adjacent services such as EC2, load balancers and IPv4
  • Smaller ecosystem of third-party tooling than Kubernetes

AWS Step Functions

  • Built around AWS services, so orchestration across other clouds is awkward
  • Standard workflows bill per state transition and each retry counts as another
  • Express workflows have no listed free tier and bill for requests and duration
  • Prices in the examples are for US East (N. Virginia); other regions differ

How much do Amazon ECS and AWS Step Functions cost?

AWS Step Functions is free to use. Plan by plan below, from each vendor's own pricing page.

Amazon ECS

On request

No published plan breakdown. See the Amazon ECS review.

AWS Step Functions

Free

No published plan breakdown. See the AWS Step Functions review.

Which should you pick?

Choose Amazon ECS if

  • You need fargate serverless containers.
  • You also want ec2 launch type.

Choose AWS Step Functions if

  • You need visual drag and drop workflow builder.
  • You want to start without paying.
  • You also want state machine definitions.

Questions people ask

Is Amazon ECS or AWS Step Functions better?
It depends on the job. Amazon ECS fits running containerised web services on AWS; AWS Step Functions fits coordinating Lambda functions. Amazon ECS starts at On request and AWS Step Functions at Free.
Which is cheaper, Amazon ECS or AWS Step Functions?
AWS Step Functions has a free tier; the other does not. Paid plans start at On request for Amazon ECS and Free for AWS Step Functions.
Does Amazon ECS or AWS Step Functions run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use AWS Step Functions for free?
Yes. AWS Step Functions has a free tier, so you can try it without paying. Amazon ECS starts at On request.
What is Amazon ECS best used for?
Amazon ECS is most often used for running containerised web services on aws, batch jobs on spot capacity, serverless containers without managing servers, hybrid workloads using ecs anywhere. Of those, running containerised web services on aws and batch jobs on spot capacity are not what AWS Step Functions is typically brought in for.
What can Amazon ECS do that AWS Step Functions cannot?
Amazon ECS covers Fargate serverless containers, EC2 launch type, ECS Anywhere for on-premises and edge, ECS Managed Instances. AWS Step Functions covers Visual drag and drop workflow builder, State machine definitions, Direct integration with over 220 AWS services, Built in retry, catch and timeout handling.

Answered from the vendors’ own pages

Amazon ECS: Does ECS cost extra?

No. There is no additional charge for Amazon ECS orchestration; you pay for the compute and resources your containers use.

Source
AWS Step Functions: How are Standard workflows billed?

Per state transition, at 0.000025 US dollars in US East (N. Virginia) per the pricing examples. A free tier of 4,000 transitions a month does not expire, and each retry counts as another transition.

Source
Amazon ECS: Can ECS run outside AWS?

ECS Anywhere runs containers on registered on-premises instances at $0.01025 per instance per hour.

Source
AWS Step Functions: How are Express workflows billed?

By requests at 1.00 US dollar per million, plus duration at 0.00001667 dollars per GB second, rounded up to the nearest 100 ms.

Source
Amazon ECS: What compute options does ECS offer?

AWS Fargate, Amazon EC2 and ECS Anywhere, plus ECS Managed Instances.

Source
AWS Step Functions: What can it connect to?

AWS says it integrates directly with over 220 AWS services and more than 10,000 APIs, including Lambda, ECS, DynamoDB, SQS and SageMaker.

Source
AWS Step Functions: Does it handle errors?

Yes. The features page cites built in try and catch and retry handling, plus timeouts and fallback recovery code.

Source
Share

Related pages

Other head to heads