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)

0
votes
1answer
32 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
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 ...
2
votes
2answers
218 views

Cannot scp file to an EC2 instance that I can ssh to

I have two EC2 instances that were created from the same AMI, which was created from the Amazon Linux AMI. These are running mysql in a master-slave configuration. The security group ("db") is ...
0
votes
0answers
7 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
10 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
24 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
25 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
20 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
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
21 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
2answers
269 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
42 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
0answers
33 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
23 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
25 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
41 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 ...
0
votes
2answers
58 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 ...
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
104 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
111 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
2answers
128 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
15 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 ...
4
votes
1answer
6k views

Where to find log messages in tomcat7 installed on Amazon EC2?

I have installed Tomcat 7 on an Amazon EC2 running Amazon Linux. I have installed a WAR file on tomcat and I am using java.util.logging for logging messages in my code. Now how to access those log ...
1
vote
1answer
88 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
95 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 ...
3
votes
3answers
12k views

How do I copy files into `/var/www` with WinSCP?

When I try to place my web files into /var/www in apache on my ec2 Ubuntu instance it is giving me an error stating that I don't have permission. Permission denied. Error code: 3 Error message from ...
5
votes
1answer
265 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
47 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 ...
2
votes
1answer
125 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
0answers
35 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
2answers
1k views

How to install mongodb on linux?

I'm a nuby on linux (never used it before), and I want to install mongodb on an EC2 linux instance. I still haven't found a good article which guide how to install mongodb on an EC2 linux instance, ...
3
votes
6answers
7k views

What can cause a MAC Address to change?

I would like a summary of common scenarios that can cause a MAC address to change? Does hopping on a new network give you a new MAC? Does installing a new network device (e.g. WiFi card) cause a ...
2
votes
1answer
3k views

EC2 ubuntu AMI ssh password default without key

I have a problem getting past the prompt after setting my first EC2 instance. The ubuntu LTS AMI supposed has ubuntu as the default user name. I set up the instance without keypairs when asked during ...
1
vote
0answers
93 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
82 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
58 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 ...
3
votes
3answers
3k views

Moving EBS snapshots to Glacier

I have hundreds of large EBS snapshots I need to move to Glacier. What's the best way to go about doing this?
2
votes
0answers
40 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
79 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
1answer
31 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
1answer
234 views

Pros and Cons of virtualized dev environment

Because I was sick and tired of installing the same dev tools for the different machines I used, I figured why not try to stick it all into an EC2 instance that I can remote desktop into from any ...
13
votes
7answers
43k views

How to install PHPMyAdmin on Linux EC2 instance?

I just finished setting up a default Linux EC2 instance and would like to install PHPMyAdmin. I already have Apache and MySQL installed but cannot seem to install PHPMyAdmin. I tried using sudo ...
0
votes
1answer
67 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 ...
5
votes
4answers
3k views

How to get Amazon EC2 instance operating system info?

I just setup an EC2 instance running Linux. Is there a way to get the version/distribution of Linux that is running on the instance via the terminal?
-1
votes
1answer
67 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 ...
2
votes
1answer
205 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
144 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 ...
0
votes
1answer
89 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
154 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
93 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 ...