Softwr

Cloud · head to head

Amazon EC2 vs AWS Step Functions

Amazon EC2 logo

Amazon EC2

Cloud

Resizable virtual server compute service on AWS

From
Free
Free plan
Yes
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

  • AWS Step Functions is a serverless orchestration service.
  • Both are free.
  • Only Amazon EC2 lists intel, AMD and Arm (Graviton) processors; only AWS Step Functions lists visual drag and drop workflow builder.
  • Where Amazon EC2 falls short: cost forecasting is complex across purchase options and instance types.
  • Where AWS Step Functions falls short: built around AWS services, so orchestration across other clouds is awkward.

How do Amazon EC2 and AWS Step Functions differ?

Amazon EC2 and AWS Step Functions differ on platforms and category. Only the attributes on which Amazon EC2 and AWS Step Functions actually diverge.

Attributes where Amazon EC2 and AWS Step Functions differ
AttributeAmazon EC2AWS Step Functions
PlatformsWeb, Linux, Windows, macOSWeb
CategoryCloudAutomation Integration

Identical on both: starting price (Free), pricing model (Usage-based), free tier (Yes).

Which features does each one have?

They share no listed features; 7 appear only for Amazon EC2 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 EC2

  • Over 1,000 instance types
  • Intel, AMD and Arm (Graviton) processors
  • Per-second billing
  • Spot Instances and Savings Plans
  • Dedicated Hosts
  • EC2 Mac instances
  • Nitro System isolation

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 EC2 is most often brought in for hosting web applications and APIs; AWS Step Functions for coordinating Lambda functions. The jobs each tool is most often brought in to do.

Amazon EC2

  • Hosting web applications and APIsnot AWS Step Functions
  • Running GPU and machine learning workloadsnot AWS Step Functions
  • Building and signing macOS appsnot AWS Step Functions
  • Bursting capacity with Spot Instancesnot AWS Step Functions

AWS Step Functions

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

Where do Amazon EC2 and AWS Step Functions fall short?

Amazon EC2's most cited limit: cost forecasting is complex across purchase options and instance types. 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 EC2

  • Cost forecasting is complex across purchase options and instance types
  • Spot instances carry no SLA and can be reclaimed on two minutes' notice
  • Instance-store data is lost when an instance stops or terminates
  • You manage OS patching, scaling and security configuration

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 EC2 and AWS Step Functions cost?

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

Amazon EC2

Free

No published plan breakdown. See the Amazon EC2 review.

AWS Step Functions

Free

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

Which should you pick?

Choose Amazon EC2 if

  • You need over 1,000 instance types.
  • You want to start without paying.
  • You work on Web, Linux, Windows, macOS.
  • You also want intel, amd and arm (graviton) processors.

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 EC2 or AWS Step Functions better?
It depends on the job. Amazon EC2 fits hosting web applications and APIs; AWS Step Functions fits coordinating Lambda functions. Amazon EC2 starts at Free and AWS Step Functions at Free.
Which is cheaper, Amazon EC2 or AWS Step Functions?
Amazon EC2 starts at Free and AWS Step Functions at Free.
Does Amazon EC2 or AWS Step Functions run on more platforms?
Amazon EC2 runs on Web, Linux, Windows, macOS. AWS Step Functions runs on Web.
Can I use Amazon EC2 for free?
Both have a free tier, so you can try either at no cost before committing.
What is Amazon EC2 best used for?
Amazon EC2 is most often used for hosting web applications and apis, running gpu and machine learning workloads, building and signing macos apps, bursting capacity with spot instances. Of those, hosting web applications and apis and running gpu and machine learning workloads are not what AWS Step Functions is typically brought in for.
What can Amazon EC2 do that AWS Step Functions cannot?
Amazon EC2 covers Over 1,000 instance types, Intel, AMD and Arm (Graviton) processors, Per-second billing, Spot Instances and Savings Plans. 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 EC2: How is Amazon EC2 billed?

Usage is billed in one-second increments with a minimum charge of 60 seconds, across all purchase options and Regions.

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 EC2: When did EC2 launch?

A limited public beta started on 25 August 2006, and the beta label was dropped on 23 October 2008 with the addition of an SLA.

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 EC2: How much can Spot Instances save?

AWS says Spot Instances save up to 90 percent versus On-Demand, and Savings Plans up to 72 percent. Wikipedia notes Spot can be reclaimed with two minutes' notice.

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