Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Browsing all 29426 articles
Browse latest View live

Cannot use bridge network with EC2 nodes in local Kubernetes cluster

I want to create a mixed Kubernetes cluster, with some local nodes and some EC2 nodes. The master is in the local network. The docker image has to run in bridge network.Everything is fine related to...

View Article


Segmentation fault in running docker image on AWS EC2

I have created a simple angular application with docker. It is running successfully in my local machine. But when I run the Image after taking pull from docker hub on AWS EC2 Instance (t2.micro) I am...

View Article


Image may be NSFW.
Clik here to view.

AWS Error: An error occurred while starting the application

I am deploying a .Net Core Web API 2.2 to AWS (Amazon). The environment of my app is healthy and i am still getting the following error and i know it has to do with the .Net Core Windows hosting on the...

View Article

java.io.IOException: The document has no pages. Working fine locally but not...

Hi I am trying to create an PDF using itextpdf. It is working fine when tested locally.But after aws deployment I am getting 406 Not Acceptable with java.io.IOException: The document has no pages...

View Article

How do you write buildspec.yml for use with NodeJS and AWS CodeBuild?

I have a NodeJS app that serves an Angular frontend, this app is deployed using AWS Elastic Beanstalk. If I were to directly upload a .zip file to Elastic Beanstalk, it would contain:\dist...

View Article


How to get public_dns_name according to ec2 resource instance?

Now I want to get the public_dns_name, and then log on to an instance of aws to get the CPU utilization. I know that I can check it with cloudwatch, but now I don't want to rely on the function...

View Article

discovery.seed_hosts in elasticsearch AWS EC2 with ELB

I have EC2 instances under an ELB. Whenever a new instance is started an ip address is assigned dynamically. I have added the ELB DNS name, but it is referring the ip addresses from Network Interfaces...

View Article

Unable to SSH into AWS EC2 Instance: Operation timed out

Please help! I've spent multiple days trying to ssh into my EC2 instance.I'd been able to do this for the first 24 or so hours. Then as I was adding dependencies to my instance I got booted. Now I'm...

View Article


Upload custom course content on tutor demo edx course

I have tutor up and running on an EC2 instance and I am able to upload the following command to upload demo course:local importdemocouse However, my requirement is to upload my custom democourse on the...

View Article


Slow Performance of Amazon SQS compared with RabbitMQ

I wanted to integrate a message queuing middle tier in my web application. I have tested Rabbitmq as well as Amazon SQS but find Amazon SQS is slow. I am getting 80 req/sec in Amazon SQS where I am...

View Article

Removing index.php from the URI in Codeigniter 3

I have done all the said solutions to remove 'index.php' from the URI. The procedure I took is as below: In .htaccess:RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond...

View Article

Find the origin of a re-booting EC2 instance

I have an EC2 instance that starts to get setup everytime I terminate it. I was playing around with an ECS cluster, a load balancer etc but I'm quite sure I terminated everything I set up before. Is...

View Article

How to get existing ec2 instance volume size using saltstack

I want to create a similar (hardware level) ec2 insatnce of an existing ec2 instance using saltstack.Tried salt'boto_ec2.get_all_volumes' but unable to get the return type as volume objects. since it...

View Article


Baking AMIs in Spinnaker Pipeline using Chef-Solo

I'm trying to build a test pipeline in Spinnaker to bake an AMI and then update a CloudFormation template to deploy the AMI to EC2 instances in an auto scaling group. I have a small test Chef cookbook...

View Article

how to login to ec2 machine?

I was given some login information for an EC2 machine, basically an ec2-X-X-X.compute-X.amazonaws.com plus a username and password.How do I access the machine? I tried sshing:ssh...

View Article


upload a directory to s3 with boto

I am already connected to the instance and I want to upload the files that are generated from my python script directly to S3. I have tried this:import boto s3 = boto.connect_s3() bucket =...

View Article

Image may be NSFW.
Clik here to view.

Trouble conecting to Node Server on EC2 Instance

I have a Node application running on an EC2 instance, and after npm start, I am unable to connect to the application via the web, but everything indicates that it is running correctly.Here's how my...

View Article


Cannot access ec2 after chmod -R 777 in root

I accidentally ran "sudo chmod -R 777 ./" on my Ubuntu ec2 AWS instance. After that it kicked me out and I cannot connect to the instance anymore, neither via FTP, nor via SSH. Do you have any tip for...

View Article

Image may be NSFW.
Clik here to view.

Docker Nginx: host not found in upstream

I have my docker app running in the aws EC2 instance, and I am currently trying to map the app to the external IP address using Nginx. Here is a snap shot of the containers that I have running:My...

View Article

Can't run docker containers for Jenkins and MySQL at the same time on EC2

I'm testing to set up an environment on AWS EC2 with two docker containers for Jenkins and MySQL respectively.But when I try to run a MySQL container, the Jenkins container gets killed. So I tried to...

View Article
Browsing all 29426 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>