mobile logo

Posts tagged EC2

Avoid single points of failure. You can and should assume everything will fail. Start by listing all major points of your architecture, then break it down further, and then maybe one more level. Now review each of these points and consider what would happen if any of these failed. You need to include redundancy or failback plans for each of these areas at a minimum: CloudFront Have an alternate solution for cloudfront if you depend on it.-- MaxCDN, Edgecast, Akamai, etc. Elastic Compute Cloud (EC2) Use Mutiple AZs, and Multiple Regions redundantly for your EC2 instances. Be prepared to utilize an alternate cloud provider in the worst …

Read More

While working on a failed EC2 (ebs backed) instance recently, we were presented with an instance that would not start after reboot or stop/start. tl;dr: Create a snapshot of the existing EBS vol; remount and edit etc/fstab; re-attach and start the instance. The only symptom was in the console log: $ ec2-get-console-output i-nnnnnnnn init: console-setup main process (63) terminated with status 1 %Ginit: plymouth main process (45) killed by SEGV signal init: plymouth-splash main process (194) terminated with status 2 cloud-init running: Sat, 29 Jan 2011 23:33:24 +0000. up 2.65 seconds mountall: Disconnected from Plymouth It turned out this instance was running as a t1.micro instance, which do not …

Read More

"Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers", according to to Amazon. All EC2 instances are sold based on hourly usage and instance type.  Each instances type consists of a certain number of EC2 Compute Units (ECU) and a set RAM size. One EC2 Compute Unit (ECU) provides the equivalent CPU capacity of a 1.0-1.2 GHz 2007 Opteron or 2007 Xeon processor.  Since the ECU is such a vague definition, I wanted to see some benchmarks (but couldn't find any). The …

Read More