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
76 views

Using semanage in CentOS 6.6 (Virtual Machine) but it shows “Killed” (solved)

Sorry for the duplicate, since stackoverflow won't answer the question and suggest to ask it here. I have a CentOS 6.6 virtual machine (lauched in Eucalyptus Private Cloud). I guess Amazon Instance ...
0
votes
1answer
107 views

Amazon EC2 password prompt when “su - ec2-user”

I can SSH in fine with my .pem file, to be automatically logged in as ec2-user. I can create a new user and password fine, and login with su - testUser. How do I log back into ec2-user without ...
1
vote
1answer
179 views

Issues SSHing between two Amazon EC2 instances of same region in different availability zones

I’m using two Amazon EC2 classic micro instances (A & B) of same region in different availability zones. I’m trying to connect the instances using SSH. Every time while I’m trying to connect, it ...
0
votes
0answers
177 views

INFO: Closed port 22 on ec2 instance security group

I'm trying to SSH into my Elastic Beanstalk instance using the EB CLI to access my logs however after entering eb ssh, I get this: INFO: Attempting to open port 22. INFO: SSH port 22 open. ssh: ...
0
votes
1answer
82 views

How to configure an Amazon EC2 instance inside a VPC (Virtual Private Cloud) without NAT?

I need a server on the network which has direct public IP address, not behind NAT. I’d like to use Amazon EC2 for this due to its flexibility and my familiarity with it. But as far as I can read so ...
0
votes
1answer
141 views

How change permanently FQDN of ubuntu in AWS EC2, if possible

