Questions tagged [amazon-ec2]

Amazon EC2 (Elastic Compute Cloud) is a web service that allows users to rent virtual computing capacity on which they can run their applications. Web service questions are on topic here only if the question is about the operating system or using a PC application hosted there. Otherwise, other sites on the network may be more appropriate

Filter by
Sorted by
Tagged with
1 vote
1 answer
1k views

port forwarding in docker container in AWS EC2 linux machine

I'm a newbie and needing help. Currently playing with the following setup: remote machine an AWS EC2 instance with Ubuntu 18. I am trying to access Jupyter notebook running in Docker container in ...
waleed hamid's user avatar
1 vote
1 answer
624 views

Postfix issue on Ubuntu (Amazon EC2): can not send email after a few success

I installed Posifx on Ubuntu 18.4 LT on an amazon EC2 box. After installation and configuration, I was able to send out two emails to my hotmail and another email account. I do received them. However, ...
Ming Wu's user avatar
  • 13
1 vote
1 answer
39 views

Amazon Route53 Record set doesn't work as intended

I have an hosted zone which contains a record set list. I encountered a problem after I made some modifications with my running instances which I can't remember exactly. My Record Set List ; www1....
neiloth's user avatar
  • 11
1 vote
0 answers
29 views

How to point a subdomain to run applications using virtualenv on ec2 (AWS)

I added an ec2 instance (ubuntu server) in aws, installed python3.7, virtualenvs, pointed ec2's elastic ip to a subdomain, entered virtualenvs and made a webapp to run the web application. How do I ...
João Carlos's user avatar
1 vote
0 answers
1k views

"cannot execute binary file" on aws ec2 with sage (using python) shell

I would like to use SageMath (using Python) on a AWS EC2 server. When I tried the SageMath console interface I got the following error: /opt/sagemath-8.8/local/bin/python: /opt/sagemath-8.8/local/...
Sebastien Palcoux's user avatar
1 vote
0 answers
934 views

Cannot find out what consumes my disk space in AWS

I use a free tier ec2 instance in amazon aws. I run a nodejs server with mongodb, and the server has a memory and cpu intensive job. df -h shows that I consumed 18G of 20G disk. Filesystem ...
Horvath Adam's user avatar
1 vote
1 answer
11k views

Kubernetes net/http: TLS handshake timeout

We have created a self managed kubernetes cluster using the kubeadm approach. It is a 3 node cluster hosted on AWS EC2 instances (1-Master and 2-Slaves). We have created a separate NGINX server to ...
user1425264's user avatar
1 vote
0 answers
272 views

Error while connecting MySQL Workbench SSH tunnelling with AWS EC2 (Linux -Free tier)

First what I have done so far In AWS In Security group given 3306 port access for all MySQL/Aurora: Created a .pem key and saved it. PuTTY I am able to connect to MySQL (5.7) using PuTTY Created ...
ATUL ANAND's user avatar
1 vote
1 answer
3k views

Sonatype Nexus: How to create Blob stores using Amazon S3?

I try to create a blob stores on Sonatype Nexus as below: Then, I'm getting this error: Unable to initialize blob store bucket: s3jenkins-cache, Cause: Unable to execute HTTP request: Connect to ...
Cường Phạm's user avatar
1 vote
0 answers
181 views

How can I dynamically update my AWS CloudWatch dashboards? [closed]

I have several dashboards in CloudWatch that represent a view of my infrastructure : Number of instances from an autoscaling-group that are currently running, the CPU/Disk usage per instance etc. ...
Wael's user avatar
  • 11
1 vote
1 answer
249 views

Cannot connect to EC2 instance more than once via SSH (OSX Terminal)

Update This may be to do with my account potentially being in an 'isolated' state as per this post: https://forums.aws.amazon.com/thread.jspa?start=0&threadID=239202&tstart=0 I'm going to ...
Rajtastic's user avatar
1 vote
0 answers
183 views

Accessing Web App running on EC2 instance

