aws-cloud9

Previewing rails server on AWS Cloud 9: VFS Connection does not exist [Firefox only]

帅比萌擦擦* 提交于 2020-03-22 06:10:27
问题 Update: This is specific to Firefox. This does not occur using Chrome. I will leave the text below as is, but now the main question is, how and what in Firefox is causing this. It occurs regardless of cookie settings, such as allowing third-party cookies and trackers. Preface: I've searched and read dozens of pages trying to resolve this issue I've gone through all the troubleshooting steps in the AWS documentation, eg, https://docs.aws.amazon.com/cloud9/latest/user-guide/app-preview.html#app

AWS Cloud9: Referencing Lambda Layer Locally

好久不见. 提交于 2020-02-21 10:49:08
问题 I have set-up a Cloud9 environment to develop and test lambda functions. To make the environment "cleaner" I have opted to use lambda layers to specify the function's dependencies. By doing this, I have removed the dependency folders from the environment, but I am now unable to test locally. For example, I have a lambda layer for Stripe's python library. I am able to write a lambda function in Cloud9 referencing stripe, deploy the function, and successfully test the function remotely. But i

Rails broken - bundle not working - ovirt-engine-sdk - ERROR: Failed to build gem native extension. Cloud9 AWS

自古美人都是妖i 提交于 2020-01-12 06:16:05
问题 I am working through the Ruby on Rails Tutorial (Rails5) by Michael Hartl in the AWS Cloud9 environment. I'm finishing chapter 11 now. (new to programming as well) It appears I have broken something related to the Rails (or Ruby) system. I am no longer able to start the Rails server, test or console. The error message I get usually starts with this, which I have not had any luck finding much information on here or via Google. ovirt-engine-sdk -v '4.2.3' /usr/local/rvm/gems/ruby-2.4.1/gems

Rails broken - bundle not working - ovirt-engine-sdk - ERROR: Failed to build gem native extension. Cloud9 AWS

女生的网名这么多〃 提交于 2020-01-12 06:15:27
问题 I am working through the Ruby on Rails Tutorial (Rails5) by Michael Hartl in the AWS Cloud9 environment. I'm finishing chapter 11 now. (new to programming as well) It appears I have broken something related to the Rails (or Ruby) system. I am no longer able to start the Rails server, test or console. The error message I get usually starts with this, which I have not had any luck finding much information on here or via Google. ovirt-engine-sdk -v '4.2.3' /usr/local/rvm/gems/ruby-2.4.1/gems

Rails broken - bundle not working - ovirt-engine-sdk - ERROR: Failed to build gem native extension. Cloud9 AWS

落花浮王杯 提交于 2020-01-12 06:15:22
问题 I am working through the Ruby on Rails Tutorial (Rails5) by Michael Hartl in the AWS Cloud9 environment. I'm finishing chapter 11 now. (new to programming as well) It appears I have broken something related to the Rails (or Ruby) system. I am no longer able to start the Rails server, test or console. The error message I get usually starts with this, which I have not had any luck finding much information on here or via Google. ovirt-engine-sdk -v '4.2.3' /usr/local/rvm/gems/ruby-2.4.1/gems

AWS Cloud9: Python virtual environment is not actually activated. Uses system-wide python

馋奶兔 提交于 2020-01-03 16:22:46
问题 Just starting out with AWS Cloud9. Started a new project (Django with Beanstalk). Opened Cloud9 environment, typed in virtualenv --python=/usr/bin/python3.6 venv then, when i type: sourse venv/bin/activate i see: (venv) USERNAME:$ So, it looks ok, but python --version gives me 2.7. Even more, when I install packages with "activated" virtual environment I get them installed in system-wide python 2.7. 来源: https://stackoverflow.com/questions/52108586/aws-cloud9-python-virtual-environment-is-not

Use aws cloud9 as VPS not IDE

ⅰ亾dé卋堺 提交于 2019-12-25 01:15:06
问题 I want to use aws cloud9 as VPS not IDE, is it possible? I made some progress already using codecommit to push code from local pc to amazon service and when by running below command it's working: forever stopall git clone // clonning repo from codecommit forever start index.js but I still have to open aws cloud9 on my browser and run above commands manually every time I pushed something. Is there a way to automate this? p.s. lambda functions didn't work since it's not supporting git. 来源:

AWS cloud9 timeout when running flask application

≯℡__Kan透↙ 提交于 2019-12-22 14:06:07
问题 Hi all I'm trying to setup a AWS cloud9 environment with flask to develop a web app. I'm new to AWS/ flask, and stuck on an issue. There seems to be an issue between the IDE environment and previewing the application in my browser (I'm using chrome, but have also tried in IE). From app.py: import os from flask import Flask app = Flask(__name__) @app.route('/') def hello(): return 'Hello World' app.run(host=os.getenv('IP', '0.0.0.0'), port=int(os.getenv('PORT', 8080))) if __name__ == '__main__

Configure AWS Cloud9 to use Anaconda Python Environment

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-12 09:37:28
问题 I want AWS Cloud9 to use the Python version and specific packages from my Anaconda Python environment. How can I achieve this? Where should I look in the settings or configuration? My current setup: I have an AWS EC2 instance with Ubuntu Linux, and I have configured AWS Cloud9 to work with the EC2 instance. I have Anaconda installed on the EC2 instance, and I have created a conda Python3 environment to use, but Cloud9 always wants to use my Linux system's installed Python3 version. 回答1: I

How to download files on AWS Cloud 9?

强颜欢笑 提交于 2019-12-11 14:54:16
问题 I am following the Ruby on Rails tutorial. In chapter 6, the tutorial tells me to download the development.sqlite3 database file, but it doesn't seem possible with AWS Cloud 9. The "Download" option does not appear in the menu. How can I download this file? 回答1: It seems the file download feature has been removed from the AWS version of Cloud 9. The good news is that there is a workaround. Right-click on the filename and select "preview". Depending on the file extension, selecting "preview"