Posts Tagged: CloudWatch

AWS t1.micro 100% CPU

Sometimes EC2 CloudWatch monitoring shows 100% CPU usage, but when you SSH into your instance and check it with ‘top’, it’s hard to tell what is happening. Amazon is probably “borrowing” some of your CPU cycles to give to someone else who needs them. This is standard practice in a virtualized environment where physical server resources like RAM and CPU cycles are often heavily overcommitted.

slowTo check for CPU steal, run top and look at the %st value. If this value is anything other than zero, your VM’s CPU cycles are being “borrowed”.

To watch per-core steal time continuously over 1-second intervals, you can also run:

mpstat -P ALL 1

Modern Note: Legacy t1.micro shared baseline CPU aggressively when noisy neighbors spiked. Modern Nitro-based T3/T4g instances (and Dedicated hosts) isolate vCPUs much more predictably as long as CPU credits stay positive.

Amazon Web Services: Free Tier

Amazon Web Services cloud platform logo

How do you get started with AWS for free?
Just go to https://aws.amazon.com/free/ and create your account.
A credit card is required, even for a free account.

Historical Context (2013): When this article was written, AWS Free Tier offered t1.micro instances with 613 MB of RAM. Modern AWS Free Tier accounts provide t2.micro / t3.micro instances (1 GB RAM) for 12 months plus selected Always Free allowances (such as DynamoDB and AWS Lambda).

What can you do with the free account?
It’s up to you! If you are building a light-traffic website, the Free Tier can handle it. 🙂

You can have up to two EC2 instances (1 Linux, 1 Windows) with 613 MB of RAM and up to 30 GB of EBS storage. You can use all 30 GB on a Linux instance, which is the best way to spend your “free” resources (Windows is memory-hungry).

You can have up to one RDS instance (PostgreSQL, MySQL, …) with 20 GB of database storage and 20 GB for backups.

You can use Amazon S3 with up to 5 GB of storage and up to 20k PUT and 20k GET requests.

You can have up to one Memcached node with 213 MB of RAM.

And a few other services (ELB, DynamoDB, SNS, CloudWatch, …).

Continue reading