Question: How to configure cloud launch app for aws?
gravatar for richard_martinez
11 weeks ago by
richard_martinez0 wrote:

Hello. I am new to AWS and Galaxy, though I'm comfortable with technology. I am trying to set up a Cloudman Galaxy system in a private AWS subnet following the instructions at I was able to install the Cloud Launch app and can successfully log into the admin page. However, I'm now trying to add a cloud entry, and I don't know what values to provide to configure it. For example, is reasonable for a Region endpoint? What are EC2 port and EC2 conn path referring to? Does S3 host apply to aws, or leave it blank?

I've tried to access the Documentation link at the top of the admin page, but it tells me to install docutils. I installed it (sudo apt-get install python-docutils), restarted the app via supervisor, and I still get the same message.

I would appreciate any assistance in understanding what is expected in all these configuration fields. If this is already addressed in the documentation, then help getting the documentation working would be great.

Thanks. Richard

galaxy cloudman • 99 views
ADD COMMENTlink modified 8 weeks ago • written 11 weeks ago by richard_martinez0
gravatar for Enis Afgan
9 weeks ago by
Enis Afgan450
United States
Enis Afgan450 wrote:

Here's an example for the values: enter image description here The values come from the AWS docs, e.g.,

Since you're setting this up, you may consider using the new version of CloudLaunch that will soon become the default: (granted, that one has less documentation for this time being).

ADD COMMENTlink written 9 weeks ago by Enis Afgan450
gravatar for richard_martinez
8 weeks ago by
richard_martinez0 wrote:

I was able to get past the errors and get the AMI created without packer, by running the following commands after crating the instance:

sudo apt-get update sudo apt-get install python-pip python-dev build-essential sudo pip install --upgrade virtualenv

I assume the above installed some pre-req software.


ADD COMMENTlink written 8 weeks ago by richard_martinez0
gravatar for richard_martinez
8 weeks ago by
richard_martinez0 wrote:

Thanks, Enis. I have added a cloud entry with the above values, so i'm good right now with the CloudLaunch app.

I am now in the "Build a Machine Image" part of the building instructions, and I am getting an error when i run

packer build -only=amazon-ebs image.json

I get lots of green output, but then get this:

amazon-ebs: Found existing installation: setuptools 3.3
    amazon-ebs: Not uninstalling setuptools at /usr/lib/python2.7/dist-packages, owned by OS
    amazon-ebs: Running install for MarkupSafe
    amazon-ebs: Traceback (most recent call last):
    amazon-ebs: File "<string>", line 1, in <module>
    amazon-ebs: File "/usr/local/lib/python2.7/dist-packages/setuptools/", line 12, in <module>
    amazon-ebs: import setuptools.version
    amazon-ebs: File "/usr/local/lib/python2.7/dist-packages/setuptools/", line 1, in <module>
    amazon-ebs: import pkg_resources
    amazon-ebs: File "/usr/local/lib/python2.7/dist-packages/pkg_resources/", line 70, in <module>
    amazon-ebs: import packaging.version
    amazon-ebs: ImportError: No module named packaging.version
    amazon-ebs: Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/MarkupSafe/s                                                              ';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp                                                                        /pip-9oTqlJ-record/install-record.txt --single-version-externally-managed --compile:

The lines displayed after the last line are the same Traceback lines as above, so i'm not repeating them.

I also tried the steps in "Running without Packer", but the behavior is different. Unlike above, i get "Successfully uninstalled setuptools", but then immediately fails with this:

Running install for pycrypto
    Traceback (most recent call last):      
    File \"<string>\", line 1, in <module>      
    File \"/opt/cloudman/boot/.venv/local/lib/python2.7/site-packages/setuptools/\", line 10, in <module>        
    from six.moves import filter, map    
    ImportError: No module named six.moves    
    Complete output from command /opt/cloudman/boot/.venv/bin/python -c \"import setuptools, tokenize;__file__='/opt/cloudman/boot/.venv/build/pycrypto/';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-YWLKi1-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/cloudman/boot/.venv/include/site/python2.7:

Any thoughts? Thanks. Richard

ADD COMMENTlink written 8 weeks ago by richard_martinez0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 66 users visited in the last hour