Sedai raises $20 million for the first self-driving cloud!
Read Press Release

Attend a Live Product Tour to see Sedai in action.

Register now
More
Close
AWS

t2.xlarge

EC2 Instance

Burstable performance instance with 4 vCPUs and 16 GiB memory. Suitable for moderate workloads with occasional CPU spikes.

Coming Soon...

icon
Pricing of
t2.xlarge

N/A

On Demand

N/A

Spot

N/A

1 Yr Reserved

N/A

3 Yr Reserved

Pricing Model
Price (USD)
% Discount vs On Demand
sedai

Let us help you choose the right instance

Schedule a meeting
icon
Spot Pricing Details for
t2.xlarge

Here's the latest prices for this instance across this region:

Availability Zone Current Spot Price (USD)
Frequency of Interruptions: n/a

Frequency of interruption represents the rate at which Spot has reclaimed capacity during the trailing month. They are in ranges of < 5%, 5-10%, 10-15%, 15-20% and >20%.

Last Updated On: December 17, 2024
icon
Compute features of
t2.xlarge
FeatureSpecification
icon
Storage features of
t2.xlarge
FeatureSpecification
icon
Networking features of
t2.xlarge
FeatureSpecification
icon
Operating Systems Supported by
t2.xlarge
Operating SystemSupported
icon
Security features of
t2.xlarge
FeatureSupported
icon
General Information about
t2.xlarge
FeatureSpecification
icon
Benchmark Test Results for
t2.xlarge
CPU Encryption Speed Benchmarks

Cloud Mercato tested CPU performance using a range of encryption speed tests:

Encryption Algorithm Speed (1024 Block Size, 3 threads)
AES-128 CBC N/A
AES-256 CBC N/A
MD5 N/A
SHA256 N/A
SHA512 N/A
I/O Performance

Cloud Mercato's tested the I/O performance of this instance using a 100GB General Purpose SSD. Below are the results:

Read Write
Max 3111 3110
Average 3095 3093
Deviation 6.35 6.41
Min 3091 3089

