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)

1
vote
2answers
19 views

Twitter user profiles don't appear when using a strongSwan VPN on EC2

I'll preface this by saying that I'm a software engineer, so technically aware, but new to network engineering, so my apologies if this is a dumb question I have a strongSwan VPN set up on an EC2 ...
2
votes
1answer
389 views

Make hidden folders invisible sftp

My client needed sftp server for sharing files, so I created sftp server on a amazon ec2 ubuntu machine and added different users. Now their need is when user login to sftp server either via winscp ...
0
votes
1answer
17 views

Access hosts in different sites

I want to connect different hosts that are in different sites in EC2, in a way that they can communicate with each other. I know that there is VPC and it is used when you want to use IP sec tunnels. I ...
0
votes
1answer
21 views

SSH Permission denied (publickey)

I have 2 EC2 instances (ip-172-30-0-196 and ip-172-30-0-194). But I can't do ssh from 194 to 196, and vice-versa. The ssh error from 194 is here. Both hosts have the ssh files with the same ...
0
votes
1answer
21 views

Transfer file from local machine to port forwarded machine

I have to transfer a file from my local machine to remote server 2 from remote server 1. I have port forwarded the remote server1(Amazon Ec2) port 2222 to remote server2(Amazon Ec2). I am connecting ...
0
votes
0answers
19 views

Would be great to send a large file to AWS EC2

Background: I have battled to install an rstudio server on AWS EC2 for some time (since November). It has been like the peeling back layers of an onion, always another hurdle. For a windows user ...
0
votes
0answers
12 views

Amazon EC2 instance goes offline

I've set up a game server on Amazon EC2. However it is often going offline for ~10 minutes, failing a status check. Instance reachability check failed at January 31, 2016 at 8:10:00 PM UTC+1 (4 ...
0
votes
1answer
13 views

Site unreacable after mapping domain DNS to AWS Elastic IP

I am following different tutorials to have my blog setup and working. I installed the WP on AWS which was working fine. Then I created Elastic IP and used that IP in my domain dns (hover.com). I used ...
0
votes
2answers
27 views

Need to associate my domain name with amazon ec2 instance without elastic IP

I am somewhat new to using Amazon EC2 instances and the only experience i have got is basically setting it up and using the same. Now due to financials involved i don't want to go for any dedicated ...
2
votes
2answers
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 ...
0
votes
1answer
15 views

Apache test screen not loading. Connection refused when connecting to public ip

I'm having problems getting Apache to work. I've followed the Amazon AWS instructions (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html) but my computer is refusing to load the ...
0
votes
1answer
68 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 ...
9
votes
3answers
19k 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 ...
1
vote
0answers
41 views

Amazon VPC one way communication issue [closed]

