Questions tagged [aws-cloud9]

0

votes
0

answer
5

Views

access the react server on cloud9 from PC browser

I want to try a react hands-on on cloud9. However, I can not access to the server on my PC browser. Detail: I've run an AWS Cloud9 environment with the default setting. Next run these commands. npx create-react-app handson-react-2019 --typecscript npm start Then it says. Compiled successfully! You c...
mogya
1

votes
1

answer
126

Views

CAPABILITY_NAMED_IAM using cloud9

I am trying to do all my dev work using cloud9 template for serverless apps It complains that i don't have CAPABILITY_NAMED_IAM due to the fact that I am creating a role. How do I edit cloud9 deploy defaults to include CAPABILITY_NAMED_IAM?
andrew shved
1

votes
0

answer
103

Views

Cannot connect to Jetty Websocket Server running on AWS Cloud9

I am currently trying to connect to a websocket server running on my environment in AWS Cloud9. The server is in Java using Jetty. It works perfectly fine running on my computer and on a raspberry pi. The client in AWS Cloud9 can successfully connect to my pi server but not the one running in AWS cl...
Kason
1

votes
0

answer
37

Views

Is there a way to interact with an Amazon AWS Windows Server EC2 with .Net Framework through AWS Cloud9?

very green developer here. AWS Cloud9 only handshakes with an EC2 Linux server, or so it seems, via the AWS documentation. Is there any way to replicate my Windows .Net Framework 4.7/SQL Server ASP.NET MVC 5 application on a Linux EC2 instance so I can interact with AWS Cloud9? Or, even better, am...
CalScripts
1

votes
1

answer
132

Views

Has anyone figured out setting up custom snippets on AWS Cloud9?

I've come across a few posts online but still befuddled and nothing concrete. Maybe someone can decode the below for me, seems like they figured it out but I've never made a plugin before so not sure where to start. Maybe can outline a file structure and I can take it from there? Thanks in advance h...
Daniel Nunez
1

votes
0

answer
212

Views

Getting Status Code 499 on GET requests from my AWS Cloud9 runner

I've been adjusting my workflow to the new AWS version of Cloud9 for a few weeks now, it's been going mostly smooth, but I hit a strange issue that I can't find any documentation on. Whenever I try to send a GET request from the client side JavaScript, like most recently, to load in a JSON file from...
kravenoff42
1

votes
0

answer
70

Views

CLOUD9 - KMS: The AWS Access Key Id needs a subscription for the service

when trying to set up cloud9 I get the this error 'KMS: The AWS Access Key Id needs a subscription for the service' I have enabled all the cloud9 permissions for this user, as well as the KMS super user.
Mitch VanDuyn
1

votes
0

answer
216

Views

Unexpected token function in Cloud9 AWS Lambda

