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)

2
votes
0answers
139 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 ...
2
votes
0answers
272 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 ...
2
votes
0answers
201 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 ...
2
votes
0answers
50 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. ...
2
votes
0answers
156 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. ...
2
votes
0answers
260 views

Connect to Amazon EC2 with NFS

I'm trying to connect to my Amazon EC2 from my laptop using NFS. I've installed nfs-utils rpcbind and have the following in /etc/exports /mnt/data/myuser *(rw,async) Then load the changes exportfs ...
2
votes
0answers
281 views

Centos/Redhat XSP4 daemon

How can I install xsp to run as a daemon.I run my /etc/init.d/xsp script(see below) it stops with status message : Listening on address: 0.0.0.0 Root directory: /var/www/asptest Listening on port: ...
2
votes
0answers
1k views

How can I pass environment variable in nginx conf?

I have nginx conf as location /static/ { alias $HOME/code/python/vlists/vlists/static/; # if asset versioning is used if ($query_string) { expires max; ...
2
votes
0answers
979 views

How to copy files from Linux to Windows with RDP (Vinagre)?

I'm able to log in to my EC2 instance with Vinagre but can't figure out how to copy files from my (Ubuntu 12.04) machine to that (Windows Server 2008) slice. Some googling yielded this which ...
2
votes
0answers
395 views

creating a VPN connection between AWS EC2 Ubuntu server and Ubuntu client

Setting up VPN server-client connection seems to be tricky. I have a sever on Amazon EC2 and would like to join it to my network at home. What is the simplest & quickest way to do it? Which ...
1
vote
0answers
18 views

ClamAV shows errors found, 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
0answers
64 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
0answers
369 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 ...
1
vote
0answers
33 views

Getting error “CreateStack failed: Size of the instance” when trying to launch g2.2xlarge on EC2

I'm tryign to launch a g2.2xlarge instance on EC2 from N. Virginia (us-east-1). I'm using an AMI which works on the older cg1.4xlarge GPU instance type. At the final stage of the creating a stack ...
1
vote
0answers
112 views

EC2 instance with two internal IPs - using ifconfig

I am trying to allocate another internal IP to an EC2 (classic - not VPC) instance with the following command. sudo ifconfig eth0:0 inet 10.80.7.40 netmask 255.255.255.0 Here, 10.80.7.40 is just a ...
1
vote
0answers
352 views

Adding a disk to an Amazon EC2 instance

I am using Amazon EC2 instance where I have low disk space [root@ip-10-59-143-73 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/xvde1 5.7G 3.3G 2.3G 60% / none ...
1
vote
0answers
309 views

installing redis server on an ec2 instance where postgres is installed

I have an ec2 microinstance. I have installed only my postgressql database server over there. I want to try redis for celery backend and also for some realtime value storing. I am expecting as of ...
1
vote
0answers
112 views

Python taking too much memory on server,

I have a running EC2 instance on amazon AWS. and some time server gives me the memory maximum utilization above 97%. When i saw my server stats on newrelic That showed me the below running processes ...
1
vote
0answers
94 views

Can't ssh to ec2 after using afw

I just used ufw to enable port 1337 on my Ubuntu system for the first time. After that, my instance was fine, but port 1337 was still not open, so I changed the security group from the ec2 console. ...
1
vote
0answers
346 views

mysql remote connection on Amazon ec2 ubuntu

I installed a MySQL server in an Amazon EC2 instance. Then, I made the following changes in /etc/mysql/my.cnf: bind-address = 0.0.0.0 #skip-external-locking After restarting the server, I executed ...
1
vote
0answers
151 views

Install and setup FTP for nginx on Amazon EC2?

To install nginx and node on my Amazon EC2 I followed this guide: Installing Node.js on Amazon EC2 Now I want to get an FTP up and running and set it up so that when I connect to the FTP I ...
1
vote
0answers
303 views

Apache2 not responding on Amazon EC2

It is my first time to use Amazon EC2 linux micro instance with OS Ubuntu 12.04 [inside the box] I noticed it did not have Apache installed by default, so I did sudo apt-get install apache2. After ...
1
vote
0answers
86 views

Amazon EC2 Windows Server 2008 + “Instance Status Checks failed”

I have Windows Server 2008 launched on Amazon EC2 Instance. While doing some configuration I changed IP address to the private IP address of Amazon EC2 instance. As soon as I changed IP address, ...
1
vote
0answers
67 views

Vim creates strange output when navigating up or down in Amazon EC2 Ubuntu

When navigating up or down in Vim whilst ssh-ed into an Amazon EC2 Ubuntu instance, strange output appears at the bottom of the screen. -I think the right-most info (e.g. 2,0-) is indicating cursor ...
0
votes
0answers
6 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 ...
0
votes
0answers
11 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
0answers
107 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 ...
0
votes
0answers
54 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 ...
0
votes
0answers
27 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
0answers
20 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
27 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
0answers
56 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
0answers
306 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 ...
0
votes
0answers
14 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
123 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 ...
0
votes
0answers
149 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 ...
0
votes
0answers
27 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
89 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
0answers
263 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 ...
0
votes
0answers
78 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
34 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
51 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 | ...
0
votes
0answers
234 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
159 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
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
0answers
462 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 ...
0
votes
0answers
132 views

Why make 768x1024 the default EC2 Windows Server resolution and how do I change this setting?

How I figured out the resolution: by running an AutoIt script on instance startup and logging the values of @DesktopHeight and @DesktopWidth. Why such a strange resolution? It seems backwards and it ...
0
votes
0answers
138 views

aws ami — set or get password?

I'm an instance from a community ami with Ec2SetPassword disabled. That is, it won't generate a password. I want to be able to connect and login to the instance. However, i do not have the password. ...
0
votes
0answers
58 views

AWS ec2 - Windows machine launched from AMI, isn't giving windows password

I have a ec2 windows machine AMI, from Which I created an instance yesterday, I don;t remember its admin password, and I have been trying to get the windows password, but every time I try it says "it ...
0
votes
0answers
68 views

Copy data off my Amazon EC2 instance with FileZilla for Mac

I'm trying to get data off my EC2 instance using Filezilla and I'm trying to connect to the instance using the credentials I've used in the past, but I am now getting an error. The instance is ...