Diff for "UEC/Landscape"


Differences between revisions 1 and 2
Revision 1 as of 2009-11-10 16:32:23
Size: 3291
Editor: priceke
Comment:
Revision 2 as of 2009-11-10 16:35:21
Size: 2167
Editor: priceke
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
= First Section = = Getting Started =
Line 13: Line 13:
1. Get a Landscape account. You can get a 60-day trial account by registering here: http://www.canonical.com/contact/landscaperegister .  1.1. Get a Landscape account. You can get a 60-day trial account by registering here: http://www.canonical.com/contact/landscaperegister .
Line 15: Line 15:
2. Get an official SSL certificate from a root-trusted SSL certificate authority (CA).  1.2. Get an official SSL certificate from a root-trusted SSL certificate authority (CA).
Line 17: Line 17:
3. Use the Apache mod_ssl instructions from your provider. In the process, you will create a key then you will get a certificate from your CA. You need both files.  1.3. Use the Apache mod_ssl instructions from your provider. In the process, you will create a key then you will get a certificate from your CA. You need both files.
Line 19: Line 19:
4. Edit /etc/apache2/sites-available/default-ssl  1.4. Edit /etc/apache2/sites-available/default-ssl
Line 26: Line 26:
5. Do a  1.5. Do a
Line 34: Line 34:
6. Do a  1.6. Do a
Line 40: Line 40:
7. Once you have your certificate and you have stunnel installed, you need to combine the two into a pem file called /etc/stunnel/stunnel.pem :  1.7. Once you have your certificate and you have stunnel installed, you need to combine the two into a pem file called /etc/stunnel/stunnel.pem :
Line 44: Line 44:
8. Then do a  1.8. Then do a
Line 48: Line 48:
9. In Landscape, click Cloud then Register a new cloud, under Cloud Provider choose Other then use the following URL for your endpoint:  1.9. In Landscape, click Cloud then Register a new cloud, under Cloud Provider choose Other then use the following URL for your endpoint:
Line 63: Line 63:

= Third Section =

Some sections may just contain a list of links. It is sometimes useful to include a short explanation of what the links are for. For example: 'Ubuntu includes the following Internet applications by default.'

 * <Link> - Lists of links should have bullets. Link text should not be in bold. Each link should be followed by a short explanation of the link.
 * <Link> - Explanations of links should be written as full sentences.

= See Also =

A see also section can be used to point users towards other trusted Ubuntu resources. For example, if a page exists in the official documentation on http://help.ubuntu.com, you can link to such a page. This section is optional.

 * <Link> - Explanation of link.
 * <Link> - Explanation of link.
 * <Link> - Explanation of link.

= External Links =

An external links section can be used to point users towards general information about the subject matter of the page, such as a [[http://en.wikipedia.org|wikipedia]] entry or project homepage. This section is optional.

 * <Link> - Explanation of link.
 * <Link> - Explanation of link.
 * <Link> - Explanation of link.

Connecting UEC to Landscape

This page describes how you can connect your UEC cloud to the Canonical Landscape service.

Getting Started

How to connect your UEC cloud to Landscape:

  • 1.1. Get a Landscape account. You can get a 60-day trial account by registering here: http://www.canonical.com/contact/landscaperegister . 1.2. Get an official SSL certificate from a root-trusted SSL certificate authority (CA). 1.3. Use the Apache mod_ssl instructions from your provider. In the process, you will create a key then you will get a certificate from your CA. You need both files. 1.4. Edit /etc/apache2/sites-available/default-ssl

and change the lines below to reflect the location of your SSL certificate and key:

SSLCertificateFile /path/to/your/certificate SSLCertificateKeyFile /path/to/your/key

  • 1.5. Do a

stop eucalyptus

then a

start eucalyptus

  • 1.6. Do a

sudo apt-get install stunnel4

You need stunnel in order to communicate with Landscape.

  • 1.7. Once you have your certificate and you have stunnel installed, you need to combine the two into a pem file called /etc/stunnel/stunnel.pem :

cat key.key certificate.cert > /etc/stunnel/stunnel.pem

  • 1.8. Then do a

sudo stunnel -d 443 -r localhost:8773

  • 1.9. In Landscape, click Cloud then Register a new cloud, under Cloud Provider choose Other then use the following URL for your endpoint:

Go to your eucarc file and examine the EC2_URL value, alternatively you could do a

echo $EC2_URL (as long as you have included the eucarc in your environment).

Use this URL, but change port 8773 to 443 like so:

EC2_URL http://192.168.1.1:8773/services/Eucalyptus

http://192.168.1.1:443/services/Eucalyptus

Use the Access Key ID and Secret Access Key from your Credentials page on your UEC web interface.

Click Save and you should be done.

UEC/Landscape (last edited 2011-01-20 13:03:04 by host-41)