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

learn more… | top users | synonyms (1)

1
vote
0answers
50 views

How best to maintain a recent bash version on amazon linux?

I require Bash 4.2 or higher. Amazon Linux default repositories only provide Bash 4.1. I have done some searches and can not find a yum repository for recent versions of Bash. I don't want to compile ...
0
votes
1answer
30 views

Amazon EC2: Not able to login(RDP) to Instance after migrating root ebs volume.

I am trying to access my windows instance but I am unable to login (RDP) into it. What I have done is I have taken up a snapshot of a root EBS volume and attached that to newly launched instance. The ...
0
votes
0answers
17 views

Software RAID0 on ephemeral storage for Server 2008 on boot

I have a c3.large instance which I would like to run the two ephemeral drives in a striped raid configuration. I am able to do this via command line and the disk management msc, but I have not been ...
4
votes
2answers
1k views

how to collect and aggregate logs from multiple machines in Amazon AWS environment

We have multiple Ec2 servers running and they have a tendency to be started and shut down at unpredictable times (based on load etc). What is the best way to collate and aggregate logs from them in ...
0
votes
1answer
853 views

SMTP 550 5.1.1 error when sending email with postfix via amazon SES

I've been following this manual starting at page 26. First I've already made a tunnel with stunnel, and also I've already got conected via command line with amazon servers, then in my postfix main.cf ...
0
votes
2answers
343 views

Whitelabel DNS with Amazon Route53

I've searched the internet for the answer, but I can't find it and this is because DNS management is not exactly in my skillset. I want to use Amazon AWS Route53 to host a multi tenant php application ...
12
votes
3answers
3k views

EC2 drive not EBS volume size

I have an EC2 instance which I created a 500GB EBS volume for. Unfortunately, the EC2 instance shows only 8GB available. I have only one drive, which is right. [root@ip-10-244-134-250 ~]# ls -la ...
0
votes
1answer
971 views

ssh: connect to host port 22: Connection refused -> AWS

Just moved offices. Our production servers are on AWS and the Security Groups have being updated to reflect our new External IP. I have tried another computer with the same response both Mac OS X. ...
1
vote
4answers
3k views

How to install VNC server on Linux SUSE EC2 instance?

