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
194 views

Unix/Java process stops running when moved to background

We have a Java process that was created using Appassembler. It runs fine as long as it is started and run in the foreground: [ec2-user@ip-xxx ourapp-0.0.1-SNAPSHOT]$ bin/ourapp Starting in ...
0
votes
0answers
60 views

Unable to login to a AWS EC2 ubuntu server - ssh connection OK but unable to get an interactive shell

It is what I see after a sucessfull ssh connection: Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-36-generic x86_64) * Documentation: https://help.ubuntu.com/ System information as of Sat Jan ...
0
votes
1answer
543 views

“Guest-specific operations were attempted on a machine that is not ready for guest communication.” exception when provisioning an AWS EC2 machine

I have used vagrant up to create a AWS EC2 instance. After I have stopped and restarted this instance, I want to rerun vagrant provision with updated provision clauses in the Vagrantfile. It failed ...
0
votes
0answers
37 views

How to launch a Windows snapshot as an EC2 instance?

I am pretty rusty with AWS and EC2 (played around with it a couple years ago but it seems like some has changed!). Last night I was using an EC2 Windows instance. Before terminating the instance, I ...
-1
votes
1answer
357 views

How do you view the database in phpmyadmin while using Amazon AWS EC2 via SSH?

I am in the process of setting up a new website via Amazon AWS EC2. I typically use SSH in order to connect to the instance and then occasionally I use FileZilla in order to move files into the ...
0
votes
1answer
74 views

If I copy a pem file between multiple computers will I still be able to ssh to amazon e2 instance?

While you creating an instances of Amazon EC2. A step is to generate a pem file. This file allows the sshing into the remote EC2 instance from local. **Question:**If I copy that pem file to ...
0
votes
1answer
87 views

Will AWS cut off my free service if I go over a limit?

Ok I've never used AWS but I wanna dive in to dev opts and I thought I'd start with AWS. My big tasks are learning to deploy a website to an EC2 and learn Route 58 for URLs. Next I want to try to ...
0
votes
1answer
61 views

Revoke access with specific private key to an EC2 server

I have converted my PEM file to a PPK file and I can successfully connect to the EC2 through Putty or FileZilla using the private key. Lets say we have a scenario: I request a new PEM and give the ...
1
vote
1answer
1k views

The remote desktop screen is always a grey background

I used the methods described in this page and this one to connect to the Amazon EC2 ubuntu instance using remote desktop. But I always got a grey background shown in this image: The log file in ...
0
votes
1answer
166 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 ...
1
vote
1answer
1k views

How can I import a VMDK disk image to an AWS EC2 t2.micro instance on us-east-1e region using an S3 bucket on us-east-1?

I've recently purchased a reserved EC2 micro instance on region eu-east-1e. I am having trouble importing a virtual machine using ec2-api-tools: ec2iin -t t2.micro "CentOS 7 x86_64-disk1.vmdk" -g ...
0
votes
1answer
183 views

Unable to establish RDP connection to my Amazon instance (windows server) after changing primary DNS setting

I created a Windows Instance (with private IP) and added to my existing VPC. Everything went fine. I was trying to join the new instance to my existing Active Directory. While doing that I had amended ...
0
votes
0answers
33 views

How can I access a Windows 7 Interface with Amazon EC2 and can I install any software from it?

How could I get access to a windows 7 interface when using Amazon EC2 and can I install software from it? Do I need to use Amazon Workspaces http://aws.amazon.com/workspaces/? The performance of the ...
1
vote
0answers
112 views

ClamAV shows errors found, but how to find out what they are?

Amazon includes clamav-0.98.4 in its AMI version 2014.09.1 so I installed it and gave it a try on one of my EC2 instances. After updating the definitions with freshclam, I've performed a scan with ...
1
vote
1answer
45 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
105 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
187 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
40 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
233 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
235 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
86 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
141 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
715 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
152 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
269 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
55 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
149 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
345 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
281 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
218 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
197 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
6k 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
85 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
241 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
62 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
58 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
269 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
1answer
219 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 ...
3
votes
1answer
363 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
318 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
1k 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
1k 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
406 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 ...
-1
votes
2answers
235 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
328 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
161 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
121 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
345 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
42 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 ...