I/O rate testing is conducted with local and block storages attached to the instance. Cloud Mercato uses the well-known open-source tool FIO. To express IOPS the following parametersare used: 4K block, random access, no filesystem (except for write access with root volume and avoidance of cache and buffer.

icon
Community Insights for
t2.xlarge
AI-summarized insights
filter icon
Filter by:
All

the T series is more suitable for non-performance-verified test environments

19-03-2025
benchmarking

the T series is more suitable for non-performance-verified test environments

19-03-2025
benchmarking

T2 is a burstable instance type If you run out of CPU credits, CPU is throttled and performance degrades

19-06-2024
cpu_credits, benchmarking

This blog post explains AWS EC2 instance types and categories as well as provides come recommendations to help you make the right decision when you need to run an instance in the Amazon cloud.

2023-01-06 00:00:00

I think the discrepancies can be attributed to the choice of the t-style instances. They are generally over committed.

2023-09-10 00:00:00
benchmarking

Aren\'t \'t\' instances burst instances? They need to be under constant load for a long time before their burst credits for CPU, memory, network and EBS run out, after which they fall back on their baseline performance.

2023-09-10 00:00:00
memory_usage, benchmarking

I think the discrepancies can be attributed to the choice of the t-style instances. They are generally over committed.

2023-09-10 00:00:00
benchmarking

Aren\'t \'t\' instances burst instances? They need to be under constant load for a long time before their burst credits for CPU, memory, network and EBS run out, after which they fall back on their baseline performance.

2023-09-10 00:00:00
memory_usage, benchmarking

Thank you for this article. We have T instances for EC2 and RDS and we are expecting some very strange performance behavior. Do you have plan to test RDS?

2025-10-03 00:00:00
benchmarking

This is super well documented by aws themselves and if you understood how they work before creating the article then you probably would not have written it. Please do research before writing scare articles just for clicks. That’s just lame brother.

2025-10-03 00:00:00

Thank you for this article. We have T instances for EC2 and RDS and we are expecting some very strange performance behavior. Do you have plan to test RDS?

2025-10-03 00:00:00
benchmarking

This is super well documented by aws themselves and if you understood how they work before creating the article then you probably would not have written it. Please do research before writing scare articles just for clicks. That’s just lame brother.

2025-10-03 00:00:00

I think the discrepancies can be attributed to the choice of the t-style instances. They are generally over committed.

2023-09-10 00:00:00
benchmarking

Aren\'t \'t\' instances burst instances? They need to be under constant load for a long time before their burst credits for CPU, memory, network and EBS run out, after which they fall back on their baseline performance.

2023-09-10 00:00:00
memory_usage, benchmarking

T2 instances do not have Unlimited mode turned on by default. Without Unlimited mode turned on, once the CPU credits have been exhausted, the server goes into a shallow resource usage state. Its CPU performance and network performance are lessened considerably until the CPU credits have accumulated again. We've seen this first hand on quite a few occasions now, even causing production outages.

2025-10-03 00:00:00
cpu_credits, benchmarking

Thank you for this article. We have T instances for EC2 and RDS and we are expecting some very strange performance behavior. Do you have plan to test RDS?

2025-10-03 00:00:00
benchmarking

This is super well documented by aws themselves and if you understood how they work before creating the article then you probably would not have written it. Please do research before writing scare articles just for clicks. That’s just lame brother.

2025-10-03 00:00:00

You can count t2 as upgrade of t1. In general t2 offer faster access to memory and disk compared to t1.

2022-07-23 00:00:00
memory_usage, benchmarking

Back when I worked at AWS and t1s were still the big thing, we had a policy of telling customers to never run a production site on a t1.micro .

2018-04-26 00:00:00

T2 instances are low-cost, General Purpose instance type that provide a baseline level of CPU performance with the ability to burst above the baseline.

2018-04-26 00:00:00
benchmarking, cost_savings

As I myself learned the hard way, T2 are awful for production websites with sustained high traffic.

2018-04-26 00:00:00
benchmarking, web_hosting

Back when I worked at AWS and t1s were still the big thing, we had a policy of telling customers to never run a production site on a t1.micro .

2018-04-26 00:00:00

T2 instances are low-cost, General Purpose instance type that provide a baseline level of CPU performance with the ability to burst above the baseline.

2018-04-26 00:00:00
benchmarking, cost_savings

As I myself learned the hard way, T2 are awful for production websites with sustained high traffic.

2018-04-26 00:00:00
benchmarking, web_hosting

Why use t2 instances of t2.large or larger? The price difference to go to m5 instances is negligible[1], and with m5 you don't have to worry about CPU credits and you get better networking.

2018-04-26 00:00:00
cpu_credits, cost_savings

This is false information. Instance retirement event is just host maintenance event. NOT THE replacement process.

2025-02-26 00:00:00

So, there is no specific date to end support for older instance type, they are retired gradually and we are only notified through scheduled events?

2024-10-03 00:00:00

For detailed information on the process and implications of instance retirement, please refer to the following resource: [Understanding Instance Retirement on AWS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-retirement.html). Additional [Scheduled events for your instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-instances-status-check_sched.html)

2024-10-05 00:00:00

That's a great news! Thank you for the link

2024-10-03 00:00:00

T2 instances will only save you some money on smaller instances. Bigger ones, like `t2.xlarge` has no advantage over let's say memory optimized instances unless you need burstable processing resources for a period of time.

2017-01-23 00:00:00
memory_usage, cost_savings

Back when I worked at AWS and t1s were still the big thing, we had a policy of telling customers to never run a production site on a t1.micro .

2018-04-26 00:00:00

As I myself learned the hard way, T2 are awful for production websites with sustained high traffic.

2018-04-26 00:00:00
benchmarking, web_hosting

T2 instances are low-cost, General Purpose instance type that provide a baseline level of CPU performance with the ability to burst above the baseline.

2018-04-26 00:00:00
benchmarking, cost_savings

Why use t2 instances of t2.large or larger? The price difference to go to m5 instances is negligible[1], and with m5 you don't have to worry about CPU credits and you get better networking.

2018-04-26 00:00:00
cpu_credits, cost_savings

As sktan mentioned, T2, T3a and T3 are burstable, which means you don't get to use 100% of the CPU all the time. If your job is CPU-bound, I doubt a burstable instance will be cost effective.

The difference between t2 and c6g instances is the burstable nature of the t2 instance. A t2.micro is cheap because of the way the credit system works, where you can't always use 100% of your CPU and can only burst there periodically.

As sktan mentioned, T2, T3a and T3 are burstable, which means you don't get to use 100% of the CPU all the time. If your job is CPU-bound, I doubt a burstable instance will be cost effective.

The difference between t2 and c6g instances is the burstable nature of the t2 instance. A t2.micro is cheap because of the way the credit system works, where you can't always use 100% of your CPU and can only burst there periodically.

As sktan mentioned, T2, T3a and T3 are burstable, which means you don't get to use 100% of the CPU all the time. If your job is CPU-bound, I doubt a burstable instance will be cost effective.

The difference between t2 and c6g instances is the burstable nature of the t2 instance. A t2.micro is cheap because of the way the credit system works, where you can't always use 100% of your CPU and can only burst there periodically.

As sktan mentioned, T2, T3a and T3 are burstable, which means you don't get to use 100% of the CPU all the time. If your job is CPU-bound, I doubt a burstable instance will be cost effective.

The difference between t2 and c6g instances is the burstable nature of the t2 instance. A t2.micro is cheap because of the way the credit system works, where you can't always use 100% of your CPU and can only burst there periodically.

As sktan mentioned, T2, T3a and T3 are burstable, which means you don't get to use 100% of the CPU all the time. If your job is CPU-bound, I doubt a burstable instance will be cost effective.

The difference between t2 and c6g instances is the burstable nature of the t2 instance. A t2.micro is cheap because of the way the credit system works, where you can't always use 100% of your CPU and can only burst there periodically.

As sktan mentioned, T2, T3a and T3 are burstable, which means you don't get to use 100% of the CPU all the time. If your job is CPU-bound, I doubt a burstable instance will be cost effective.

The difference between t2 and c6g instances is the burstable nature of the t2 instance. A t2.micro is cheap because of the way the credit system works, where you can't always use 100% of your CPU and can only burst there periodically.

As sktan mentioned, T2, T3a and T3 are burstable, which means you don't get to use 100% of the CPU all the time. If your job is CPU-bound, I doubt a burstable instance will be cost effective.

The difference between t2 and c6g instances is the burstable nature of the t2 instance. A t2.micro is cheap because of the way the credit system works, where you can't always use 100% of your CPU and can only burst there periodically.

If you have an application that needs to run with some basic CPU and memory usage, you can choose t3. It also works well if you have an application that gets used sometimes but not others.

The t3 family is a burstable instance type. If you have an application that needs to run with some basic CPU and memory usage, you can choose t3. It also works well if you have an application that gets used sometimes but not others.

CPU credits only apply to T2/T3 instances.

The t3 family is a burstable instance type. If you have an application that needs to run with some basic CPU and memory usage, you can choose t3. It also works well if you have an application that gets used sometimes but not others.

CPU credits only apply to T2/T3 instances. Each T2/T3 instance accumulates some CPU credits per second and also when it's in use (i.e. not "idle") it spends these CPU credits. When it runs out of credits it either slows down to the baseline performance (T2 default) or keeps running at full speed with you paying for the extra credits needed (T3 default and T2 "unlimited mode").

The t3 family is a burstable instance type. If you have an application that needs to run with some basic CPU and memory usage, you can choose t3. It also works well if you have an application that gets used sometimes but not others.

Depending on the age of the instance, "unlimited CPU" might not have been enabled.

T2 instances are very performant (better processors than m4/5). But the catch is in T2 is that they handle only certain amount of load during 24hrs period. For 24/7 usage M and C are better. But depending on the overall load during a day T2s can be better. For example if you have typical 8 hrs a day usage T2 will probably be good. T2 have daily credit system that allows certain amount of full speed usage during a day then the performance drops (needs to be constant and heavy use for many hours)

This is false information. Instance retirement event is just host maintenance event. NOT THE replacement process.

T2 instances are very performant (better processors than m4/5). But the catch is in T2 is that they handle only certain amount of load during 24hrs period.

This is false information. Instance retirement event is just host maintenance event. NOT THE replacement process.

So, there is no specific date to end support for older instance type, they are retired gradually and we are only notified through scheduled events?

For detailed information on the process and implications of instance retirement, please refer to the following resource: [Understanding Instance Retirement on AWS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-retirement.html). Additional [Scheduled events for your instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-instances-status-check_sched.html)

That's a great news! Thank you for the link

So, there is no specific date to end support for older instance type, they are retired gradually and we are only notified through scheduled events?

For detailed information on the process and implications of instance retirement, please refer to the following resource: [Understanding Instance Retirement on AWS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-retirement.html). Additional [Scheduled events for your instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-instances-status-check_sched.html)

That's a great news! Thank you for the link

As sktan mentioned, T2, T3a and T3 are burstable, which means you don't get to use 100% of the CPU all the time. If your job is CPU-bound, I doubt a burstable instance will be cost effective.

The difference between t2 and c6g instances is the burstable nature of the t2 instance. A t2.micro is cheap because of the way the credit system works, where you can't always use 100% of your CPU and can only burst there periodically.

As sktan mentioned, T2, T3a and T3 are burstable, which means you don't get to use 100% of the CPU all the time. If your job is CPU-bound, I doubt a burstable instance will be cost effective.

The difference between t2 and c6g instances is the burstable nature of the t2 instance. A t2.micro is cheap because of the way the credit system works, where you can't always use 100% of your CPU and can only burst there periodically.

As sktan mentioned, T2, T3a and T3 are burstable, which means you don't get to use 100% of the CPU all the time. If your job is CPU-bound, I doubt a burstable instance will be cost effective.

The difference between t2 and c6g instances is the burstable nature of the t2 instance. A t2.micro is cheap because of the way the credit system works, where you can't always use 100% of your CPU and can only burst there periodically.

As sktan mentioned, T2, T3a and T3 are burstable, which means you don't get to use 100% of the CPU all the time. If your job is CPU-bound, I doubt a burstable instance will be cost effective.

The difference between t2 and c6g instances is the burstable nature of the t2 instance. A t2.micro is cheap because of the way the credit system works, where you can't always use 100% of your CPU and can only burst there periodically.

As sktan mentioned, T2, T3a and T3 are burstable, which means you don't get to use 100% of the CPU all the time. If your job is CPU-bound, I doubt a burstable instance will be cost effective.

The difference between t2 and c6g instances is the burstable nature of the t2 instance. A t2.micro is cheap because of the way the credit system works, where you can't always use 100% of your CPU and can only burst there periodically.

Load More
Similar Instances to
t2.xlarge

Consider these:

Feedback

We value your input! If you have any feedback or suggestions about this t4g.nano instance information page, please let us know.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.