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)

3
votes
1answer
352 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 ...
0
votes
1answer
124 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
104 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
287 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
44 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
368 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
901 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
110 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
81 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
799 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
106 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
376 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
68 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
55 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
2answers
118 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. ...
2
votes
2answers
331 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
140 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 ...
1
vote
1answer
790 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
654 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
771 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
1answer
345 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
2answers
2k 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
621 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
274 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
163 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 ...
2
votes
0answers
233 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
539 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
50 views

Amazon Cloud EC2 cost [closed]

I am going to rent an instance at amazon, for very low usage, probably 10-15 hours per month, It read 0.5 per hours plus some storage fee and network fee. just not sure if i am charge a minimum of ...
0
votes
1answer
173 views

How do I setup a test and dev environment on one same EC2 Linux instance for a drupal site?

I am using EC2 linux instances to run a drupal 7 site. I plan to have one server for the production site (drupalsite.com). How can I set up an EC2 Linux instance to host both test and development ...
0
votes
2answers
354 views

Set Volume to NOT delete on termination on AWS EC2 Management Console

I want to make my one of my instance's hard drive (root) persistent so I can use it if I want to recreate it in the future, but I can' find the option anywhere. Also, would it be possible to launch ...
0
votes
1answer
458 views

Why doesn't my new Amazon EC2 cluster volume size reflect the size I set in the launch options

When I create a new cr1.8xlarge instance on EC2 with a 100GB EBS storage, and run df -h, I only get about 6Gb of available storage on the root device. The instance is created using the Red Hat Linux ...
3
votes
1answer
40 views

Provide access to another user on EC2 instance.

A friend of mine, wants me to access his ec2 instance. He does not want to share his secret file. I advised him to put my public ssh keys, in the ~/.ssh/authorized_keys of his ec2 instance. If ...
6
votes
2answers
3k views

how to make salt-minion generate new keys

I am playing around with salt and what my problem is launching instance from Amazon EC2 AMI results minion keys being the same. How do I refresh individual minion to get it's new identity (key)?
0
votes
1answer
150 views

putting a backgroung job on ubuntu on ec2 which will work forever

I want to put a job on amazon ec2 which is something like delayed job for rails server. The job has to run even when my local machine get disconnected from ec2. Is there any way I can do that. I try ...
0
votes
1answer
120 views

Trying to migrate a mysql server to AWS

Please advise on how to migrate my local mysql server to the cloud. Currently I have a Fedora linux box and a NAS attached to it via ethernet. I believe the best way to go about it is : Take a ...
3
votes
1answer
530 views

Can't access YouTrack, unless using Firefox

Problem I cannot access JetBrains YouTrack using Chrome or Internet Explorer, but I can access it using Firefox. Background and troubleshooting that has already been performed It is running on an ...
2
votes
3answers
589 views

How to install rvm as user jenkins?

I am following these steps to setup a Jenkins server on an Ubuntu EC2 instance. Everything is fine until I get to this step: As you can see (at the end of the output) I am being asked for the ...
1
vote
0answers
38 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 ...
3
votes
1answer
2k views

EC2 GPU Instance on Windows

I am having a lot of trouble installing CUDA Toolkit on Amazon EC2 GPU Instances. I tried using the HVM Windows 2008 Server AMI from Amazon and also the NVIDIA GPU image both launched on g2.xlarge ...
0
votes
1answer
97 views

Is there any way in AWS to tun off instance if bill increases certain amount

I know there is a option if CPU increases certain load then Ec2 instance can be terminated. But i want to free my mind that if due to any reason my bill increases some amount say 100$ then my Ec2 ...
0
votes
1answer
6k views

VNC : Console does not accept any keyboard/mouse inputs

I have used and configured vnc many a times before but facing this strange issue for the first time. Here are my steps of configuring vnc on Amazon (RHEL 6.2 64-bit, AMI: ami-2fd5441f): Server ...
0
votes
1answer
316 views

Is there an easy way to configure AWS RDS security groups so that specific users can access the RDS instance?

I have an Oracle instance set up in Amazon Web Services' RDS, and I want to give three users access to the database. The issue that I'm having is that the way security groups work, it seems that I can ...
1
vote
1answer
373 views

Asterisk preferable CPU usage

I have Asterisk running on an Amazon M1 small instance. The maximum number of lines do not exceed 20. After running for awhile, voice quality decreased. Some noises appear and voice was getting ...
0
votes
0answers
633 views

How do I change a linux kernel for an EC2 friendly version?

I have to get an old image from a physical ubuntu (dapper) box into AWS. The software stack and applications are not exactly contemporary so I have tried to do a P2V to AWS dd'd the /dev/sda volume ...
1
vote
1answer
171 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 ...
2
votes
1answer
76 views

Where are these S3 requests coming from?

I've recently been working to create a CentOS 6.4 Amazon machine image (AMI) from scratch to be used as a base image for running Postfix email services on EC2. In my quest to learn the process, I ...