ladderlore
Request a guide
  • Type a service name, like S3 or IAM.

Concept

Databases on Amazon EC2 or managed by AWS

Run the database yourself on EC2 for full control, or let AWS run it for you.

Need full control of the server?
EC2RDS
You patch, back up and scale it
AWS patches, backs up and fails over
yesno
One question decides who runs the database.
  • Schema and query tuning

    Database on Amazon EC2
    You
    Amazon RDS
    You
  • Scaling

    Database on Amazon EC2
    You
    Amazon RDS
    AWS
  • High availability

    Database on Amazon EC2
    You
    Amazon RDS
    AWS
  • Backups

    Database on Amazon EC2
    You
    Amazon RDS
    AWS
  • Database install and patches

    Database on Amazon EC2
    You
    Amazon RDS
    AWS
  • Operating system install and patches

    Database on Amazon EC2
    You
    Amazon RDS
    AWS
  • Hardware, power and network

    Database on Amazon EC2
    AWS
    Amazon RDS
    AWS
Who does each job on Amazon EC2 and on Amazon RDS.

1 / 3

  • Schema and query tuning

    Database on Amazon EC2
    You
    Amazon RDS
    You
  • Scaling

    Database on Amazon EC2
    You
    Amazon RDS
    AWS
  • High availability

    Database on Amazon EC2
    You
    Amazon RDS
    AWS

2 / 3

  • Backups

    Database on Amazon EC2
    You
    Amazon RDS
    AWS
  • Database install and patches

    Database on Amazon EC2
    You
    Amazon RDS
    AWS
  • Operating system install and patches

    Database on Amazon EC2
    You
    Amazon RDS
    AWS

3 / 3

  • Hardware, power and network

    Database on Amazon EC2
    AWS
    Amazon RDS
    AWS
Who does each job on Amazon EC2 and on Amazon RDS.

What it is

You can install a database engine yourself on an Amazon Elastic Compute Cloud (Amazon EC2) instance, as you would on your own server. You get full control of the operating system and the database software. You also do all the work: patches, backups, high availability and scaling.

With an AWS managed database, such as Amazon Relational Database Service (Amazon RDS), Amazon Aurora or Amazon DynamoDB, AWS does that routine work. You focus on your data, your schema and your queries. AWS recommends Amazon RDS as the default choice for most relational databases.

What it is

Choose EC2 when a managed service does not give you what you need: access to the operating system, your own software on the database server, or a database engine, version or feature that the managed service does not offer.

Remember

  • Database on EC2: most control, most work.
  • Managed database: less work. AWS patches, backs up and handles failover.
  • In both cases, AWS runs the hardware, power and network.
  • In both cases, you own your data, who can access it, and query tuning.

Remember

  • Moving a database to EC2 unchanged is a rehost. Moving it to Amazon RDS is a replatform.

On the exam

  • “Needs full control of the operating system” or “needs a database version that RDS does not support” points to a database on Amazon EC2.
  • “Reduce the work of patching, backups and failover” points to a managed database such as Amazon RDS.