Question: How to configure cloud launch app for aws?
0
gravatar for richard_martinez
19 months 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 https://galaxyproject.org/cloudman/building/. 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 us-east-1.amazonaws.com 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 • 510 views
ADD COMMENTlink modified 18 months ago • written 19 months ago by richard_martinez0
2
gravatar for Enis Afgan
18 months ago by
Enis Afgan690
United States
Enis Afgan690 wrote:

Here's an example for the values: enter image description here The values come from the AWS docs, e.g., http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region

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

ADD COMMENTlink written 18 months ago by Enis Afgan690
1
gravatar for richard_martinez
18 months 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.

Richard

ADD COMMENTlink written 18 months ago by richard_martinez0
0
gravatar for richard_martinez
18 months 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 setup.py 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/__init__.py", line 12, in <module>
    amazon-ebs: import setuptools.version
    amazon-ebs: File "/usr/local/lib/python2.7/dist-packages/setuptools/version.py", line 1, in <module>
    amazon-ebs: import pkg_resources
    amazon-ebs: File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", 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                                                                        etup.py';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 setup.py 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/__init__.py\", 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/setup.py';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 18 months ago by richard_martinez0
Please log in to add an answer.

Help
Access

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