... more stuff
at
php-app-engine.com

Archive for the ‘Misc’ Category

ec2 cheat sheet

Monday, December 28th, 2009

http://cheat.errtheblog.com/s/ec2/

ec2 cheat sheet

Cloud computing with php (IBM/Zend)

Monday, December 28th, 2009

http://www.ibm.com/developerworks/views/opensource/libraryview.jsp?search_by=cloud+computing+with+php


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).

EC2 and login logging

Sunday, December 27th, 2009

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.

Swap Space On EC2

Saturday, December 26th, 2009

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.

Running a CouchDB cluster on Amazon EC2

Sunday, December 20th, 2009

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.

VTun

Wednesday, December 16th, 2009

http://www.linuxjournal.com/article/6675

Link your home and office securely with a virtual private network.

Can use for office/cloud link

Amazon EC2 – Fedora/Linux Startup Guide

Wednesday, December 9th, 2009

http://blog.shutupandcode.net/?p=374

Solr, Zabbix, Selenium

Create and Move an Amazon EC2 AMI from us to eu region

Sunday, December 6th, 2009

http://sderot.dotanmazor.com/index.php?option=com_content&view=article&id=96:ec2-ami-move&catid=16:2008-11-14-08-43-34&Itemid=48

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.

ec2 – Amazon Elastic Compute Cloud tips and howtos

Tuesday, December 1st, 2009

http://flurdy.com/docs/ec2/

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.

Terracotta tests on the Cloud – Part 1

Tuesday, November 24th, 2009

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.

Upgrade an EC2 Instance from 2.6.16 to 2.6.18

Tuesday, November 24th, 2009

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!

What’s a good way to collect logs from Amazon EC2 instances?

Friday, November 20th, 2009

http://stackoverflow.com/questions/1761609/whats-a-good-way-to-collect-logs-from-amazon-ec2-instances


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.