1 package Oyster::Provision::Rackspace;
4 has 'name' => ( is => 'ro', isa => 'Str', required => 1 );
5 has 'size' => ( is => 'ro', isa => 'Str', required => 1 );
6 has 'image' => ( is => 'ro', isa => 'Str', required => 1 );
7 has 'pub_ssh' => ( is => 'ro', isa => 'Str', required => 1 );
35 Oyster::Provision::Rackspace -- Provision your Oyster on Rackspace
39 Use the Rackspace backend on your Oyster configuration file
41 =head1 REQUIRED PARAMETERS
43 The following are required to instantiate a backend:
49 The name of your new/existing rackspace server.
53 The size ID of the rackspace server you want to create.
54 Use the following incantation to see them:
56 perl -MNet::RackSpace::CloudServers -e'
57 $r=Net::RackSpace::CloudServers->new(
58 user=>$ENV{CLOUDSERVERS_USER},
59 key=>$ENV{CLOUDSERVERS_KEY},
62 { "id $_->{id} ram $_->{ram} disk $_->{disk}\n" }
69 id 5 ram 4096 disk 160
70 id 6 ram 8192 disk 320
71 id 7 ram 15872 disk 620
75 The image ID of the rackspace server you want to create.
76 Use the following incantation to see them:
78 perl -MNet::RackSpace::CloudServers -e'
79 $r=Net::RackSpace::CloudServers->new(
80 user=>$ENV{CLOUDSERVERS_USER},
81 key=>$ENV{CLOUDSERVERS_KEY},
84 { "id $_->{id} name $_->{name}\n" }
87 id 29 name Windows Server 2003 R2 SP2 x86
88 id 69 name Ubuntu 10.10 (maverick)
89 id 41 name Oracle EL JeOS Release 5 Update 3
90 id 40 name Oracle EL Server Release 5 Update 4
91 id 187811 name CentOS 5.4
92 id 4 name Debian 5.0 (lenny)
93 id 10 name Ubuntu 8.04.2 LTS (hardy)
94 id 23 name Windows Server 2003 R2 SP2 x64
95 id 24 name Windows Server 2008 SP2 x64
96 id 49 name Ubuntu 10.04 LTS (lucid)
97 id 14362 name Ubuntu 9.10 (karmic)
98 id 62 name Red Hat Enterprise Linux 5.5
102 id 31 name Windows Server 2008 SP2 x86
103 id 51 name CentOS 5.5
104 id 14 name Red Hat Enterprise Linux 5.4
105 id 19 name Gentoo 10.1
106 id 28 name Windows Server 2008 R2 x64
107 id 55 name Arch 2010.05
109 Oyster only supports Linux images, specifically
110 Ubuntu 10.10 (maverick).
114 The public ssh key you would like copied to the
115 new server's C</root/.ssh/authorized_keys> file
116 to allow you to ssh in the box without providing