Assuming I can ssh to my Linux instance (SUSE Linux Enterprise Server 11 SP1) as root and that I can transfer files into it - how do I install a VNC server (let's say RealVNC free version) on the ...
1
vote
1answer
352 views

connecting to an EC2 instance via ssh on a created user

I can connect to my EC2 instance as root but if I create a user I get a Permission denied(public key) error. Here is the output from ssh -v OpenSSH_5.3p1 Debian-3ubuntu3, OpenSSL 0.9.8k 25 Mar 2009 ...
0
votes
4answers
386 views

EC2 instances in VPC and access to the Internet

I am playing a bit with AWS. I created one VPC (with 10.1.0.0./24 net) and two EC2 instances attached to it. One EC2 has 10.1.0.4, second 10.1.0.5 . I allocated one Elastic IP to VPC and associated it ...
-1
votes
1answer
31 views

Can't mount raid 1 with different size disks

I have a EC2 instance with a an ssd on xvdm (20 gb, 60 iops) and another ssd on xvdb (16 gb, better iops - instance store). The xvdm contains a mysql database and I'm trying to join these 2 disks in a ...
20
votes
3answers
19k views

Where does Amazon publish the range of IP addresses used for EC2 instances by region?

How can I keep updated of changes to the range of IP addresses that Amazon will use for EC2 instances. I want to add a range of IPs to my firewall settings to allow access to my 'ground based' mysql ...
1
vote
1answer
219 views

AD/DNS/DHCP domain controller in Amazon EC2 or VPC: migrating production environment

I currently have a co-location production environment which I want to migrate to AWS. Our infrastructure relies heavily on Active Directory for access to several platforms hosted within the ...
2
votes
2answers
225 views

How to join computer to domain

I have a DC running Windows Server 2012 with an internal IP of 172.31.27.158. It is both a DC and a DNS Server. Here's proof that DNS is running fine: The machine that I would like to add to the ...
0
votes
1answer
44 views

Dovecot configuration

I was setting up a mail server on Amazon EC2 using postfix and dovcot and I seem to be stack on starting up dovecot service. Here is the message i got when I run Service dovecot status dovecot ...
-1
votes
0answers
49 views

cURL request from EC2-VPC instance (in default VPC) to retrieve RSS feed timing out

I am trying to make a cURL request from EC2-VPC (in default VPC) to retrieve RSS Feed data. # cURL request from EC2-VPC instance curl -Lv -o test_rss.txt http://www.example.com/feed/rss/ The cURL ...
1
vote
0answers
512 views

How can I launch a vanilla non-marketplace open CentOS ami on Amazon EC2?

A while ago I did some research and launched a Centos 6.4 image from the Amazon Marketplace. It didn't have any fees (other than usage fees). That was working fine until I messed up a config file and ...
2
votes
1answer
418 views

Resque(Redis) On EC2 Micro Replciated to 3 availability zones

I'm going to build a failover setup for my resque jobs system wich uses Redis as a queue. The idea is to put 3 redises in different availability zones on micro instances and replicate them. Also would ...
1
vote
2answers
1k views

SUSE EC2 Problem - zypper - Permission denied

I'm trying to use zypper to install gcc on my Amazon EC2 instance running SUSE.When I try:zypper in gcc I get: Retrieving repository 'SLE11-SDK-SP1' metadata [] Permission to access ...
1
vote
3answers
139 views

Disk Partitioning on AWS EC2

I'd like to know if it's possible to create a partioned volume and if it even makes sense to do that on an Amazon EC2 server. I have a standard Ubuntu server and I'd like to separate the /home and ...
0
votes
3answers
382 views

Bitlocker Auto-Unlock

Can anyone comment on how the auto-unlock feature of bitlocker works. Specifically what I would like to know is how the the unlock key is encrypted and stored and when the unlock process takes place. ...
0
votes
0answers
48 views

Amazon AWS EC2 instance Exported to local machine

I have several Amazon AWS EC2 virtual machines that I created on AWS EC2. They were not imported, they were created there. I would like to export these machines in order to achieve local backups, ...
0
votes
0answers
7 views

find running ec2 instances and compare with tag like “linux” running instances or get mail whose running without tag. vai shell script

with help of code: Array3=ec2-describe-instances | grep INSTANCE | grep running | awk '{print $2,$5,$9,$10}' Array2=ec2-describe-tags --filter "resource-type=instance" --filter "key=linux" | awk ...
0
votes
0answers
26 views

autopostgresqlbackup postgres authentication error

I am trying to use autopostgresqlbackup on ubuntu on an ec2 instance. I can log in with psql on the command line and it is picking up my .pgpass file and everything looks fine. When I run 'sudo ...
0
votes
3answers
920 views

multiple virtual hosts on EC2 ubuntu - cannot access second host, always accesses default

I have been searching and reconfiguring for 6 days now and have lost several clumps of hair. PROBLEM: I want 2+ virtual hosts on my ubuntu server (1 ip) BUT - Only the first "alphabetically" listed ...
0
votes
1answer
75 views

I can't upload server certificate on AWS IAM

I got AWS iam working on my server, and trying to upload some certificates: aws iam upload-server-certificate --server-certificate-name domain2014 --certificate-body ...
1
vote
2answers
841 views

Unexpected behaviour when dynamically add node in HAproxy server

I wanted to use HAProxy for my web app for load balancing purpose. I am trying to add a new rabbitmq node dynamically in HAProxy server using command : haproxy -p /var/run/haproxy.pid -sf $(cat ...
0
votes
0answers
15 views

Bootstrapping an EC2 HVM Instance Store Image

I currently have a process where I dd a disk, install CentOS onto it and upload to AWS. This works great for PV based images. I'm trying to use this same process to bootstrap HVM instances, but I'm ...
7
votes
3answers
2k views

How to securely manage private keys for EC2-managed key pairs?

In order to launch an EC2 instance you need a key pair. How do you handle the situation where an engineer with acccess to the private key for that key pair leaves the company? Would it work to add ...
3
votes
2answers
1k views

Managing SSH keys between EC2 instances

I have what seems to be a growing count of EC2 instances and all is running fine and dandy. The one problem I'm facing, however, is figuring out a strategy for SSHing between the machines. Copying ...
0
votes
2answers
810 views

Server overloaded with log messages: “tty_release_dev: pts0: read/write wait queue active!”

In the logs, I have this (extract from the full kernel messages logges at 06:01:14): Apr 21 06:01:14 ip-10-49-109-107 kernel: [233185.863038] BUG: unable to handle kernel NULL pointer dereference at ...
0
votes
3answers
301 views

Why can't I SSH into a new EC2 instance I created from an AMI I generated?

I followed the procedures here: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html with the exception that I did not shut down the original instance, just let AWS reboot it. ...
2
votes
2answers
99 views

Trouble hitting EC2 AmazonProvidedDNS server over VPN

I have a VPC using the network 10.10.0.0/16, and a VPN server in the public subnet (10.10.0.0/24). The VPN uses addresses in the 10.11.254.0/24 range. When I connect to the VPN, I can access hosts in ...
0
votes
1answer
28 views

Allow traffic from any instance in AWS VPC

'm trying to create a security group that allows all inbound traffic originating from within my VPC. I thought I could simply specify my CIDR block, but that doesn't seem to work and requests fail ...
0
votes
2answers
29 views

Using EC2 command line tools with Access and Secret key only

I've been given access and secret keys for an EC2 account by a client, I know I can use Elastic Fox to start instances, but command line tools seem to require the account certificates. Are there any ...
1
vote
2answers
76 views

How to override the hostname that DHCP configures on a CentOS7 box in AWS? [duplicate]

The title nearly says it all. I have a VM in EC2 running CentOS 7. It uses DHCP, which seems to be a EC2 requirement. DHCP keeps overwriting the hostname on reboot, no matter what I try. I won't ...
0
votes
2answers
428 views

problem connecting to amazon ec2 instance after copying it to another region

I have a running instance on us-east which I can connect to. It is an EBS volume based on one of the ubuntu 10.10 server AMIs. It was created by starting a default image, and then customizing it and ...
3
votes
1answer
77 views

Internet access from private VPC subnet?

My brain is a little bit fried trying to figure this out but I can't seem to get private subnets to connect to the internet to grab updates for example. Basically all I want is web access for these ...
0
votes
1answer
27 views

AWS: authorizeSecurityGroupIngress within a VPC

I'm using the NodeJS SDK to add an inbound rule to a db security group from a db-access security group. Both of these security groups exist within a VPC, however when I add the ingress rule using ...
2
votes
2answers
2k views

Which AMI to to use for Java/Tomcat/MySQL in Amazon EC2? [closed]

I originally posted this on stackoverflow.com and it was suggested serverfault.com might be a better place to ask this question. So here goes: I'm trying to determine which Amazon Machine Image ...
0
votes
1answer
19 views

Should you use secondary IP configuration to configure applications in EC2?

I am using DHCP to assign primary IP addresses in a subnet within a Windows Amazon Web Services EC2 instance To avoid issues where the boxes are rebooted and the DHCP address changes, I have assigned ...
1
vote
1answer
834 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
1answer
18 views

Terminate a specific instance and scale down an Autoscaling group managed by CloudFormation

We have two applications that require a long time(between 20 minutes and 7 days) to finish processing their data and deprovision properly. We still want to manage them in Autoscaling groups with ...
0
votes
1answer
36 views

Elastic Load Balancer bandwith vs EC2 [duplicate]

How does pricing with AWS works. By exemple: 1024 Go of Data Transfer Out in their calculator (http://calculator.s3.amazonaws.com/index.html) cost about 120$. If you remove this 1024Go and move it ...
1
vote
1answer
79 views

Network File Systems (NFS) between multiple AWS EC2 Instances for VisualSVN Servers behind Load Balancer

I have a couple of windows server instances running on Amazon EC2 with VisualSVN Server and would like to make them a bit more fault tolerant by running a duplicate instance with load balancers. The ...
0
votes
3answers
686 views

Ubuntu 14.04 Server HVM with EBS Free Tier AMI

I'm looking through the AWS Marketplace and Community AMI's to launch an instance on my newly registered free tier on Amazon. I'm very confused by the advertising of what's included in the free tier ...
0
votes
1answer
60 views

Assigning a public ip to an ec2 in cloudformation?

In the vpc I am using on aws ec2's do not get a public ip address by default. I am trying to add one manually after referencing this and this bit of documentation. Currently my cloudformation ...
1
vote
1answer
108 views

Shared File Systems between multiple AWS EC2 instances

I have a couple of windows server instances running on Amazon EC2 and would like to make them a bit more fault tolerant by running a duplicate instance with load balancers. The problem is the ...
0
votes
2answers
69 views

Ubuntu EC2 server not accepting key following OpenSSH upgrade

I've just upgraded OpenSSH on an EC2 Ubuntu instance. sshd -V now gives: OpenSSH_6.6p1 previously showed: OpenSSH_5.9p1 Debian-5ubuntu1.3 However, I can no longer log in with the .pem file from ...