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
0answers
15 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
123 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
13 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 ...
1
vote
0answers
65 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
31 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
0answers
11 views

Issue in increase amazon ec2 instance disk space [migrated]

I have a Amazon EC2 instance of 100GB disk space My disk most probably full only 5 GB space is available so I want to increase space. For increase disk space I followed below steps: - Log into the ...
0
votes
0answers
8 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
24 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
27 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
42 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 ...
0
votes
1answer
31 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
22 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 ...
0
votes
0answers
26 views

how to map sub domain to amazon ec2 and main domain mapped to shared hosting

I am trying to map subdomain to amazon ec2 with elastic IP. I already mapped the www.xxxexample.com to my shared hosting by giving the dns server name (ns1.justhost.com). And I created a many ...
2
votes
0answers
63 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
15 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
0answers
44 views

roundcube “SERVICE CURRENTLY NOT AVAILABLE!”

I am attempting to install roundcube on an Amazon Ubuntu 14.04 EC2 instance. This is my install script: sudo apt-get update sudo apt-get install lamp-server^ sudo apt-get install roundcube ...
0
votes
1answer
28 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
27 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
54 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
30 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
162 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 ...
0
votes
0answers
143 views

Can't install NVIDIA GRID K520 on Amazon g2

I made an AMI image of a server and load it into an Amazon G2 Windows (Server 2012) instance. I connected with RDP \ TightVNC and tried to install the graphic card driver NVIDIA GRID K520 as ...
1
vote
1answer
151 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
123 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 ...
5
votes
1answer
287 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
55 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
16 views

Amazon Server Catalina.out File access

I want to access my Catalina.out from my Amazon EC2 instance and create a dashboard of all the files. I know we can copy it locally via winSCP, but I want to create a WAR file which I will deploy on ...
0
votes
0answers
37 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 | ...
1
vote
0answers
121 views

Amazon Linux add user to group

I am using Amazon Linux AMI image doing development. And I want to add the default user 'ec2-user' into group 'docker' like below: sudo groupadd docker sudo gpasswd -a ec2-user docker When I logged ...
0
votes
1answer
45 views

aws ec2 windows machine - couldnot RDP [closed]

I have a ec2 windows machine, suddenly since past 2 days I am not able to RDP it, the machine and the apps are running though. The RDP port was already open in this security group, and I was able to ...
0
votes
1answer
102 views

Telnet between two linux machines on Amazon EC2

I am not a networking guy, so I apologize if my question is dumb. I have two Ubuntu machines setup via Amazon EC2. I need to "talk" from one to the other over port 3000. On my receiving machine, I ...
2
votes
1answer
59 views

Linux multi-tasking

I'm working on deploying a node project to a Linux box on amazon EC2. The project uses mongoDB. I'm trying to run node and mongoDB simultaneously on the box but I'm unfamiliar with linux. Is it ...
2
votes
0answers
42 views

Why would a new EC2 East instance take me to www.google.com.tw?

I set up an EC2 instance in the U.S. East (N. Virginia) region. It's a Windows Server 2012 instance, and the very first time I visited Google in Internet Explorer, I got redirected to google.com.tw. ...
0
votes
1answer
34 views

How do I partition new disk space after upgrading EC2 instance type?

I had created a t1.micro instance with an EBS volume attached to it. The volume was 8 GB. I stopped the instance and changed instance type to m1.medium which should have 410 GB of instance storage. ...
0
votes
2answers
71 views

Unable to send files via SCP

I tried using the scp command with the -i option to transfer the file from local machine to remote EC2 instance: Akhis-Macbook-Pro:~ aswinakhilesh$ sudo scp -i Mykey.pem FileA ...
-1
votes
1answer
71 views

Sample (working) configuration for openvpn in AWS

I've been trying to set up openvpn on AWS EC2 instance and I'm having lots of trouble with that... I followed the guide on ubuntu help center but it either blocks all connections or doesn't work ...
0
votes
1answer
177 views

Working on Amazon EC2 not smooth - expectations or setting issue?

I'm a beginning programmer looking to develop on a VPS, by which I aim to make multiple instances for each environment and work remotely without much hardware investment. From what I read, other ...
2
votes
1answer
222 views

Cannot Execute FTP commands using ftp.exe client on AWS EC2 Windows Instance

I am trying to use ftp.exe from powershell for ftp connection. I can login to ftp server through credential but when I run any command it through "500 Illegal PORT command. 425 Use PORT or PASV ...
0
votes
1answer
124 views

mysql_secure_Installation is missing in my mysql installation

I'm following this guide with my new Linux AMI on EC2. After installing mysql: yum install mysql-server And running it: service mysqld start I tried running: mysql_secure_Installation But ...
0
votes
0answers
178 views

Node.js on EC2 cannot connect to RDS

I have a node.js application running on an EC2 instance (running Ubuntu) trying to connect to MySQL on RDS. The security group for the RDS instance contains the security group for the EC2 instance as ...
0
votes
0answers
102 views

Error installing HandBrake on Amazon AMI Linux

When I tried to compile Hand Brake, I get the following error: checking whether we are using the GNU C++ compiler... no checking whether /usr/bin/g++ accepts -g... no checking dependency style of ...
0
votes
1answer
88 views

Unable to connect to custom port on Amazon EC2 instance

I saw many posts about the subject, but none of the suggested solutions seem to address my problem. I am using simple echo client-server programs test connectivity to Amazon EC2 instance running ...
0
votes
0answers
20 views

Random volume attaching behavior on EC2 instance

I have a IC2 windows instance which I start and stop frequently. Other than the root device, the instance has two extra volumes which are automatically attached when I spin up the windows instance. ...
0
votes
2answers
167 views

AWS CloudWatch custom metric publishing example

I'm badly struggling with publishing a custom metric into AWS CloudWatch. The problem is that my metric 'testmetric' is not showing up on the CloudWatch UI. I might be missing the part on the UI where ...
0
votes
0answers
276 views

ssh connection fails with timeout but telnet on port 22 is instant

I am trying to connect to an EC2 instance via ssh. I get a timeout after 80 seconds. If I telnet to the IP address using telnet. xxx.xxx.xxx.xxx 22 then I get an instant response. The EC2 instance is ...
2
votes
1answer
131 views

Redmine install on Apache2/Ubuntu 12.04 EC2 instance

Can someone point me to a guide or guides that explain how to get Redmine running on Ubuntu 12.04? From installing Ruby to setting up Passenger? I've tried a handful of times and have never been ...
0
votes
1answer
59 views

Is it possible to tell if an EC2 instance disk is full without logging in?

I can no longer log in to my EC2 instance running the bitnami node stack. Is there some way of ascertaining whether the disk is full (EBS) without being able to log in? Also if anyone knows a browser ...
1
vote
0answers
108 views

AWS EC2: Compile vim with clipboard support

I'm using a free EC2 instance using Amazon Linux AMI 2013.09.2. I want to install the latest version of vim and include clipboard support. I've seen a few guides, but none seem to be too current. ...
0
votes
1answer
261 views

I accidentally deleted the home directory on my Amazon Linux EC2. My whole site disappeared. What now?

I was using sudo rm -rf to delete some folders, and accidentally deleted the /Users/ec2-user home directory. I had my EC2 and AWS Route 53 running my site. Now, it just disappeared. I have all the ...
0
votes
1answer
330 views

How do you route within an Amazon VPC subnet?

I have an Amazon Virtual Private Cloud that looks like this: 10.40.1.1 Internet Gateway 10.40.1.5 My OpenVPN Instance 10.40.1.100 My Windows Box What I want is traffic from the Windows box ...