Amazon Elastic Compute Cloud (EC2) provides self-service, on-demand, pay-for-what-you-use computing infrastructure resources.

learn more… | top users | synonyms (1)

0
votes
1answer
18 views

Amazon snapshot issue

This Question has 2 parts: 1) What snapshots can be safely removed, do I need to retain the ones from which a running instance was launched? 2) How are snapshots appearing from a shut down instance? ...
0
votes
1answer
815 views

Amazon Linux AMI for NFS between multiple EC2 servers

So I've been trying to create a Dropbox like system to allow multiple EC2 instances to work with the same files. I'm writing the programs that actually modify the files myself, and I'm not worried ...
0
votes
0answers
12 views

How to list EC2 security group *rules* from within instance?

I have SSH root access to an EC2 instance but no access to the AWS Console / AWS KEY & SECRET. My incoming traffic to this host on all TCP ports except 22 TCP seems to be blocked - I cannot ...
-6
votes
0answers
32 views

Is fewer servers with more computing power better than more servers with less computing power [on hold]

Notice: A Good Answer will be give star. I am thinking to buy AMAZON AWS servers but i want to know that would it be better for me to buy more c4.large (less computing power)(with Load Balancing) or ...
0
votes
1answer
27 views

How to avoid GRUB errors after runing apt-get upgrade - ubunut

I'm running ubuntu 14.04 on an EC2 After running apt-get upgrade I'm prompted with a screen that asks me to reinstall GRUB boot loader The GRUB boot loader was previously installed to a disk ...
0
votes
0answers
22 views

How to deploy in amazon ec2 through bitbucket

I have a django project and have my repository in bitbucket and locally (windows 7). Now I want to deploy the changes to amazon ec2 instance (ubuntu 14.04) by doing git push and git pull. I did git ...
1
vote
0answers
23 views

How to best use Amazon's “ephemeral” SSD devices under Linux? [on hold]

Amazon attaches "ephemeral" SSD device(s) to most of the instace-types -- these are included in the cost of VM, are fast, but any data on them is lost, when the VM is shut down. How to make the best ...
0
votes
3answers
1k views

ERROR: The partition with /var/lib/mysql is too full!

I am running in a problem here I have a linux instance running on EC2. All was working fine till last night. Today morning it showed me some error stating that there was no disk space to write of ...
1
vote
1answer
856 views

Amazon EC2 Socket connection not being accepted

I am trying to run a java application on my EC2 instance. The application accepts socket connections on port 54321. If I try and connect to it, it times out. My Security Group is set as: TCP Port ...
1
vote
2answers
30 views

Auto-heal an EC2 instance with an Auto Scaling Group?

I'm trying to setup an auto-healing EC2 instance using an Auto Scaling Group and a user-data startup script. If the current server has an issue where it is no longer reachable, the instance should ...
-1
votes
0answers
7 views

Transaction Emails Magento 1.9.0.1 AWS and Amazon SES

I am working on a magento store which is installed on AWS EC2. I have setup Amazon SES to handle email and I installed the extension aschroder SMTP which supports Amazon SES. Using this system I am ...
-1
votes
0answers
13 views

cPanel Install Fails on CentOs 6.6 [on hold]

I am trying to install the latest version of cPanel on a server running Centos 6.6 and it is failing here: [20150129.112152] Testing if it's possible to install a simple RPM [20150129.112152] ...
0
votes
1answer
24 views

Subdomain using AWS Route 53, load balancer, EC2, Apache

I've tried to follow a few different tutorials on this, but can't quite get it to work. I have all of my DNS for my domain (example.com) in Route 53. Works fine. My top level domain (A record) ...
0
votes
0answers
19 views

EC2 Ubuntu 12.04 refuses do-release-upgrade

I'm running Ubuntu 12.04 on EC2 and I want to upgrade to 14.04. do-release-upgrade returns that there are no upgrades. do-release-upgrade -d begins to work and then halts stating: Calculating the ...
0
votes
1answer
25 views

SSH connection refused after installing webmin

I'm running Debian Wheezy on Amazon EC2, from their offical image: http://deb.li/awsmp I've got my SSH key and everything has run perfectly until I installed webmin via the deb-packages: ...
1
vote
1answer
307 views

SSHing between EC2 instances without having to provide key

I am trying to enable SSHing from one EC2 instance to another without a key. $ ssh ubuntu@slave gives me a permsission denied (public key) Whereas $ ssh -i aws-key.pem ubuntu@slave works correctly ...
0
votes
0answers
18 views

