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
0answers
366 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 ...
3
votes
0answers
272 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
255 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 ...
1
vote
3answers
124 views

Use latest version of package in bash script

The installed package libnet-amazon-ec2-perl uses v0.14.1. How do I update this package to use the latest stable release v0.22.1? When I try sudo apt-get --only-upgrade install ...
3
votes
2answers
1k views

Copying 500GB Data to EC2 Instances Local Drive

Please do not ask me why (they made me) but I have to copy 500GB data to the local drive every 200 node/instances that I am launching in EC2. For reasons beyond this post, this data must by on the ...
0
votes
1answer
641 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 ...
2
votes
0answers
369 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 ...
0
votes
1answer
272 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 ...
2
votes
2answers
377 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
15 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
213 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
124 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 ...
1
vote
1answer
134 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
107 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
36 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
240 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 ...
6
votes
2answers
2k 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
88 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
136 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
82 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
92 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
225 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 ...
1
vote
2answers
265 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
41 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
2answers
1k 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 ...
5
votes
1answer
13k 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
323 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
720 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
96 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
238 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
65 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
10k 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
4k 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
620 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
315 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 ...
7
votes
3answers
6k 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
53 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
295 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
241 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 ...
0
votes
1answer
127 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 ...
-1
votes
1answer
116 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
547 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 ...
1
vote
1answer
616 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
587 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
563 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
1answer
2k views

How to point domain name to Amazon EC2 subdirectory

I'm having trouble pointing a domain name to a subdirectory on an Amazon EC2 instance. FYI - I'm not too experienced with DNS or networking ... So jumping right in ... I set up an Amazon EC2 ...
0
votes
1answer
129 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 ...
4
votes
2answers
6k views

Can I run Windows 7 in Amazon AWS [closed]

I'd love to be able to do some testing on blank images of a windows 7 machine, and rather than have to set up VirtualBox with Windows 7 and use snapshots etc I thought I might just use EC2 on AWS and ...