帮酷LOGO

openstack - How can I configure Juju for deployment on HP Cloud?

在HP云上,如何为部署配置 Juju?

将光标移到/点击文章中的句子上,可以查看译文。 显示原文      显示译文      双语对照    源址

  • 显示内容
文章标签:  Openstack  juju  部署  DEP  



Question :

HP Cloud has a new cloud service out based on Open Stack.how can i configure my environments.yaml to connect to the new service?


Answer 1 :

If you have juju-quickstart installed, you can do juju quickstart -i ; this will give you a form to fill out for your cloud provider.

Here are the full instructions :

Official docs :


Answer 2 :

You will also need to set your access-key and secret-key information as an environment variable or in the environments.yaml file.

Adding to your environments.yaml file should make it look like this :


environments:


 hpcloud:


 juju-origin: ppa


 control-bucket: juju-hpc-az1-cb


 admin-secret: [any-unique-string-shared-among-admins-u-like]


 default-image-id: [8419]


 region: az-1.region-a.geo-1


 project-name: [your@hpcloud.com-tenant-name]


 default-instance-type: standard.small


 auth-url: https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/


 auth-mode: keypair


 type: openstack


 default-series: precise


 authorized-keys: [CONTENTS (not path) to your ~/.ssh/id_rsa.pub key]


 access-key: [PUT YOUR ACCESS-KEY HERE] 


 secret-key: [PUT YOUR SECRET-KEY HERE]'



You can find the access-key and secret-key by logging into your HP cloud control panel and displaying your API keys.




文章标签:DEP    部署  Openstack  juju  

Copyright © 2011 HelpLib All rights reserved.    知识分享协议 京ICP备05059198号-3  |  如果智培  |  酷兔英语