Softwr

Databases · head to head

Amazon ECS vs MySQL

Amazon ECS logo

Amazon ECS

Databases

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

From
On request
Free plan
No
MySQL logo

MySQL

Databases

Open source database

From
Free
Free plan
Yes

The short version

  • Amazon ECS is a fully managed container orchestration service on AWS; MySQL is an open-source relational database management system.
  • MySQL starts at $2000/yr; Amazon ECS prices on request.
  • Only Amazon ECS lists fargate serverless containers; only MySQL lists ACID compliance.
  • Where Amazon ECS falls short: runs only on AWS, with no portability to other clouds.
  • Where MySQL falls short: hot online backup is not in the free Community Server; MySQL Enterprise Backup is a paid Enterprise Edition component.

How do Amazon ECS and MySQL differ?

Amazon ECS and MySQL differ on starting price (On request against Free), pricing model (Usage-based against Freemium) and free tier (No against Yes). Only the attributes on which Amazon ECS and MySQL actually diverge.

Attributes where Amazon ECS and MySQL differ
AttributeAmazon ECSMySQL
Starting priceOn requestFree
Pricing modelUsage-basedFreemium
Free tierNoYes
PlatformsWebWindows, macOS, Linux

Not yet recorded: category for Amazon ECS, founded for Amazon ECS.

Which features does each one have?

They share no listed features; 8 appear only for Amazon ECS and 20 only for MySQL. 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 MySQL

  • ACID compliance
  • SQL support
  • Multi-version concurrency control
  • Replication
  • Partitioning
  • Stored procedures
  • Triggers
  • Views

What is each one used for?

Amazon ECS is most often brought in for running containerised web services on AWS; MySQL for web application backend. The jobs each tool is most often brought in to do.

Amazon ECS

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

MySQL

  • Web application backendnot Amazon ECS
  • E-commerce platformsnot Amazon ECS
  • Content management systemsnot Amazon ECS
  • Data warehousingnot Amazon ECS
  • Business applicationsnot Amazon ECS

Where do Amazon ECS and MySQL fall short?

Amazon ECS's most cited limit: runs only on AWS, with no portability to other clouds. MySQL's: hot online backup is not in the free Community Server; MySQL Enterprise Backup is a paid Enterprise Edition component. 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

MySQL

  • Hot online backup is not in the free Community Server; MySQL Enterprise Backup is a paid Enterprise Edition component
  • Transparent Data Encryption, data masking and de-identification are Enterprise Edition only
  • MySQL Enterprise Firewall, which guards against SQL injection, and MySQL Enterprise Audit are both paid components
  • External authentication against PAM or Windows Active Directory requires MySQL Enterprise Authentication
  • The thread pool ships as MySQL Enterprise Scalability rather than in the community build

How much do Amazon ECS and MySQL cost?

MySQL has a free plan, with paid plans from $2000/yr. Plan by plan below, from each vendor's own pricing page.

Amazon ECS

On request

No published plan breakdown. See the Amazon ECS review.

MySQL

Free
  • Community EditionFree
    • Open source license
    • Full SQL support
    • InnoDB storage engine
  • Standard Edition$2,000/yr
    • Commercial license
    • Oracle Premier Support
    • MySQL Enterprise backup
  • Enterprise Edition$5,000/yr
    • Advanced security
    • MySQL Enterprise Monitor
    • High Availability

Which should you pick?

Choose Amazon ECS if

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

Choose MySQL if

  • You need acid compliance.
  • You want to start without paying.
  • You work on Windows, macOS, Linux.
  • You also want sql support.

Questions people ask

Is Amazon ECS or MySQL better?
It depends on the job. Amazon ECS fits running containerised web services on AWS; MySQL fits web application backend. Amazon ECS starts at On request and MySQL at Free.
Which is cheaper, Amazon ECS or MySQL?
MySQL has a free tier; the other does not. Paid plans start at On request for Amazon ECS and Free for MySQL.
Does Amazon ECS or MySQL run on more platforms?
Amazon ECS runs on Web. MySQL runs on Windows, macOS, Linux.
Can I use MySQL for free?
Yes. MySQL 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 MySQL is typically brought in for.
What can Amazon ECS do that MySQL cannot?
Amazon ECS covers Fargate serverless containers, EC2 launch type, ECS Anywhere for on-premises and edge, ECS Managed Instances. MySQL covers ACID compliance, SQL support, Multi-version concurrency control, Replication.

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
MySQL: Does MySQL cost money?

MySQL is primarily open-source and free to use. Commercial editions and support services are available but pricing is not published on the main website.

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
MySQL: How do I get MySQL pricing information?

For MySQL commercial editions and support pricing, customers can contact MySQL sales directly at +1-866-221-0634 or navigate to individual product pages.

Source
Amazon ECS: What compute options does ECS offer?

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

Source
Share

Related pages

Other head to heads