I have an EC2 instance that is running searchkit. I successfully started the searchkit web app and it gave me an IP address that I should be able to access via my local machine, as well as a ...
jstout's user avatar
  • 11
1 vote
1 answer
681 views

How to reboot OS at Amazon AWS EC2 instance start [closed]

I am seeing device driver problems in EC2 instances that are stopped, and later started. A reboot always seems to fix them. Specifically this is with EC2 FPGA instances. I need a way to force an OS ...
CraigDavid's user avatar
1 vote
0 answers
614 views

How to clean crypto mining malware that infected my Amazon Linux EC2 server?

From last few days, I have noticed that applications running on my EC2 Linux instance are very slow. Running top command showed me that there is a process /var/tmp/sustse using most of the CPU. I ...
Povam's user avatar
  • 11
1 vote
0 answers
32 views

Connect to Amazon AWS Server via SFTP Net Drive?

I'm trying to connect to Amazon ec2 windows server via SFTP Net Drive - however I keep getting various errors. Connection error 10061 Connection timeout I did tons of research on both errors and I ...
S.O.S's user avatar
  • 123
1 vote
1 answer
302 views

Can't transfer files to/from Amazon EC2 free machine with FTPS

I have a free amazon EC2 machine. for some reason I can not transfer files using FileZilla from the EC2 machine to my local machine. I entered the machine public DNS and user name (which is ubuntu as ...
user9371654's user avatar
  • 1,217
1 vote
0 answers
232 views

Cloud hosted VM's that can connect to my company LAN [closed]

I am a Quality Assurance engineer, and I am not an expert in Networking. Currently, I have 4 Windows VMs running on a server on our local network. They communicate with each other using Selenium Grid ...
dsidler's user avatar
  • 111
1 vote
1 answer
2k views

How to use SSL in AWS ec2 without using load balancer

I created one EC2 instance and hosted a backend for my application on it then I want SSL certificate so I follow some AWS tutorials and then use Load balancer to attach that cert to my EC2. but now ...
Shashank Padwal's user avatar
1 vote
0 answers
27 views

Amazon EC2: How to make SSH remember the server's key

I connect to my amazon EC2 Ubuntu 18.04 instant using SSH. Each time I input the SSH command, it asks me about trusting the key. And I answer yes. Next time it asks me again. ssh -i "my_key.pem" ...
user9371654's user avatar
  • 1,217
1 vote
0 answers
5k views

How to investigate and remove Trojan:EC2/DGADomainRequest.B

My GuardDuty management console on Amazon shows that my server is infected with malware: "EC2 instance i-7e1d4356 is querying algorithmically generated domains. Such domains are commonly used by ...
Vijai Pandey's user avatar
1 vote
1 answer
949 views

Install a specific version of Docker CE on Amazon EC2 Linux

Due to a recent vulnerability with Docker CE I need to update our fleet of EC2 instances running Amazon Linux base AMI to the latest version. How do I install a specific version of Docker CE for ...
user83948's user avatar
  • 111
1 vote
0 answers
85 views

Installation of virtual-box on Netscalar FreeBSD instance

We have one Netscalar instance having platinum AMI: NetScaler ADC VPX Platinum Edition - 10 Mbps. As a part of infrastructure management we want to install VirtualBox on this FreeBSD Netscaler ...
user3094568's user avatar
1 vote
0 answers
154 views

MongooseIM SSL connection via AWS ELB

I have MongooseIM server configured with docker-compose in an EC2 instance in AWS. I intend to give access to some mobile clients with SSL through an ELB (AWS) on port 5222 (module ejabberd_c2s of ...
AndoniRodriguez's user avatar
1 vote
1 answer
787 views

yum install php dependency errors

I'm trying to install php 5.4 or 5.6 on an Amazon Linux 2 server using this command: yum install php54 This is the output: Loaded plugins: extras_suggestions, langpacks, priorities, update-motd ...
Cohaven's user avatar
  • 51
1 vote
1 answer
206 views

When does ec2 switch between public DNS and public IP?

I have an application using Django, in Django config there is a list of ALLOWED_HOSTS. The application was working fine with the IP xxx.xxx.xxx.xxx in the ALLOWED_HOSTS list. It then threw the ...
cryanbhu's user avatar
  • 111
1 vote
1 answer
1k views

AWS - Cannot ping/ssh my machine from AWS EC2 instance

I have created an AWS T2 instance. I created security groups to allow all traffic on all ports only from my local machine's IP. So when I try to ssh from my dev-machine with the pem file (ssh -i ...
anna.sarp's user avatar
1 vote
0 answers
286 views

AWS EC2 connection timeout

I have an Ubuntu 16.04 host on EC2 that becomes unreachable every time I forget to close ssh connection with exit command. Here are the things I have checked: Port 22 is open (obviously since this ...
Husmus's user avatar
  • 111
1 vote
1 answer
468 views

Accidentally revoked Sudo access

I'm pretty new to setting up http servers via PuTTy and managed to setup a EC2 server with Apache which works fine. The only issue is when trying to setup a few other things I managed to revoke my ...
red house 87's user avatar
1 vote
0 answers
308 views

Issue when attempting to SSH into AWS EC2 instance launched from AMI

I am a total AWS and SSH newbie so please bear with me. I am trying to ensure that I can make a perfect duplicate of an EC2 instance before proceeding with risky installations that may ruin important ...
Vlad's user avatar
  • 111
1 vote
0 answers
2k views

Suddenly getting "Server refused our key" error on amazon linux for ec2-user

Today all of a sudden I am not able to SSH into my AWS linux instance using ec2-user as username. I was able to do it yesterday. I have searched for this and found that all things are in place, ...
Amol Chakane's user avatar
1 vote
0 answers
2k views

Amazon AWS EC2 Volume issue prevents instance access via SSH

I have an Amazon EC2 Ubuntu t2.nano at sa-east-1 region. It was running fine until 2017-06-14 maintenance. Today, while trying to access it via ssh, I've noted it was not possible. I get ssh ...
KcFnMi's user avatar
  • 604
1 vote
1 answer
723 views

AWS Docker Containers running Wildfly / Java EE - domain cluster or standalone? [closed]

I am running a large EE application on wildfly in containers. Each instance is currently standalone, but I dont think that this is optimal. I imagine that I should be running a domain cluster, and ...
Inquisitor Shm's user avatar
1 vote
0 answers
2k views

Can't connect to Ec2 instance: "Connection refused on port 22"

I have been able to successfully log into my ec2 2 times in the past. Now when I try to login, I get this error ssh -vvv -i "test.ppk" [email protected] OpenSSH_7.1p2, ...
Linux Oracle User's user avatar
1 vote
1 answer
131 views

Debian "sar -n DEV 1 1" is super slow

On all of my machines I'm using sar (sysstat) to get the current network bandwidth using sar -n DEV 1 1 that I parse out later, but on one of my machines this command no longer gives its output in 1 ...
Brian Leishman's user avatar
1 vote
0 answers
25 views

How can I have leftover routes cleaned from VPC route tables

I am running instances that add routing table entries to the VPCs they run in to route certain networks to themselves. When the instances are terminated, the routes become black hole leftovers. I ...
Skaperen's user avatar
  • 301
1 vote
0 answers
818 views

How to upload, delete, create folders in AWS EC2

I have successfully created an EC2 instance in AWS Beanstalk and uploaded my folders and files using the 'application source bundle' method. The app works fine. However, the file update method, ...
krot's user avatar
  • 11
1 vote
0 answers
753 views

Apache process dies unexpectedly

I'm testing the limit of my Python Flask web application running on an Apache web server by making a request that takes over 30minutes to complete. The request requires thousands of database requests (...
Kes115's user avatar
  • 111
1 vote
0 answers
278 views

I need assistance with building GIMP to run under AWS EC2 instance and Lambda

TLDR; I need to build an instance of the Gimp application that runs under AWS in a Lambda and on an EC2 linux. I'm building a micro service that uses AWS API Gateway with python Lambdas. I have the ...
John Morrison's user avatar
1 vote
0 answers
177 views

How to easily generate JSON out of a running AWS EC2 instance for usage in “run-instances --cli-input-json=”?

How to easily generate json out of a running instance for usage in run-instances --cli-input-json=? The purpose is to recreate instance without too much manual handling or too much json editing. I ...
Ivan's user avatar
  • 281
1 vote
0 answers
1k views

grub.conf issue while OVA deployment to AWS ec2

I have been trying to deploy an OVA to AWS. And came across a strange problem. AWS looks for file with name 'grub.conf' in all partitions and doesn't deploy OVA if multiple files exist with name 'grub....
Shivendra Mishra's user avatar
1 vote
0 answers
648 views

Need to tunnel a AWS server using port forwarding

I am having a AWS server and I am connecting through a AWS router. I gave the example here, ssh -i ~/ecserver.pem ec2-user@ip -p 2222 Now I have to create a tunnel to the server for 9093 port in my ...
samaswin's user avatar
  • 113
1 vote
0 answers
587 views

Amazon ec2 instance w/ atached volume permission denied with sftp

I made an extra volume and then attached it like this... sudo mkfs -t ext4 device_name sudo mkdir mount_point sudo mount device_name mount_point The mount point was in my home directory as well. ...
Joff's user avatar
  • 227
1 vote
0 answers
595 views

Nginx + Passenger not working -- client requests hang until timeout

I'm running on an EC2 instance with Amazon Linux installed and Nginx was installed via passenger-install-nginx-module. The full install process followed was similar to this. The primary difference was ...
Dan's user avatar
  • 324
1 vote
1 answer
3k views

Cannot access AWS webserver using public IP

I have a free AWS account and have set up a EC2 Virtual machine on Windows Server 2008 R2. I use RDP to access the VM. I have set up XAMPP and deployed my PHP application in it. I can access it ...
enemetch's user avatar
  • 151
1 vote
0 answers
1k views

How to slice video in remote http server using ffmpeg?

I want to slice video from remote host . i am using following command to do this ffmpeg -i https://s3-us-west-1.amazonaws.com/path/to/video/messi.mp4 -ss 00:00:03 -t 00:00:08 -async 1 cut.mp4 this ...
open source guy's user avatar
1 vote
1 answer
829 views

amazon linux yum update changed sudo root permissions

I ssh'ed into my server, ran sudo yum update, and now I'm asked for a password to sudo anything. Looking back through update logs, I noticed this: /etc/sudoers.d/cloud-init saved as /etc/sudoers.d/...
egreene's user avatar
  • 111
1 vote
1 answer
443 views

How to establish a VPN connection to an Amazon VPC

I am running an Amazon EC2 instance which I use as a workstation. Right now it's in a public subnet and I connect to it through RDP by using its public IP. However, I'm concerned that this might not ...
Roma149's user avatar
  • 113
1 vote
1 answer
87 views

amazon ec2 intance rhel7 ftp not downloading

this is driving me insane. i am trying to download files using FTP. i tried with PHP's FTP, the FTP binary, WGET, none of them work. They all have the same problem. When get command is initiated, the ...
user2914191's user avatar
1 vote
0 answers
578 views

Amazon EC2 - Windows 2012 R2 - Can't RDP to Instance

I created an EC2 micro instance last week and it was working correctly up until now. I tried to RDP into the machine today and I'm unable to connect. I rebooted the machine and tried again with no ...
Mike Melusky's user avatar
1 vote
1 answer
1k views

Amazon EC2 - Node Package Manager fails to install modules

I've installed node and, supposedly, all of its dependencies on an Amazon EC2. I can launch a node app and have it work just fine. However, when I attempt to use npm to install any module, express ...
user avatar

1
5 6
7
8 9
14