ec2 cheat sheet
Monday, December 28th, 2009http://cheat.errtheblog.com/s/ec2/
ec2 cheat sheet
ec2baseAmazon EC2 by Robot and Me |
|
http://cheat.errtheblog.com/s/ec2/
ec2 cheat sheet
The Zend Framework contains several classes that make using cloud-based storage services easy. Part 1 of this “Cloud computing with PHP” series looks at using Zend classes with Amazon’s S3 cloud storage service. This article covers the Zend classes that make it easy to work with virtual machines in Amazon’s Elastic Compute Cloud (EC2).
http://stackoverflow.com/questions/1967452/ec2-and-login-logging
Hello – I have set up several EC2 instances and intend to give multiple users access to them via SSH. Is there any file on the server that monitors who logs in and when?
SSH logins are usually logged automatically in /var/log/auth.log. You can grep this file to check who logged in and when.
http://tech.backtype.com/swap-space-on-ec2
Recently, while investigating some mysterious crashes we were experiencing, I discovered that certain EC2 instance types have no allocated swap space. This post covers some basics of swap, what I learned about swap partitions on EC2 instances, and what you can to create swap on the machines that do not have any.
http://blogs.23.nu/c0re/2009/12/running-a-couchdb-cluster-on-amazon-ec2/
CouchDB is a nearly zero-configuration multi-master document oriented database. It is a awsome product build by an awsome team.
So far I have been using CouchDB like we would have used any other modern Document Datastore: in a centraized fashion. One Server at our premises. For backup purposes we replicated on a second couchdb instance running on our backup server.
Hosting about 300 GB of data a small 2.6 GHz Server with consumer-grade disks we started seeing preformance issues. Also we see latency issues since we are hosting some application at Amazon EC2 “in the cloud” which results an an addiotional 40 ms delay for all queries to our locally hosted server.
http://www.linuxjournal.com/article/6675
Link your home and office securely with a virtual private network.
Can use for office/cloud link
http://blog.shutupandcode.net/?p=374
Solr, Zabbix, Selenium
Who are you? You are running a VPS server (AMI, image, running as an instance) in the US location, of the Amazon EC2 service. And you want to perform a simple task: have the instance run in the EU (European Union) location.
Why are you here? Because this ’simple task’ can drive a normal person insane. There are bits of answers that are scattered all over the Internet, and you can’t find your head from your tail in all that noise.
I use Amazon’s ec2 for most of my server needs and then some.
And have decided to document some of these uses, for others benefit.
http://tech.mangot.com/roller/dave/entry/on_running_terracotta_on_ec2
One recent project he asked me to do was run a large test of Terracotta on a cloud. Any cloud. So I set out to find an appropriate cloud environment and a way to run one of our session clustering tests. What I wound up with was a framework that can be used to scale anything on EC2 with relative ease.
http://www.vincestross.com/2009/04/upgrade-an-ec2-instance/
I’ve been using the Amazon Elastic Computing Cloud (EC2) for running our web servers at NetCrafters for almost a year now. It’s been an amazing experience and I’ve kept a detailed account of many of the lessons learned.
Amazon Web ServicesThe most recent challenge came when our servers just started locking-up for no reason. The sites would still be responding so we knew the LAMP stack was still limping along, but they were completely unresponsive via SSH. The only way to regain control was to issue a reboot through the Amazon API command line tools. Even this would sometimes take two or three times before the server would cycle.
kernel BUG at arch/i386/mm/pgtable-xen.c:306!
I haven’t implemented it yet, but I came across Facebook Scribe, and it seems like a good idea. http://developers.facebook.com/scribe/
Have a look at the free version of Splunk – it will handle the remote log file collection and also give you some really nice search and analysis tools.