M4 General Purpose
Balanced compute, memory, and networking for a wide range of workloads.
Name:
mGeneral Purposem = General PurposeBalanced compute, memory, and networking resources for a wide variety of standard enterprise workloads and microservices.44th Generation4 = 4th GenerationAWS 4th generation hardware platform with updated CPU/system architecture.Alternatives to m4
| Option | Price vs m4 | Why look at it |
|---|---|---|
| m5Compare → | -4%-$0.008/hr xlarge, Linux on-demand, us-east-1 | Newer generation, same vCPU and RAM |
| m6iCompare → | -4%-$0.008/hr xlarge, Linux on-demand, us-east-1 | Newer generation, same vCPU and RAM |
| m7iCompare → | +1%+$0.0016/hr xlarge, Linux on-demand, us-east-1 | Newer generation, same vCPU and RAM |
| m7gCompare → | -18%-$0.0368/hr xlarge, Linux on-demand, us-east-1 | Graviton (arm64), newer generation, same vCPU and RAM |
Common use cases
- Web servers
- Application servers
- Small-to-medium databases
- Development environments
Head-to-Head Architecture Comparisons
View all comparisons →Instance types (6)
| Instance | vCPU | Memory | Architecture | From (Linux, $/hr) |
|---|---|---|---|---|
| m4.large | 2 | 8 GB | x86_64 | $0.1000 |
| m4.xlarge | 4 | 16 GB | x86_64 | $0.2000 |
| m4.2xlarge | 8 | 32 GB | x86_64 | $0.4000 |
| m4.4xlarge | 16 | 64 GB | x86_64 | $0.8000 |
| m4.10xlarge | 40 | 160 GB | x86_64 | $2.0000 |
| m4.16xlarge | 64 | 256 GB | x86_64 | $3.2000 |