I have 2 sites. 1 - Amazon China: 10.50.0.0/23 with a few instances and one which is assigned with both a public and a private address (let's call it China-GW). This instance has been installed with ...
3
votes
1answer
604 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
490 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 ...
0
votes
1answer
69 views

Run a script during shutdown/termination of an aws instance

I need to execute a script during shutdown/termination of an AWS instance(debian). I added my script to the /etc/init.d/myscript and a symlink to /etc/rc0.d/K01myscript however I noticed that when I ...
0
votes
1answer
15 views

Location of Server Document Root for Bitnami Ghost AWS Install

I have just installed Ghost Powered by Bitnami for an Amazon Web Service EC-2 instance. I'm trying to figure out where to place fonts so that they are in the "root" of my webpage. E.g: ...
0
votes
0answers
48 views

Connectivity issue from India to an AWS EC2 instance in Sydney

We have an application that runs on an EC2 instance in the Sydney zone of AWS. It has been working fine for months, and nothing has changed to its configuration. All our users in India started ...
0
votes
0answers
49 views

EC2 Ubuntu cannot SSH out, Permission Denied (publickey)

I just set up an EC2 instance running Ubuntu, logged in, added public keys for the various computers/devices i use daily, and tested all of them and they worked. I logged into the EC2 machine, ...
6
votes
4answers
6k views

How can I get ec2 command run in git-bash?

I installed ec2 command line tools on windows this morning. When I try to run a command ec2-describe-instances in the git bash, I get this output: Exception in thread "main" ...
0
votes
1answer
20 views

Default partition type for Instance Store disks?

I have created an EC2 instance with an instance store automatically mounted to it. Although I can use the mounted disk correctly I can fdisk command complains that the disk does not have a valid ...
26
votes
2answers
3k views

Changed the PATH, now I'm getting “command not found” for everything

Amazon Linux Server, connected with SSH: I tried to change the PATH for the apache user by making some changes in /etc/environment (PATH=$PATH:/opt/openoffice4/program) and /etc/sysconfig/httpd ...
26
votes
8answers
84k 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
0answers
29 views

Package `python-meld3` not found on Amazon Linux

I'm trying to install ajenti-v on an EC2 instance running Amazon Linux but I'm unable to. When I run sudo yum install -y ajenti-v I get the following errors: Error: Package: ...
5
votes
2answers
12k views

“Cannot allocate memory” while no process seems to be using up memory

I am not competent on server issues, any help is much appreciated. When try to start a python/django shell on a linux box, I am getting OSError: [Errno 12] Cannot allocate memory. free -m seems to ...
0
votes
1answer
21 views

Why one AWS EC2 instance usage is more than 24 hours per day and how to solve this?

I am using AWS Free Tier. I run only one EC2 t2.micro instance. But the report tell me that the usage is more than 24 hours per day. That mean at the end of the month I will be charged (It estimate ...
2
votes
4answers
8k 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 ...
3
votes
3answers
2k 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
43 views

Geo-balanced (static) website hosting

Abstract I'm rebuilding my website and this time around, I have decided to go with a static website generator (jekyll, sculpin.io, etc). Partially as an excercise, I want this site to be hosted on a ...
1
vote
1answer
360 views

Installing Qt on an AWS instance

I would like to install the Qt development library on an AWS instance. Running > yum search qt | grep devel on an AWS t2.micro instance produces no matches. Does one have to install Qt from ...
0
votes
0answers
11 views

installed font not working in ec2 in rails app

I have downloaded font by running wget http://www.fontsquirrel.com/fonts/download/amatic inside my ec2 instance. Then I created a .fonts director and unzipped those files inside it. Then I ls ...
0
votes
0answers
22 views

AWS EC2 Disk not installed

Using Amazon EC2 instance and I have a running CentOS 6.5. I recently went to exchange the disc from the machine. did the procedure turn off the machine to a snapshot of the old drive and climb a new ...
0
votes
1answer
31 views

How to connect my VNC server without opening the port 5901?

I have installed and configured VNC server on Amazon EC2 instance. But the port 5901 is not opened in my security group. Is there any way to connect my VNC server from Windows without opening the port ...
0
votes
1answer
90 views

Yum Install software-properties-common on EC2

I'm trying to install software-properties-common on an EC2 micro instance and getting the following error: $ sudo yum install software-properties-common Loaded plugins: priorities, update-motd, ...
1
vote
1answer
50 views

Connecting to Amazon VPC instances via WinSCP

I am looking for a way to connect to an Amazon VPC EC2 instance from WinSCP. I am able to connect to it via PuTTY by SSHing to the NAT server and then ssh to the private instance using its private IP. ...
0
votes
1answer
81 views

Amazon EC2 public IP Address

How does amazon assign public IP address to its EC2 instance? As this IP address is public means I can use it from anywhere and it is reachable from the internet which means that it is unique ...
15
votes
2answers
17k views

X11 forwarding from Amazon EC2 AMI

local$> echo $DISPLAY :0.0 local$> ssh -X -i PEMFILE ec2-user@AMAZONEC2_AMI [ec2-user@REMOTE_AMI ~]$ echo $DISPLAY [ec2-user@REMOTE_AMI ~]$ sudo grep X11 /etc/ssh/sshd_config ...
0
votes
1answer
2k 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
1answer
123 views

Can't ssh into ec2 box (permission denied) - ECDSA issue

I launched a AWS community Ubuntu 12.04 desktop ec2. I added the host to my ssh config with the identity pem key file to ssh into my ec2. I got the authorized keys public key file from my ec2 and ...
0
votes
1answer
41 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
2answers
2k 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: ...
0
votes
2answers
985 views

Amazon EC2 and eventmachine encryption issues

I'm testing out an Amazon EC2 instance (Amazon Linux AMI 2011.09, EBS boot, 32-bit architecture with Amazon EC2 AMI Tools.) to see if it'll serve my purposes. I've written a small backend in Ruby ...
0
votes
1answer
60 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 ...
3
votes
2answers
2k views

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

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
22 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
84 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
82 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
59 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 ...
1
vote
1answer
46 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 ...