Windows VPN Server on Amazon EC2 Instance

we are small software company. Our web/db servers were in different networks. Recently we decided to create small network on Amazon EC2 and move all those servers to EC2. I have created several ...
2
votes
0answers
32 views

Amazon AWS EC2 image shutting itself down [on hold]

We have a Bamboo elastic instance running on Amazon AWS EC2, which is running Windows Server 2008 R2. There have been multiple times that the instance has shut down automatically. This has occurred ...
1
vote
1answer
890 views

Connecting jconsole using SOCKS to Amazon EC2

I'm trying to use jconsole to view stats on an EC2 instance by using a socks proxy created by SSH. I've tried the various scripts mentioned in the links below but to no avail: ...
1
vote
1answer
2k views

Can't install new database in OpenLDAP 2.4 with BDB on Debian

I'm trying to install an openldap server (slapd) on a Debian EC2 instance. I have followed all the instructions I can find, and am using the recommended slapd-config approach to configuration. It all ...
0
votes
1answer
44 views

How to set up an internal domain with Route53 on AWS?

I have a VPC on Amazon. Currently, it's running bind9 on one of the servers. It has records like this: build IN A 172.aa.bb.cc dev IN A 172.xx.yy.zz This ...
0
votes
1answer
29 views

Amazonubuntu ec2 is not responding via ssh [on hold]

It used to work but now it won't respond. ssh -i aws-niklas140428.pem ubuntu@54.72.xxx.x It does respond via HTTP though and I can restart it in the webGUI at aws.amazon.com How can I find the ...
1
vote
3answers
2k views

Production Instance : CLOSE_WAIT Connection Issue

I am using 10EC2 Instances behind 1 ELB. And ELB configured 80 to 8080 and 443 to 8080 port. And all 10EC2 instances having installed with Apache Tomcat, total request on ELB around 8000 to 10000 in ...
0
votes
1answer
11 views

How to Mounting RAID0 EBS Volumes after reboot on EC2?

I've already attached two volumes to my EC2 instance and configured RAID0 for them. After a reboot, the volumes didn't re-attach. I thought I had configured them to attach on reboot in fstab but they ...
0
votes
1answer
25 views

Ec2 instance static private ip address

I am using an on-demand instance for testing some services in my spare time. So, I start and stop that instance very frequently, and I see its public and private IPs changing each time. This is ...
1
vote
1answer
815 views

Using TntDrive to mount Amazon S3 on a Windows Amazon EC2 instance

