Amazon EC2 (Elastic Compute Cloud) is a web service that allows users to rent virtual computing capacity on which they can run their applications.

learn more… | top users | synonyms (1)

1
vote
1answer
41 views

ping timing out from remote server to home box

I'm trying to connect from a remote ec2 instance to my home box over ssh and it's hanging (no error, just hanging), and I'm not sure why. I am successfully connecting over ssh from my home box to the ...
1
vote
1answer
87 views

SSH connection for different user names in Amazon EC2

I am trying to connect two EC2 instances using SSH. SSH connection for the same user name on the two instances gets connected without any issue. While trying to connect with differentuser name I get ...
0
votes
1answer
176 views

Permission denied (publickey) error when using scp

I had created 3 linux instances on the Amazon EC2 cloud without a passphrase for the private key. I had stored the private key in a file id_rsa in one of my instances(the master) to allow it to ssh ...
0
votes
2answers
38 views

EC2 - Get a list of all instances started and stopped in last week

Is there a way to get a report of all the instances I've started and stopped in the past week? I'm more interested in seeing the individual running time of each.
1
vote
1answer
199 views

Make hidden folders invisible sftp

My client needed sftp server for sharing files, so I created sftp server on a amazon ec2 ubuntu machine and added different users. Now their need is when user login to sftp server either via winscp ...
0
votes
0answers
19 views

Making a server “read only” except for me (what the inbound/outbound rules mean)

I have an ec2 instance. It will start a webserver, and my public ip is myip. I ssh into my machine. What should incoming and outgoing rules? Why? I want only my ip to be able to change things on the ...
0
votes
1answer
195 views

Intalling gdb and pstack on Amazon Linux AMI

I tried installing gdb and pstack on EC2 Instance with Amazon Linux AMI (it was not installed by default), and it's not working. Tried: [ec2-user@ip-172-21-ab-xyz ~]$ sudo yum install gdb Loaded ...
-1
votes
1answer
73 views

getting my domain name to point to my amazon ec2 instance with wordpress into it [closed]

I have an EC2 istance on amazon and a domain name bought on hosting24. Inside hosting24 I did change my dns like this: mysite.org. 14400 IN A myAmazonElasticIP www.mysite.org. 14400 IN A ...
0
votes
1answer
120 views

ssh agent forwarding failing at 6 keys

My client is mac os x 10.9.5. I have a bastion host (linux) that I am ssh'ng into. I have agent forwarding working so I can ssh to the bastion host and then ssh into another machine without having ...
0
votes
1answer
702 views

EC2 instance Linux, MYSQL log error:InnoDB: Unable to lock ./ibdata1, error: 11

I have a working server running Ubuntu 64bit with apache2 on a t2 micro EC2 instance. The problem is that MYSQL (version 5.5.38) has some bug...I tried everything, delete completely and restart ...
1
vote
1answer
142 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 ...
0
votes
0answers
236 views

Can FreeNAS be implemented on Amazon AWS?

Soon, I will be migrating my data to cloud. Therefore I'd like to know if I could implement FreeNAS on the cloud, i.e., Amazon AWS. Currently, I can only see FreeBSD AMI available in the Amazon ...
1
vote
1answer
54 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 ...
1
vote
0answers
132 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 ...
1
vote
1answer
289 views

Exporting AWS instance

I am trying to export my Amazon EC2 instance to a my S3 bucket as a VMware image. I have successfully set up Amazon CLI tools, added my credentials and can run commands. I am using ...
0
votes
1answer
222 views

Install tuleap on amazon ec2 linux AMI

