0
votes
1answer
24 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
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 ...
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 ...
5
votes
1answer
263 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 ...
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 ...
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 | ...
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
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
2answers
125 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
249 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
50 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
101 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
243 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
266 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 ...
0
votes
1answer
51 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 ...
3
votes
1answer
25 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 ...
0
votes
0answers
99 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
47 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 ...
1
vote
0answers
30 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 ...
0
votes
0answers
55 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 ...
0
votes
0answers
52 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
167 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 ...
2
votes
1answer
41 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 ...
2
votes
1answer
93 views

rsync via gateway ssh while defining .pem key

I need to sync my local files through a gateway to an Amazon EC2 instance that requires specifying my .pem key. I can do this as a three step like so (assuming no typos): rsync -avzh -e ssh ...
0
votes
2answers
1k views

Finding my network's public IP address range

I am referring to the following instructions to setup Amazon EC2 web services on my local machine: AWS-Security-Group I do not know how to complete the first bullet under step 6. How do I find my ...
2
votes
2answers
427 views

What actually is Amazon EC2's 'pay per hour' for on demand instances?

I'm thinking to host my ROR website on Amazon EC2. I wont be needing a S3 as of now. But when I check the their pricing it's like Micro - $0.020 per Hour I don't get this per hour billing.My ...
0
votes
0answers
146 views

Eclipse RSE not able to connect to SSH on port other than 22

I am using Eclipse RSE plugin to connect to Amazon Ec2 instance. On SSH port 22 all works ok. i then chnaged my default ssh port to 8022 . I tried from putty and that worked Fine. But Eclipse RSE ...
0
votes
3answers
3k views

Port 80 not accessible Amazon ec2

I have started a Amazon EC2 instance (Linux Redhat)... And Apache as well. But when i try: http://MyPublicHostName I get no response. I have ensured that my Security Group allows access to port ...
0
votes
1answer
167 views

Amazon Cloud as a Server with alot of RAM [closed]

I need a server with very big size of RAM, so around a ~1TB, for a GIS DB, that would be not written to hard disk, because the data is irrelevant after a seconds. So i do not need a lot of disk space, ...
4
votes
1answer
2k views

unable to create txt record using amazon route 53

I can't add the following TXT record to my Route 53 DNS config: v=msv1 t=whatever Doing so produces the following error: The record set could not be saved because: - The Value field contains ...
1
vote
2answers
5k views

getting my domain name to point to my amazon ec2 instance

I'm trying to get my godaddy.com domain name pointed to my Amazon EC2 instance and am having some difficulty. I created a hosted zone for my domain name on route 54 and set the namesevers up as the ...
3
votes
2answers
3k 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 ...
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?
0
votes
1answer
149 views

Host Interceptor gives localhost as hostname in aws

I'm trying to write my apache logs from my ec2 instances. I want the logs separated by hostname. I'm using host interceptor to get the hostname. My configuration is below. ...
1
vote
0answers
95 views

How to reduce memory footprint of t1.Micro Amazon AMI? [closed]

I recently launched (several tries) Amazon Linux AMI 2012.09 because of the 1 year free tier. However, its always running out of memory. How can I reduce the initial memory footprint of this AMI?
2
votes
1answer
2k views

Allowing multiple users SSH access to Ubuntu instance running on Amazon Web Services

It seems as if similar questions have been asked before, but the issue that I am having hasn't been raised or answered as a part of the answers provided to the other questions. So... I'm using an ...
0
votes
1answer
310 views

Autostart for ubuntu server

Here is the first part of my question. Splitted it because of rule "One topic - one question". My third and main question is about configuring autostart for webserver and database. init.d scripts ...
2
votes
1answer
99 views

User management for linux server

Here is the first part of my question. Should I set up two user accounts; one for the database and another for the web server? Or is it better to have one root user for all purposes?
1
vote
2answers
103 views

Where should I install binaries that don't come as .deb?

I'm going to run EC2 instance for dev purposes on AWS. Most likely Ubuntu (once had it on my laptop). I am Java developer, so I need JDK, Tomcat, Maven, Git and MongoDB on the server. But software in ...
0
votes
0answers
489 views

Unable to connect to amazon ec2 instance over ssh

I am unable to connect to my amazon instance through ssh from a particular internet provider's connection. But I am able to traceroute to that ip from the same internet provider's connection. ssh ...
3
votes
2answers
908 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
2answers
1k views

Postgresql 9.2 where is the initdb located on Ubuntu

I am trying to install postgres on EC2 / EBS. I am following this article and stuck at the following step. sudo su - su postgres - /usr/pgsql-9.0/bin/initdb -D /pgdata I cant find the initdb ...
0
votes
1answer
96 views

Symlink in ec2 /var/www/html/

I'm having problems with EC2 in the Amazon Cloud. My steps: I have a symlink to the S3 in /var/www/html I update my code and upload the code with git aws.push in my environment (var/www/html) ...
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
1answer
96 views

Create directory structure in Amazon Elastic Block Storage(EBS) and save files from Java Servlets?

I am very new to this and trying to do this the first time. I have learned that Amazon Elastic Block Storage(EBS) can be used in a similar way as a hard Disk when mounted on Amazon EC2. Now I wish to ...
0
votes
1answer
352 views

Unable to access Tomcat7 folder in Amazon EC2 via WinSCP in Windows 7

I am trying to copy a file Catalina.out from Amazon EC2 to local machine using WinSCP. I have been able to establish the connection but when I try to access the tomcat7 folder I get the error ...
1
vote
1answer
898 views

ec2-import-instance of VMWare vmdk of Windows OS success, but can't RDP access the new ec2 instance

I have a virtual machine for CI/build (Subversion, Jenkins) environment running Windows Server 2008 inside a VMWare server 2.0. We are migrating to AWS EC2 so using ec2-import-instance command line ...
11
votes
3answers
9k views

What is the difference between Amazon Linux and RedHat Enterprise Linux on AWS EC2?

I am very new to this and I don't even know if I should ask this question here or on Stackoverflow or ServerFault. The Question I wish to set up a EC2 instance on Amazon Web Services. My ...
0
votes
1answer
453 views

Installing pdftk on Amazon EC2 Linux Instance

I am having trouble installing pdftk on an amzn-ami-2011.09.2.x86_64-ebs (ami-953b06e1) instance. Since pdftk is not in the list of available packages I have tried to build it from source but failed ...