I currently have 2 Amazon EC2 Windows Server 2008 instances setup with a load balancer. My problem now is that I need both instances to be able to access a single file system source (I'm trying to use ...
3
votes
2answers
4k views

unable to connect to the aws ec2 instance,Host key verification failed

I had set up a ubuntu instance with rails package and also deployed my app, it is working fine. But when i try to do SSH I its not allowing me for the remote login and throws errors like host key ...
0
votes
2answers
915 views

PHP install on clean Amazon Linux AMI

I'm trying to get a script working to bring up new Amazon Linux EC2 instances with php55 and the Amazon PHP sdk. However, I'm running into a problem that I think is caused by PHP version conflicts. I ...
2
votes
3answers
3k views

How to Setup VPN server in Windows Server 2008 on Amazon Cloud E2?

I have servers in Amazon Cloud E2 with Windows Server 2008 R2. I want to setup a VPN server. Can any one guide me? Because as per the MS articles I completed the steps but I am not able to connect ...
0
votes
0answers
20 views

SSL certificate for sql-server on ec2

I have an ec2 node provisioned to host mssql server. I'm trying to request and install an ssl certificate for this node so I can securely connect to it but I can't get the certificate to appear in the ...
0
votes
1answer
21 views

What AWS services allow you to specify a path for the resource's ARN?

The AWS Documentation on Amazon Resource Names says Some services let you specify a path for the resource name. For example, in Amazon S3, the resource identifier is an object name that can ...
1
vote
1answer
12 views

Permission issues with tomcat7 on EC2

I finally managed to deploy my web service on to ec2 with tomcat 7 installed. It works perfectly fine on localhost but is receiving errors on ec2. I think it is because my code generates an xml file ...
0
votes
1answer
36 views

Can't connect to RDS MySQL

So, I created a new DB and my EB app is reaching it fine, but I can't seem to access MySQL from my computer. When I try to run: mysql --host=123.abc.us-west-2.rds.amazonaws.com –-port=3306 –u myname ...
0
votes
1answer
882 views

Anonymous access to S3 bucket only from my EC2 instances

Is there a way to let anonymous access to a certain S3 bucket only from my EC2 instances (all of them) within a single AWS account? I know I can use IAM roles, but I found it's just too many moving ...
1
vote
2answers
401 views

How to reduce I/O on EC2 micro instance running wordpress

I have been running a very small wordpress site on Amazon EC2 for about 2 months, using the free tier micro instance. I have been getting billed a few dollars each month for going over the disk I/O ...
1
vote
1answer
20 views

Move static files from EC2 to S3 (or cloudfront) without updating links

Right now, I have a site entirely on an EC2 instance including all static files like css, js, and images. I'm wondering about the best way to handle moving them. For example, in my <HEAD> on a ...
0
votes
0answers
15 views

How to set up tinyproxy if have a dynamic ip adress? [closed]

i install tinyproxy in ubuntu but i have a problem with my dynamic ipadress so its changing when i restart to modem. how to setting up tinyproxy for connect? how to allow all ip to connect proxy i ...
0
votes
3answers
966 views

how do I find out what part of my ec2 storage is ephemeral

This may be a silly question, excuse my ignorance. I have an instance running like this: Does Root Device : EBS mean my entire system is on EBS? I've configured apache and a perl app here, all my ...
0
votes
1answer
26 views

AWS EC2 and storage spreadsheets [closed]

Does anyone know of a way to obtain the raw pricing data from AWS for their various hardware components (specifically EC2 and S3)? I noticed they produced a spreadsheet back in 2010 that isn't ...
2
votes
1answer
36 views

ELB - High latency when enabling cross-zone balancing

I'm working on improve our infrastructure reliability in AWS and one of my tasks is enabling cross-zone balancing on our ELBs. Our ELBs receives around 20K request by second on rush hours as well as ...
1
vote
1answer
2k views

upgrade CentOS from 6.5 to 7 in an EC2 Instance

How can I upgrade CentOS from 6.5 to 7.0 under Amazon Web Services EC2 instance? I have added the redhead upgrade tool to my repository and installed it, called the preupg and then imported the ...
2
votes
2answers
136 views

Default ubuntu user deleted, unable to access EC2 Instance via SSH

This is my first foray into using EC2, and I created my first instance using an Amazon AMI running Ubuntu 12.04. I created a keypair and downloaded the .pem file to my local machine. I was able to ...
2
votes
2answers
49 views

Sharing Private AMI: Not showing up on other account

I am trying to share an AMI (runs Windows Server 2008 R2) from one AWS account to another. I used these instructions to share it from the Console. I shared it to the account ID found under Account Id ...
0
votes
1answer
57 views

How can I check /dev/xvda1 if the command 'touch /forcefsck' doesn't work?

On login to EC2 (Ubuntu) instance, I see *** /dev/xvda1 should be checked for errors *** I can't fsck /dev/xvda1 because it is mounted, and sudo umount /dev/xvda1 fails because it is in use. So I ...
4
votes
2answers
1k views

How to automatically update nginx upstream server list when aws ec2 hostname changes or increases?

I want to setup autoscaling in AWS. I don't want to use Elastic Load Balancer. Autoscalling in Amazon creates EC2 instances seamlessly during demand spikes to maintain performance, and decreases ...
0
votes
1answer
912 views

Unable to ssh EC2 using password - “Disconnected: No supported authentication methods available (server sent: publickey)”

I have followed the following steps https://coderwall.com/p/j5nk9w This is what I did 1) $ sudo useradd -s /bin/bash -m -d /home/newuser -g root newuser Entered the Password for the newuser 2)$ ...
0
votes
0answers
21 views

EC2 and Mailgun DNS setting

I'll preface this by saying I'm very much a newbie when it comes to servers, so please bear with me. I'm trying to configure an Amazon EC2 instance to allow me to send e-mail through Mailgun but I ...
1
vote
4answers
208 views

apache2 is not running but it listens at port 80

I made an image of one of my private Amazon EC2 image that runs one website, then started installing redmine. After all the installation is done, it is about to restart Apache I encountered the ...
13
votes
1answer
46k views

How to add user with SFTP/ FTP access to '/var/www/html/website_abc' folder on Amazon EC2 Centos?

Possible Duplicate: Linux directory permissions I'm working with some third-party developers and I would like to grant SFTP (or FTP) access to the root folder for a website they're working ...
2
votes
2answers
376 views

Monit won't run

I have two identical EC2 instances (the second is a replica of the first), running Gentoo. The first instance has monit running which monitors a single process and some system resources and functions ...