I am trying the async/await approach in AWS lambda function with node v8.11.3 npm v5.10.0. When I run it gives me the following response: { 'errorMessage': 'Unexpected token function', 'errorType': 'SyntaxError', 'stackTrace': [ ' ^^^^^^^^', 'SyntaxError: Unexpected token func...
Abhishek Jain
1

votes
1

answer
270

Views

How do you run a from-scratch React app on Cloud9?

So I'm obviously a beginner with React, this may be rambling and I and may be crucified, but I've been banging my head against a wall for the last week or so trying to build a hello world app from scratch using React on Cloud9. I've read the official docs, and followed this guide (and half a dozen...
1

votes
1

answer
57

Views

AWS Cloud9 `process.versions.node` undefined?

I've just tried moving a project from the old c9.io to the new AWS c9. But when I try to run the project (a create-react-app project), I get a TypeError: Cannot read property '0' of undefined referring to a reference to process.versions.node being expected by the cloudinary npm package module.expor...
nicholas
1

votes
0

answer
22

Views

Use Storybook server on AWS C9?

I'm trying to run a storybook server on AWS Cloud9 but the URL it gives doesn't load anything. I'm starting the server with start-storybook -h $HOST -p $PORT --ci This runs through without error and gives me a 'server started' message with a URL. But that URL doesn't connect to anything. I do noti...
nicholas
1

votes
1

answer
48

Views

GCC or Clang Version on Amazon AWS Cloud 9?

When using Cloud 9 (now owned by Amazon and run as part of their AWS service) as an onlinet IDE for C and C++, and other compiled languages, it seems to create a virtual machine that uses version 4.8.5 of GCC. How do I use a more modern version of GCC, in order to utilize the C11 standard (and C18 r...
haziz
1

votes
0

answer
19

Views

Load data from Athena into Pandas dataframe in Cloud9/Lambda in AWS for ETL

I am building a datalake in AWS. The source data is imported in S3 as CDCs. I need to find a way to merge them in order to have a table with the most recent version of information. Originally I wanted to use Glue for ETL development but the editor seems rather clunky. Additonally the data volume is...
Daniel
1

votes
1

answer
34

Views

Lambda function works in AWS console but not on Cloud9

I'm making an Alexa skill and need to include the rest module for nodejs so I've changed from the AWS Console to cloud 9. In the console, everything works fine but when I create the project with the exact same setup (Not including the new module) I get following syntax error: { 'errorMessage': 'Unex...
Elizabeth Hunter
1

votes
1

answer
218

Views

How can a Workspace be created in AWS Cloud9?

How can a Workspace be created in AWS Cloud9? At present AWS Cloud9 only appears to show a 'Create Environment' option (which is always an EC2 instance running Amazon Linux). There is no AWS option for 'Create Workspace'. I would like to create an AWS Cloud9 Workspace that is running Ubuntu.
Diomedes
1

votes
2

answer
142

Views

Machine Learning (NLP) on AWS. Cloud9? SageMaker? EC2-AMI?

I have finally arrived in the cloud to put my NLP work to the next level, but I am a bit overwhelmed with all the possibilities I have. So I am coming to you for advice. Currently I see three possibilities: SageMaker Jupyter Notebooks are great It's quick and simple saves a lot of time spent on mana...
Nikita
0

votes
2

answer
77

Views

SSH into AWS Cloud9 Environment

I would like to SSH into my Amazon Web Services (AWS) Cloud9 Elastic Cloud Compute (EC2) environment, but there is no key pair assigned to the Cloud9 EC2 environment. How can I assign a key pair to that environment, so that I can SSH into it? I created the AWS Cloud9 EC2 environment through the Clou...
Sean_Calgary
1

votes
1

answer
1.8k

Views

Struggling with AWS Cloud9 and pip install additional python packages

Hey Cloud9ers out there, I am struggling with the new AWS Cloud9 IDE right at the beginning by installing missing packages. I tried pip install but without any success. I'd like to install pandas!
tc2013
1

votes
1

answer
354

Views

Changing the auto-hibernate settings on a AWS Cloud9 EC2 Instance

While setting up the AWS Cloud9 EC2 instance, I selected 30 mins for auto-hibernation. I would like to change this to Never. How do I do that?
Saqib Ali
1

votes
1

answer
635

Views

Python 3rd Party Modules in AWS Lambda through Cloud9

I had a quick question. I recently started to learn python and have been using Cloud9 as my environment. I've created a code for Alexa in python that uses BeautifulSoup, meaning that AWS Lambda throws an error every time I run it (as it does not recognize BeautifulSoup as a model). I was wondering,...
Agera
2

votes
3

answer
67

Views

Virtualenv doesn't use right version of Python

I'm working in Amazon's Cloud9. ec2-user:~/environment/flask_init $ python -V Python 2.7.14 ec2-user:~/environment/flask_init $ virtualenv -p python3 venv Running virtualenv with interpreter /usr/bin/python3 Using base prefix '/usr' New python executable in /home/ec2-user/environment/flask_init/venv...
RubyNoob
1

votes
2

answer
259

Views

AWS Cloud9: deploy only one Lambda function at a time

I am trying to deploy Lambda functions using AWS Cloud9. When I press deploy, all of my functions are deployed/synced at the same time rather than just the one I selected when deploying. Same thing when right clicking on the function and pressing deploy. I find this quite annoying and wondering i...
alionthego
2

votes
2

answer
350

Views

AWS cloud9 timeout when running flask application

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 o...
Gothburz
2

votes
1

answer
342

Views

Using create-react-app's npm startwith AWS Cloud9

I am attempting to use create-react-app in AWS Cloud9. While I have no problems creating the app, when I try to run npm start I just get this screen. When I clicked on 'Why am I seeing this?' I was taken to this page, which led me to turn on HTTPS. While HTTPS was enabled, it did not fix the issue....
Zarin Loosli
1

votes
1

answer
525

Views

Can't Connect to AWS Cloud9 IDE With Safari

I'm trying to use Cloud 9 but keep getting the following message during the deployment of the IDE: 'Your web browser does not have third-party cookies enabled' I'm using Safari 11.0.3 and in the preferences-privacy the block all cookies box is unchecked. I can use Chrome but would prefer to use Saf...
alionthego
2

votes
0

answer
72

Views

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

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, whe...
Sin Spirit
4

votes
1

answer
424

Views

How do I set up AWS Cloud9 to run an existing JavaScript app with webpack-dev-server (in development mode)?

I am trying to get my fairly typical JavaScript (React) app to run in dev mode on AWS Cloud9. I successfully cloned my repo (using https ugh), installed my npm packages, and can run scripts in the console. However, I don't know how to run and access the app in dev mode. There are a plethora of docs...
Sia
1

votes
1

answer
795

Views

Rails & Postgresql on AWS Cloud 9 : role “ec2-user” does not exist

I am trying to get my Rails environment up and running with a Postgres database using AWS Cloud9 and have run into a problem when trying run rails db:migrate. Initially I created the project by running: rails new app_name -d postgresql bundle install Bundler had a problem finding gem 'pg' so I ran...
Belder