Price comparison by instance type

Compare prices for instances with the same features for EC2, Aurora, and RDS with PostgreSQL, MySQL, and MariaDB databases.

Choose the location of Amazon AWS, pricing type (per Hour or per Month), and see the difference in pricing for each instance type on a chart and table.

There are 2 charts: the first one displays prices and the second one shows the percentage difference. Charts reflect the data for instance types selected in the table. To add new instances there, select them in the table below the chart.

Select instances for display on the chart with the checkboxes below.

Instance types MySQL PostgreSQL MariaDB Aurora MySQL Aurora PostgreSQL EC2
db.t4g.micro 2 cpu / AWS Graviton2 Processor / 2.5 GHz / 1 GiB $0.016 (190%) $0.016 (190%) $0.016 (190%) $0.0084
db.t3.micro 2 cpu / Intel Skylake E5 2686 v5 / 3.1 GHz / 1 GiB $0.017 (163%) $0.018 (173%) $0.017 (163%) $0.0104
db.t2.micro 1 cpu / Intel Xeon Family / Up to 3.3 GHz / 1 GiB $0.017 (147%) $0.018 (155%) $0.017 (147%) $0.0116
db.t4g.small 2 cpu / AWS Graviton2 Processor / 2.5 GHz / 2 GiB $0.032 (190%) $0.032 (190%) $0.032 (190%) $0.0168
db.t3.small 2 cpu / Intel Skylake E5 2686 v5 / 3.1 GHz / 2 GiB $0.034 (163%) $0.036 (173%) $0.034 (163%) $0.041 (197%) $0.0208
db.t2.small 1 cpu / Intel Xeon Family / Up to 3.3 GHz / 2 GiB $0.034 (148%) $0.036 (157%) $0.034 (148%) $0.041 (178%) $0.023
db.t4g.medium 2 cpu / AWS Graviton2 Processor / 2.5 GHz / 4 GiB $0.065 (193%) $0.065 (193%) $0.065 (193%) $0.073 (217%) $0.073 (217%) $0.0336
db.t3.medium 2 cpu / Intel Skylake E5 2686 v5 / 3.1 GHz / 4 GiB $0.068 (163%) $0.072 (173%) $0.068 (163%) $0.082 (197%) $0.082 (197%) $0.0416
db.t2.medium 2 cpu / Intel Xeon Family / Up to 3.3 GHz / 4 GiB $0.068 (147%) $0.073 (157%) $0.068 (147%) $0.082 (177%) $0.0464
db.m3.medium 1 cpu / Intel Xeon E5-2670 v2 (Ivy Bridge/Sandy Bridge) / 2.5 GHz / 3.75 GiB $0.09 (134%) $0.095 (142%) $0.09 (134%) $0.067
db.t4g.large 2 cpu / AWS Graviton2 Processor / 2.5 GHz / 8 GiB $0.129 (192%) $0.129 (192%) $0.129 (192%) $0.146 (217%) $0.146 (217%) $0.0672
db.m6g.large 2 cpu / AWS Graviton2 Processor / 3.1 GHz / 8 GiB $0.152 (197%) $0.159 (206%) $0.152 (197%) $0.077
db.t3.large 2 cpu / Intel Skylake E5 2686 v5 / 3.1 GHz / 8 GiB $0.136 (163%) $0.145 (174%) $0.136 (163%) $0.164 (197%) $0.164 (197%) $0.0832
db.t2.large 2 cpu / Intel Xeon Family / Up to 3.3 GHz / 8 GiB $0.136 (147%) $0.145 (156%) $0.136 (147%) $0.0928
db.m5.large 2 cpu / Intel Xeon Platinum 8175 (Skylake) / 3.1 GHz / 8 GiB $0.171 (178%) $0.178 (185%) $0.171 (178%) $0.096
db.m4.large 2 cpu / Intel Xeon E5-2676 v3 (Haswell) / 2.4 GHz / 8 GiB $0.175 (175%) $0.182 (182%) $0.175 (175%) $0.1
db.r6g.large 2 cpu / AWS Graviton2 Processor / 2.5 GHz / 16 GiB $0.215 (213%) $0.225 (223%) $0.215 (213%) $0.26 (258%) $0.26 (258%) $0.1008
db.r5.large 2 cpu / Intel Xeon Platinum 8175 (Skylake) / 3.1 GHz / 16 GiB $0.24 (190%) $0.25 (198%) $0.24 (190%) $0.29 (230%) $0.29 (230%) $0.126
db.r4.large 2 cpu / Intel Xeon E5-2686 v4 (Broadwell) / 2.3 GHz / 15.25 GiB $0.24 (180%) $0.25 (188%) $0.24 (180%) $0.29 (218%) $0.29 (218%) $0.133
db.m3.large 2 cpu / Intel Xeon E5-2670 v2 (Ivy Bridge/Sandy Bridge) / 2.5 GHz / 7.5 GiB $0.185 (139%) $0.195 (147%) $0.185 (139%) $0.133
db.t4g.xlarge 4 cpu / AWS Graviton2 Processor / 2.5 GHz / 16 GiB $0.258 (192%) $0.258 (192%) $0.258 (192%) $0.1344
db.r5b.large 2 cpu / Intel Xeon Platinum 8259 (Cascade Lake) / 3.1 GHz / 16 GiB $0.296 (199%) $0.296 (199%) $0.296 (199%) $0.149
db.m6g.xlarge 4 cpu / AWS Graviton2 Processor / 2.8 GHz / 16 GiB $0.304 (197%) $0.318 (206%) $0.304 (197%) $0.154
db.r3.large 2 cpu / Intel Xeon E5-2670 v2 (Ivy Bridge) / 2.5 GHz / 15.25 GiB $0.24 (145%) $0.25 (151%) $0.24 (145%) $0.29 (175%) $0.166
db.t3.xlarge 4 cpu / Intel Skylake E5 2686 v5 / 3.1 GHz / 16 GiB $0.272 (163%) $0.29 (174%) $0.272 (163%) $0.1664
db.t2.xlarge 4 cpu / Intel Xeon Family / Up to 3.3 GHz / 16 GiB $0.272 (147%) $0.29 (156%) $0.272 (147%) $0.1856
db.m5.xlarge 4 cpu / Intel Xeon Platinum 8175 (Skylake) / 3.1 GHz / 16 GiB $0.342 (178%) $0.356 (185%) $0.342 (178%) $0.192
db.m4.xlarge 4 cpu / Intel Xeon E5-2676 v3 (Haswell) / 2.4 GHz / 16 GiB $0.35 (175%) $0.365 (183%) $0.35 (175%) $0.2
db.r6g.xlarge 4 cpu / AWS Graviton2 Processor / 2.5 GHz / 32 GiB $0.43 (213%) $0.45 (223%) $0.43 (213%) $0.519 (257%) $0.519 (257%) $0.2016
db.r5.xlarge 4 cpu / Intel Xeon Platinum 8175 (Skylake) / 3.1 GHz / 32 GiB $0.48 (190%) $0.5 (198%) $0.48 (190%) $0.58 (230%) $0.58 (230%) $0.252
db.m3.xlarge 4 cpu / Intel Xeon E5-2670 v2 (Ivy Bridge/Sandy Bridge) / 2.5 GHz / 15 GiB $0.37 (139%) $0.39 (147%) $0.37 (139%) $0.266
db.r4.xlarge 4 cpu / Intel Xeon E5-2686 v4 (Broadwell) / 2.3 GHz / 30.5 GiB $0.48 (180%) $0.5 (188%) $0.48 (180%) $0.58 (218%) $0.58 (218%) $0.266
db.t4g.2xlarge 8 cpu / AWS Graviton2 Processor / 2.5 GHz / 32 GiB $0.517 (192%) $0.517 (192%) $0.517 (192%) $0.2688
db.r5b.xlarge 4 cpu / Intel Xeon Platinum 8259 (Cascade Lake) / 3.1 GHz / 32 GiB $0.592 (199%) $0.592 (199%) $0.592 (199%) $0.298
db.m6g.2xlarge 8 cpu / AWS Graviton2 Processor / 3.1 GHz / 32 GiB $0.608 (197%) $0.636 (206%) $0.608 (197%) $0.308
db.t3.2xlarge 8 cpu / Intel Skylake E5 2686 v5 / 3.1 GHz / 32 GiB $0.544 (163%) $0.579 (174%) $0.544 (163%) $0.3328
db.r3.xlarge 4 cpu / Intel Xeon E5-2670 v2 (Ivy Bridge) / 2.5 GHz / 30.5 GiB $0.475 (143%) $0.5 (150%) $0.475 (143%) $0.58 (174%) $0.333
db.t2.2xlarge 8 cpu / Intel Xeon Family / Up to 3.3 GHz / 32 GiB $0.544 (147%) $0.58 (156%) $0.544 (147%) $0.3712
db.m5.2xlarge 8 cpu / Intel Xeon Platinum 8175 (Skylake) / 3.1 GHz / 32 GiB $0.684 (178%) $0.712 (185%) $0.684 (178%) $0.384
db.m4.2xlarge 8 cpu / Intel Xeon E5-2676 v3 (Haswell) / 2.4 GHz / 32 GiB $0.7 (175%) $0.73 (183%) $0.7 (175%) $0.4
db.r6g.2xlarge 8 cpu / AWS Graviton2 Processor / 2.5 GHz / 64 GiB $0.859 (213%) $0.899 (223%) $0.859 (213%) $1.038 (257%) $1.038 (257%) $0.4032
db.r5.2xlarge 8 cpu / Intel Xeon Platinum 8175 (Skylake) / 3.1 GHz / 64 GiB $0.96 (190%) $1 (198%) $0.96 (190%) $1.16 (230%) $1.16 (230%) $0.504
db.r4.2xlarge 8 cpu / Intel Xeon E5-2686 v4 (Broadwell) / 2.3 GHz / 61 GiB $0.96 (180%) $1 (188%) $0.96 (180%) $1.16 (218%) $1.16 (218%) $0.532
db.m3.2xlarge 8 cpu / Intel Xeon E5-2670 v2 (Ivy Bridge/Sandy Bridge) / 2.5 GHz / 30 GiB $0.74 (139%) $0.775 (146%) $0.74 (139%) $0.532
db.r5b.2xlarge 8 cpu / Intel Xeon Platinum 8259 (Cascade Lake) / 3.1 GHz / 64 GiB $1.184 (199%) $1.184 (199%) $1.184 (199%) $0.596
db.m6g.4xlarge 16 cpu / AWS Graviton2 Processor / 3.1 GHz / 64 GiB $1.216 (197%) $1.272 (206%) $1.216 (197%) $0.616
db.r3.2xlarge 8 cpu / Intel Xeon E5-2670 v2 (Ivy Bridge) / 2.5 GHz / 61 GiB $0.945 (142%) $0.995 (150%) $0.945 (142%) $1.16 (174%) $0.665
db.m5.4xlarge 16 cpu / Intel Xeon Platinum 8175 (Skylake) / 3.1 GHz / 64 GiB $1.368 (178%) $1.424 (185%) $1.368 (178%) $0.768
db.m4.4xlarge 16 cpu / Intel Xeon E5-2676 v3 (Haswell) / 2.4 GHz / 64 GiB $1.401 (175%) $1.461 (183%) $1.401 (175%) $0.8
db.r6g.4xlarge 16 cpu / AWS Graviton2 Processor / 2.5 GHz / 128 GiB $1.718 (213%) $1.798 (223%) $1.718 (213%) $2.076 (257%) $2.076 (257%) $0.8064
db.r5.4xlarge 16 cpu / Intel Xeon Platinum 8175 (Skylake) / 3.1 GHz / 128 GiB $1.92 (190%) $2 (198%) $1.92 (190%) $2.32 (230%) $2.32 (230%) $1.008
db.r4.4xlarge 16 cpu / Intel Xeon E5-2686 v4 (Broadwell) / 2.3 GHz / 122 GiB $1.92 (180%) $2 (188%) $1.92 (180%) $2.32 (218%) $2.32 (218%) $1.064
db.r5b.4xlarge 16 cpu / Intel Xeon Platinum 8259 (Cascade Lake) / 3.1 GHz / 128 GiB $2.368 (199%) $2.368 (199%) $2.368 (199%) $1.192
db.m6g.8xlarge 32 cpu / AWS Graviton2 Processor / 3.1 GHz / 128 GiB $2.432 (197%) $2.544 (206%) $2.432 (197%) $1.232
db.r3.4xlarge 16 cpu / Intel Xeon E5-2670 v2 (Ivy Bridge) / 2.5 GHz / 122 GiB $1.89 (142%) $1.99 (150%) $1.89 (142%) $2.32 (174%) $1.33
db.m5.8xlarge 32 cpu / Intel Xeon Platinum 8175 (Skylake) / 3.1 GHz / 128 GiB $2.74 (178%) $2.848 (185%) $2.74 (178%) $1.536
db.r6g.8xlarge 32 cpu / AWS Graviton2 Processor / 2.5 GHz / 256 GiB $3.437 (213%) $3.597 (223%) $3.437 (213%) $4.153 (258%) $4.153 (258%) $1.6128
db.m6g.12xlarge 48 cpu / AWS Graviton2 Processor / 2.5 GHz / 192 GiB $3.648 (197%) $3.816 (206%) $3.648 (197%) $1.848
db.m4.10xlarge 40 cpu / Intel Xeon E5-2676 v3 (Haswell) / 2.4 GHz / 160 GiB $3.502 (175%) $3.654 (183%) $3.502 (175%) $2
db.r5.8xlarge 32 cpu / Intel Xeon Platinum 8175 (Skylake) / 3.1 GHz / 256 GiB $3.84 (190%) $4 (198%) $3.84 (190%) $4.64 (230%) $4.64 (230%) $2.016
db.r4.8xlarge 32 cpu / Intel Xeon E5-2686 v4 (Broadwell) / 2.3 GHz / 244 GiB $3.84 (180%) $4 (188%) $3.84 (180%) $4.64 (218%) $4.64 (218%) $2.128
db.m5.12xlarge 48 cpu / Intel Xeon Platinum 8175 (Skylake) / 3.1 GHz / 192 GiB $4.104 (178%) $4.272 (185%) $4.104 (178%) $2.304
db.r5b.8xlarge 32 cpu / Intel Xeon Platinum 8259 (Cascade Lake) / 3.1 GHz / 256 GiB $4.736 (199%) $4.736 (199%) $4.736 (199%) $2.384
db.r6g.12xlarge 48 cpu / AWS Graviton2 Processor / 2.5 GHz / 384 GiB $5.155 (213%) $5.395 (223%) $5.155 (213%) $6.229 (257%) $6.229 (257%) $2.4192
db.m6g.16xlarge 64 cpu / AWS Graviton2 Processor / 3.1 GHz / 256 GiB $4.864 (197%) $5.088 (206%) $4.864 (197%) $2.464
db.r3.8xlarge 32 cpu / Intel Xeon E5-2670 v2 (Ivy Bridge) / 2.5 GHz / 244 GiB $3.78 (142%) $3.98 (150%) $3.78 (142%) $4.64 (174%) $2.66
db.r5.12xlarge 48 cpu / Intel Xeon Platinum 8175 (Skylake) / 3.1 GHz / 384 GiB $5.76 (190%) $6 (198%) $5.76 (190%) $6.96 (230%) $6.96 (230%) $3.024
db.m5.16xlarge 64 cpu / Intel Xeon Platinum 8175 (Skylake) / 3.1 GHz / 256 GiB $5.47 (178%) $5.696 (185%) $5.47 (178%) $3.072
db.m4.16xlarge 64 cpu / Intel Xeon E5-2686 v4 (Broadwell) / 2.4 GHz / 256 GiB $5.6 (175%) $5.844 (183%) $5.6 (175%) $3.2
db.r6g.16xlarge 64 cpu / AWS Graviton2 Processor / 2.5 GHz / 512 GiB $6.874 (213%) $7.194 (223%) $6.874 (213%) $8.306 (258%) $8.306 (258%) $3.2256
db.r5b.12xlarge 48 cpu / Intel Xeon Platinum 8259 (Cascade Lake) / 3.1 GHz / 384 GiB $7.104 (199%) $7.104 (199%) $7.104 (199%) $3.576
db.r5.16xlarge 64 cpu / Intel Xeon Platinum 8175 (Skylake) / 3.1 GHz / 512 GiB $7.68 (190%) $8 (198%) $7.68 (190%) $9.28 (230%) $9.28 (230%) $4.032
db.r4.16xlarge 64 cpu / Intel Xeon E5-2686 v4 (Broadwell) / 2.3 GHz / 488 GiB $7.68 (180%) $8 (188%) $7.68 (180%) $9.28 (218%) $9.28 (218%) $4.256
db.m5.24xlarge 96 cpu / Intel Xeon Platinum 8175 (Skylake) / 3.1 GHz / 384 GiB $8.208 (178%) $8.544 (185%) $8.208 (178%) $4.608
db.r5b.16xlarge 64 cpu / Intel Xeon Platinum 8259 (Cascade Lake) / 3.1 GHz / 512 GiB $9.472 (199%) $9.472 (199%) $9.472 (199%) $4.768
db.r5.24xlarge 96 cpu / Intel Xeon Platinum 8175 (Skylake) / 3.1 GHz / 768 GiB $11.52 (190%) $12 (198%) $11.52 (190%) $13.92 (230%) $13.92 (230%) $6.048
db.r5b.24xlarge 96 cpu / Intel Xeon Platinum 8259 (Cascade Lake) / 3.1 GHz / 768 GiB $14.208 (199%) $14.208 (199%) $14.208 (199%) $7.152
Instance types MySQL PostgreSQL MariaDB Aurora MySQL Aurora PostgreSQL EC2
db.t1.micro $0.025 (125%) $0.026 (130%) $0.02
db.m1.small $0.055 (125%) $0.06 (136%) $0.044
db.m1.medium $0.115 (132%) $0.12 (138%) $0.087
db.m1.large $0.23 (131%) $0.245 (140%) $0.175
db.m2.xlarge $0.33 (135%) $0.345 (141%) $0.245
db.m1.xlarge $0.465 (133%) $0.49 (140%) $0.35
db.m2.2xlarge $0.66 (135%) $0.69 (141%) $0.49
db.m2.4xlarge $1.32 (135%) $1.39 (142%) $0.98
db.x2g.xlarge $0.652 $0.652 $0.652 $0.754 $0.754
db.x2g.large $0.326 $0.326 $0.326 $0.377 $0.377
db.x2g.8xlarge $5.216 $5.216 $5.216 $6.032 $6.032
db.x2g.4xlarge $2.608 $2.608 $2.608 $3.016 $3.016
db.x2g.2xlarge $1.304 $1.304 $1.304 $1.508 $1.508
db.x2g.16xlarge $10.432 $10.432 $10.432 $12.064 $12.064
db.x2g.12xlarge $7.824 $7.824 $7.824 $9.048 $9.048