I need to install and configure Postfix for a mail server in my AWS (Amazon Web Services) EC2 instance, but it asks for FQDN and my FQDN is ip-XXX-XX-XX-XX.ec2.internal (where XXX-XX-XX-XX is the ...
1
vote
1answer
69 views

Point one Amazon EC2 folder to another instance

I don’t know if this is the right place to ask this. But I have a web app running on an Amazon EC2 instance on AWS. We want to launch a WordPress blog that will be placed at www.myapp.com/blog. I don’...
2
votes
2answers
2k views

Issues resetting the MySQL password on an Amazon EC2 'Amazon Linux' instance

Been fighting with resetting the root password for MySQL on an Amazon Linux hosted on EC2. Version: mysql Ver 14.14 Distrib 5.5.42, for Linux (x86_64) using readline 5.1 When installing, I ...
0
votes
1answer
19 views

Transfer script files using ssh to my server?

I'm using Amazon node ssh I have a captcha.php script on my local host. How do I transfer that to my Amazon EC2 page? I'm trying to generate a captcha. I'm using Mac terminal and installed xampp.
0
votes
0answers
111 views

getting permission denied when uploading gfiles using php on ec2

I am trying to upload files using PHP on a Amazon t1.small instance but getting the following error: [ Tue Aug 25 22:04:25.163568 2015] [:error] [pid 6467] [client 120.56.186.247:2440] PHP Warning: ...
0
votes
1answer
81 views

Difference between creating CloudWatch alarm for “EC2 Instance Changes” & “EC2 Large Instance Changes”?

Why we are create a separate alarm for "EC2 Instance Changes" & "EC2 Large Instance Changes" ? Mainly why we are create a separate alarm for large instances changes..? or EC2-instances changes ...
0
votes
1answer
39 views

dd over ssh poor network throughput performance

I am running a raw block copy of one ec2 instance to another ec2 instance over a local ssh connection using a large block size of 16MB. ssh -i ~/.ssh/id_rsa ubuntu@10.0.59.92 'sudo dd if=/dev/xvda1 ...
0
votes
1answer
580 views

WordPress and WinSCP permissions: Getting Upload of file … was successful, but error occurred while setting the permissions and/or timestamp

I have an EC2 instance and in it I use WordPress. To edit WordPress plugins and themes files I use WinSCP. The problem is that if I try to edit a file via WinSCP I get the following error message: ...
0
votes
0answers
66 views

EC2 WP No errors in mysqld.log yet Error w/database connection?

System information: Linux - latest from AWS | Apache - 2.4.12 | MySQL - 5.5.42 | PHP - 5.4.42 memory_limit: php 128M | wp 64M Running new m3.medium instance and having the database connection issue ...
0
votes
0answers
67 views

ow to Move Specific files with specific date stamp from one Amazon bucket to folder in the bucket : Linux bash

I have this bucket name in Amazon s3 event-s-event in this Amazon bucket I have millions of files and uploading in it after every hour. Lets suppose I have these files with some names like ** ...
0
votes
0answers
37 views

Unable to change owner on a mapped drive directory

I am using a script to copy files from amazon instances to a network drive using rsync. After the file copy I am trying to change the owner of these transferred files but am not able to. What is the ...
2
votes
2answers
1k views

Issue with key pair while connecting to AWS EC2 Instance

I am trying to connect via ssh to my RHEL EC2 Instance, from a Linux Mint computer, and when I run this command: ssh ec2-user@SERVER_IP_ADDRESS I get this error: Permission denied (publickey,...
1
vote
1answer
508 views

AWS Security Group Rules Limit

Is there any ways to trigger an alert when an AWS security group reach the maximum limit of 50 rules per group and when a maximum of 5 security group per Instance is created?
0
votes
0answers
142 views

Can't connect to Amazon AWS EC2 Instance (SFTP or SSH) on a new network

On most networks I can connect fine. However on this new wifi network I can't connect. FileZilla just says that the connection timed out.
0
votes
0answers
27 views

Unable to ssh into EMR cluster from Windows

I keep getting the public key error when ssh from a Windows machine. The kind of error I would fix with chmod 400. How do I fix it in Windows?
1
vote
1answer
335 views

Amazon EC2 Security Group inbound rule with a dynamic IP

I'm just getting started with Amazon AWS and EC2 in particular and I was wondering if someone could clarify what I see as a potential problem with EC2 Security Groups. Right now, I'm in the process of ...
0
votes
1answer
369 views

Logging into an AWS instance with a non-root user

It seems from the EC2 documentation that one must logon with the specific userid associated with the AMI: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AccessingInstancesLinux.html Use the ...
0
votes
0answers
524 views

Password less ssh between two Amazon ec2 instances

I have to install an 12.2 instance for that we need a password less SSH connection between 2 applications nodes. I created the instance using a private key called EC2_linux. I am able ssh to another ...
0
votes
1answer
28 views

What happened to my disk volumes

I am new to amazon ec2. I created virtual machines using centos AMI. I also created disk volumes of 50GB for each VM as you can see below But if I go inside any of my VMs, and do df -h it says [...
1
vote
0answers
242 views

Nginx + Passenger not working — client requests hang until timeout

I'm running on an EC2 instance with Amazon Linux installed and Nginx was installed via passenger-install-nginx-module. The full install process followed was similar to this. The primary difference was ...
1
vote
1answer
90 views

DNS , NS and Mail Server configuration for website hosted on Amazon EC2

I created amazon free micro instance on EC2. And hosted my website on that server. IP like - 52.24.220.140 Problem is that , my domain registrar is Directi.com and I don't have mail hosting also ....
0
votes
1answer
501 views

Cannot access AWS webserver using public IP

I have a free AWS account and have set up a EC2 Virtual machine on Windows Server 2008 R2. I use RDP to access the VM. I have set up XAMPP and deployed my PHP application in it. I can access it ...
0
votes
0answers
20 views

Not able to access apache 2 from ec2 instance

I installed apache 2 via this command : sudo apt-get install apache2 It is successfully installed on my amazone ec2 server, but I am not able to access it from my computer. I issued the following ...
1
vote
1answer
1k views

Can't connect to AWS EC2 instance from internet

I created my first EC2 instance (linux) using Amazon Web Services, but I can't connect on any port from any host. I changed the inbound rules on my security groups to allow connections from any ip 0....
0
votes
2answers
193 views

/etc/profile: Permission denied after restarting Amazon EC2

I restarted my Amazon EC2 instance and all of sudden when I log in from SSH via putty I get the error: -bash: /etc/profile: Permission denied -bash: /etc/bashrc: Permission denied Previously I was ...
1
vote
1answer
89 views

Improving EC2 ping times from home

I've been trying to run a gaming machine in EC2 following the excellent blog post by Larry Land here. The problem I have is latency from my home to my nearest AWS region. I get a ping of around 35ms,...
3
votes
1answer
151 views

Docker container doesn't write in amazon EBS volume

In amazon EC2-instance (Amazon Linux AMI 2015.03.0 x86_64 HVM) I mounted EBS volume to /data directory. Now, I have a docker container that I (sudo) run with -v /data:/data. This container creates ...
1
vote
4answers
387 views

Restricting SSH Access to Amazon EC2 Instance

I am preparing to set up an Amazon EC2 instance. It will be a testing and development machine to allow me to put PHP, Python, etc scripts on a server without being tied down to a local machine. ...
0
votes
1answer
2k views

/dev/xvda1 full , though there is no temporary files

I have AWS ec2 micro instance, suddenly it shows memory full. I have checked the folder using df -hcommand. The result is displayed below. Filesystem Size Used Avail Use% Mounted on /dev/xvda1 ...
0
votes
0answers
194 views

How to create subdomain using Godaddy and AWS EC2 instance? [closed]

Right now, I’ve set up a domain in Godaddy and have Apache installed in my EC2 instance. The main domain works and I can see the html files from my browser. However, I’ve no idea of how to set up a ...
2
votes
1answer
681 views

Amazon-EC2 ports not opened despite Security Groups and iptables configuration

I just rented an Amazon EC2 server, made to host a node.js app which listen to client on port 9001. I did configure the Security Groups and added inbound and outbound rules on this port. There is no ...
0
votes
0answers
139 views

How Can I Use The Internet Of My Amazon EC2 Instance On My Windows 8

I have a nice internet connection but when i was browsing on my Ubuntu Amazon EC2 instance using VNC viewer, i became blown away at the speed of it's net. Is their anyway I can harness the internet of ...
0
votes
0answers
168 views

How to slice video in remote http server using ffmpeg?

I want to slice video from remote host . i am using following command to do this ffmpeg -i https://s3-us-west-1.amazonaws.com/path/to/video/messi.mp4 -ss 00:00:03 -t 00:00:08 -async 1 cut.mp4 ...
0
votes
1answer
1k views

Amazon Web Service (AWS) VPC private subnet instance 'Permission denied (publickey).' - ssh from osx

I’m connecting to an Amazon Web Service (AWS) EC2 instance in a virtual private server’s private subnet via a NAT instance and getting the following error: Permission denied (publickey) This ...
1
vote
2answers
267 views

ERROR: could not load library “/usr/lib64/pgsql/hstore.so”: /lib64/libc.so.6: version `GLIBC_2.14' not found

I’m trying to enable hstore on my PostgreSQL database running on an Amazon Linux AMI. I’ve already jumped through a ton of hurdles and ended up with this error that I can’t get past: ERROR: could ...
-1
votes
1answer
607 views

how to upgrade Mysql 5.5.30 to 5.6.21 in Amazon ec2

The current installation of mysql is 5.5.30 and it is in Amazon ec2 I want to upgrade it to 5.6.21 I used sudo apt-get install mysql-server=5.6.21 But it says: Version '5.6.21' for 'mysql-server'...
0
votes
1answer
353 views

Use AWS EC2 to redirect incoming mail

Is it possible to setup an EC2 instance as a mail server and relay incoming mail to my domain to my in-house server on a different port than port 25? Right now I use rollernet.us for this. Which ...
0
votes
1answer
43 views

Why the tasks cannot be started?

I have defined scheduled task like it in a windows 2012 server which is running in a Virtual Box. I can start these tasks with schtasks /RUN /TN start-dop001 as a user 'dop001'. The task will ...
2
votes
2answers
6k views

How to yum update PHP to version 5.4 on Amazon Linux?

I need PHP 5.4 installed in an Amazon Linux instance. Presently we have: root@ip-10-138-1-229 webapps]$ php -version PHP 5.3.29 (cli) (built: Aug 20 2014 16:41:34) Is there a yum package for this? ...
1
vote
1answer
330 views

Why did node version manager install to ~/.nvm instead of just ~/nvm and what is “sourcing” in Linux?

I was wondering about a simple event that occurred while I was installing node version manager on my 64bit Amazon Linux 2014.09 Web Server. When I executed this install script curl https://raw....
1
vote
1answer
466 views

command executed in nohup is killed as soon as the putty terminal is closed

I have an Amazon ubuntu ec2 instance I'm using PuTTY to access the same. Here, I have a large database in mysql. I'm executing the following command to take the backup of my database. nohup ...
0
votes
2answers
3k views

Using PuTTY private key for new user on AWS EC2 Server

I started an AWS EC2 instance. I can connect to my instance with the user ec2-user using the SSH private key generated by Amazon. I followed the directions at: http://docs.aws.amazon.com/AWSEC2/...
3
votes
1answer
250 views

How can I make presto (or anything) an executable file on a Linux Server?

I tried CHMOD along with the file directory but it just can't seem to find it for some reason. I've tried the following: -bash: homeec2-user: command not found [ec2-user@_________ ~]$ ...
4
votes
1answer
2k views

AWS EC2 Linux headless Firefox issue: Xvfb: undefined symbol: pixman_glyph_cache_create

I have been using AWS EC2 Linux for a while for a headless Firefox/Selenium task. I built it using the instructions from http://itsallabtamil.blogspot.com/2013/02/setting-up-chrome-firefox-ec2-...
1
vote
1answer
359 views

Unix/Java process stops running when moved to background

We have a Java process that was created using Appassembler. It runs fine as long as it is started and run in the foreground: [ec2-user@ip-xxx ourapp-0.0.1-SNAPSHOT]$ bin/ourapp Starting in APP_HOME=/...