I'd like to know if it's possible to install tuleap on amazon ec2 linux ami. I searched the net unsuccessfully and when I try to install tuleap with yum, I get conflict errors (with httpd24, ...
1
vote
0answers
183 views

Installing Qt on an AWS instance

I would like to install the Qt development library on an AWS instance. Running > yum search qt | grep devel on an AWS t2.micro instance produces no matches. Does one have to install Qt from ...
1
vote
1answer
142 views

Amazon EC2 Instance Continually Loses Connectivity

I am currently running wordpress on an Amazon ec2 instance, which runs fine with no problems most of the time, but occasionally outside connection to the instance shuts down. I can't access it over ...
1
vote
1answer
5k views

FileZilla FTP to AWS EC2 Windows Server 2012 Instance: Failed to retrieve directory listing

I am running FileZilla FTP Server on an Amazon Web Services EC2 Windows Server 2012 Instance, and want to FTP in from my home PC using FileZilla Client. I followed these instructions, but using user ...
0
votes
0answers
73 views

Port tunneling from windows machine to Tomcat on AWS for Jvisuamvm

I have an tomcat server running on AWS EC2 instance. To profile my application sitting on this tomcat server, I am trying to use jvisualvm tool provided by JDK. I am taking the help of this tutorial ...
0
votes
1answer
209 views

Stuck on password even though used --disabled-password option in ubuntu

I created a user in aws ec2 with: ubuntu$ sudo adduser --disabled-password user1 per instructions from: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/managing-users.html After I ssh in as user1 ...
0
votes
0answers
52 views

ELB being too strict with health checks on port 8080

I'm using an Elastic Load Balancer (ELB) on an auto-scaling group with a minimum of two Windows Server 2012 R2 instances. Both are started and pass EC2 health checks. The load balancer is set to run ...
0
votes
0answers
51 views

PhpMyAdmin and cake on AWS Ec2

Question - I have Cake PHP installed and phpmyadmin in the same root directory (/var/www/html). Now when I try to navigate to my elastic ip/phpmyadmin I get Cake PHP telling me : Error: ...
0
votes
1answer
221 views

What is the difference between Public DNS and public IP in AWS ec2?

I found that in ec2 there are two things public DNS and public IP ec2-XX-XXX-190-196.ap-southeast-1.compute.amazonaws.com and xx.255.190.196 Both can access through ssh and ping. So ...
0
votes
0answers
123 views

EC2 AMI instance store backup grub utility required

I am working on backup of whole ec2 volume and image to upload to s3. I'm trying to use RHEL7 and it internally uses Grub2 as bootloader. EC2 AMI tools requires grub legacy loader and I'm struck up in ...
0
votes
1answer
159 views

Different Amazon EC2 instances with same IP

I am looking at building something similar to a CDN and am wondering if it would be possible to do this with EC2 instances, setting their IP address to be the same? I would like to use the Anycast ...
0
votes
0answers
369 views

Installing PHPMyAdmin on AWS EC2

I followed Amazon's instructions http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html to install a LAMP stack on a Micro EC2 instance running Linux. Installation was successful. I am ...
3
votes
1answer
300 views

How to stop jbd2 to release a device

In an AWS EC2 instance, we have multiple EBS volumes. When I try to detach any of them, the umount command works, but the device can't be detached. # grep -c xvdj /proc/mounts 0 However, lsof ...
0
votes
1answer
279 views

I broke SSH by using chmod on an EC2 Instance — How do I correct?

I have been running an Amazon EC2 Instance for a while, and recently accidentally changed permissions/ownership on folders recursively. I can no longer SSH into the instance. I do not recall what the ...
0
votes
1answer
789 views

Amazon EC2 prompt password when sudo

When log into an ec2 instance via ssh using keypair (logged in as ec2-user user), I'll be able to execute sudo command without typing password. How can I configure ec2 instance for prompting password ...
3
votes
1answer
945 views

Windows 8.1 — PPTP VPN connection dies after a minute or two

I've set up a PPTP VPN using Amazon EC2. I did that by following this guide. I don't want everything going through the VPN, and instead only want connections to specific IP addresses to go through the ...
2
votes
0answers
386 views

Error message while connecting to EC2 instance via Cygwin

I am trying to connect my EC2 instance using the directions my instructor provided below: "To connect to EC2 via Cygwin on Windows, you need to handle two key idiosyncrasies. First, the Windows ...
0
votes
0answers
17 views

I want to stop listing all files and folder using ip in web url of amazon ec2

I create a amazon ec2 instance. Not it is accessible through ip on web. But it is display all files and folders listing to all. So, any one can access my ip and show list all files and folders. I do ...
0
votes
0answers
217 views

I'm getting 500 server error in when trying to send ajax to codigniter+NGINX in production in ec2

When Im in my local environment when I send with ajax rest post http://localhost:8080/index.php/api/get_user I'm getting an answer from the server (Codeigniter + NGINX). But when I do it with ...
-1
votes
2answers
167 views

How to access amazon instance using localhost instead ip address?

I create instance of amazon server. Now i can access it using ip address. But i do not want to access amazon instance using ip address. So, any way to access amazon instance without ip from URL. Like ...
0
votes
1answer
292 views

Ubuntu Cron ec2-create-snapshot

I have a new ec2 Ubuntu instance running. I have properly set up the ec2-api tools. I want to create a daily backup using the ec2-create-snapshot command. Just to test it, I have my script, which is ...
1
vote
1answer
146 views

Why does a double sudo modify permissions?

Context: sshed into an AWS t1.micro instance running Amazon Linux 2013.09, using the default ec2-user. I'm trying to list the contents of the default postgresql directory: What's in there? $ ls ...
0
votes
1answer
116 views

EC2 Windows - Can I use ephemeral storage as root?

Can I use ephemeral storage as the root of my windows instances? I have a auto scaling group with windows instances and I was thinking if I could use the ephemeral storage as root. I'll never turn my ...
3
votes
1answer
291 views

How to register shutdown script on Amazon Linux in AWS EC2

I am using Amazon Linux (RH-based distro) in AWS EC2. I followed the structure of /usr/share/doc/initscripts-*/sysvinitfiles to create an init script in /etc/init.d. /etc/init.d/do_something ...
0
votes
0answers
40 views

ec2 enable su for user ubuntu

I am trying to enable rstudio-server login with ubuntu on ec2, but it fails. I think it uses the same auth mechanism as su. So I did sudo passwd su someotheruser su ubuntu But even though I know ...
0
votes
1answer
100 views

Acces to AWS EC2 from corporate network

I have a Windows EC2 instance and i would like to connect to it from nthe corporate network. unfortunately, firewalls block RDP. Can you tell me please how to proceed to be able to connect to my ...
0
votes
1answer
90 views

Setup page for phpMyAdmin not appearing but the domain is

Relative newbie here... EC2 instance installed, apache is running and can see the Test Page for the Apache server I am following the instructions found on ...
0
votes
1answer
246 views

Linux port open locally, but not externally

Port is open locally, but not externally Neo4j is a graph database with a browser and REST interface.I need to start a second instance of neo4j server. I would like to run the process a user with ...
2
votes
1answer
41 views

Is it safe to work on a server via SSH while uploading files to it via an SFTP file manager?

I'm uploading a large amount of data onto a server via SFTP, and could start setting things up in non-related areas with SSH while waiting, but I'm curious as to whether doing the two simultaneously ...
0
votes
1answer
4k views

“No X11 DISPLAY variable was set” error - Amazon EC2 / SSH

I'm trying to install APT on an Amazon EC2 through PuTTY. I've uploaded APT, found here, and followed these instructions to install. However, when I run sh install-linux64-apt.sh in the proper ...
1
vote
1answer
3k views

Can phpMyAdmin be used to connect to a remote database?

I recently read this tutorial, which explains how one can easily reconfigure a local installation of phpMyAdmin to connect to a remote database. The functionality seems to be supported, but not ...
1
vote
1answer
338 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 ...
6
votes
1answer
786 views

Is listening on a port on the localhost of a server the same as listening on that port of the server's public IP address?

I set up a free Amazon EC2 instance in order to use a Node app outside of my localhost environment. The instance is allocated a public IP address at launch, mine for example being 54.187.31.42. Does ...
0
votes
0answers
102 views

Tar a very large file directly to a drive

I was running my code to download some data on the Amazon cloud. The instance that I was running had an 8GB storage that I had bought with it plus 140GB extra instance storage (sort of plugged in as a ...
0
votes
0answers
76 views

Using custom rules in amazon security groups issues

So my question is pretty straight forward: I have two ec2-classic instances, say A(with security group sg-A) and B(with security group sg-B) the rules in sg-A is : Type | Protocol | Port Range | ...