-
Notifications
You must be signed in to change notification settings - Fork 12
Cloud Scheduler Test Drive
igable edited this page Oct 21, 2010
·
10 revisions
We’ve created an Amazon EC2 AMI to test out Cloud Scheduler. To run it, you’ll need an EC2 account.
First, create a cloudscheduler security group. We do this to avoid changing any of your default security settings.
$ ec2addgrp cloudscheduler -d "Used for Cloud Scheduler"
$ ec2auth cloudscheduler -P tcp -p 22
$ ec2auth cloudscheduler -P tcp -p 40000-40050
$ ec2auth cloudscheduler -P udp -p 40000-40050
$ ec2auth cloudscheduler -P tcp -p 9618
$ ec2auth cloudscheduler -P udp -p 9618
The test drive AMI id is ami-f9ff1190, which you can start up with the following command (assuming you have a keypair called “ec2-keypair”)
$ ec2run ami-f9ff1190 -k ec2-keypair -g cloudscheduler
RESERVATION r-68cfca00 698921978758 cloudscheduler
INSTANCE i-df6cfcb4 ami-f9ff1190 pending ec2-keypair 0 m1.small 2010-04-07T18:36:50+0000 us-east-1d aki-9b00e5f2 monitoring-disabled
Once the image is booted, ssh as the root user to the machine, and read through the README.
$ ssh -i ~/.ec2/id_rsa-ec2-keypair [email protected]
[root@ec2-75-101-197-134 ~]# cat README
From there, you’ll be guided on how to run Cloud Scheduler.