Size: 2188
Comment:
|
Size: 2191
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
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 . | 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). | 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. | 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 | Edit /etc/apache2/sites-available/default-ssl |
Line 25: | Line 25: |
5. Do a |
Do a |
Line 37: | Line 37: |
6. Do a | Do a |
Line 45: | Line 45: |
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 : | 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 51: | Line 51: |
8. Then do a | Then do a |
Line 57: | Line 57: |
9. In Landscape, click Cloud then Register a new cloud, under Cloud Provider choose Other then use the following URL for your endpoint: | In Landscape, click Cloud then Register a new cloud, under Cloud Provider choose Other then use the following URL for your endpoint: |
Line 65: | Line 65: |
EC2_URL http://192.168.1.1:8773/services/Eucalyptus | From EC2_URL: http://192.168.1.1:8773/services/Eucalyptus |
Line 67: | Line 67: |
http://192.168.1.1:443/services/Eucalyptus | Change to : http://192.168.1.1:443/services/Eucalyptus |
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:
Get a Landscape account. You can get a 60-day trial account by registering here: http://www.canonical.com/contact/landscaperegister . Get an official SSL certificate from a root-trusted SSL certificate authority (CA). 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. 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
- Do a
stop eucalyptus
then a
start eucalyptus
- Do a
sudo apt-get install stunnel4
You need stunnel in order to communicate with Landscape.
- 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
- Then do a
sudo stunnel -d 443 -r localhost:8773
- 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:
From EC2_URL: http://192.168.1.1:8773/services/Eucalyptus
Change to : 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.