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

learn more… | top users | synonyms (1)

3
votes
1answer
112 views

Openssl hangs after client hello

I've got the following strange SSL connection error: openssl s_client -ssl3 -connect host:443 -msg CONNECTED(00000003) >>> SSL 3.0 Handshake [length 0087], ClientHello 01 00 00 83 03 ...
1
vote
2answers
91 views

Recommended instance size for AD controller on AWS

What is the recommended size of instance on AWS for Active Directory domain controllers? I have one controller, and another that joins for replication. Would 2 m1.small be sufficient? Things we have ...
0
votes
0answers
27 views

The device 'xvdg' is used in more than block-device mapping

Using Amazon's dotnet API, I am trying to launch an instance using the i2.8xlarge type using an AMI which has one EBS store already assigned to it. I map the 8 SSDs using xvd[b-i] -> ...
0
votes
1answer
45 views

How to Decide if I should upgrade the Ubuntu Server [duplicate]

I am using AWS micro instance running Apache HTTP Server and Tomcat servers. I have couple of Web Apps deployed on them where I use port forwarding from 80 to 8080 using Apache. Since I work for a ...
0
votes
1answer
91 views

PhpMyAdmin do not update correctly (AWS - EC2)

I have tried to install and/or updated phpMyAdmin three times under a Linux Amazon AMI image with Apache server in Amazon EC2, and I don't get to have the last version installed. This is what I have ...
0
votes
1answer
37 views

EC2 save mdadm RAID setup in an AMI [closed]

On EC2, most of the larger current generation instances have multiple SSD devices. To take advantage of the combined size of these for applications like nosql databases that store large amounts of ...
0
votes
2answers
58 views

TCP Python Server

I have a question regarding connection reliability running a tcp server from an ec2 instance. We are currently serving mobile customers around the world from the Oregon region using a c3.4xl ec2 ...
1
vote
2answers
217 views

Spot instances frequently terminated in AWS auto scaling group (failing system health check)

We have 2 auto scaling groups (one for on-demand and one for spot instances) which are both set to a static number of instances (min, max, and desired are all the same - 5 in our case). The instances ...
2
votes
0answers
153 views

Ubuntu 14.04 / Apache 2.4 causes kernel fault on Amazon EC2 medium instance

Got a disturbing crash while performing 'apachectl stop'. General system: $ uname -a Linux www.example.com 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux ...
1
vote
1answer
61 views

Programmatically adding two lines to crontab

I'm trying to add two lines to the root crontab when building an AWS instance. I have a set of commands that are part of the "user data". These commands are run as root when creating the instance. I ...
0
votes
0answers
47 views

The `iostat` Command Describes a Non-Existent Block Device

The System An instance running on Amazon EC2 It is an m1.large EC2 instance The instance is running Ubuntu Server 12.04 LTS Here's What Happens... I wanted to measure disk IOPS on my system, and ...
2
votes
2answers
140 views

Monitor AWS EC2 volume capacity

I have a EC2 Ubuntu server instance with a 15GB volume, running a web service. The web service is logging to date-formatted files which are pruned after 7 days. The load on the server is still low, ...
0
votes
1answer
142 views

Can I run elasticsearch on a single server?

I use elasticsearch as part of a Logstash stack, in which all of the components of the stack are installed on the same server. The purpose of this is to expose application logs to developers for ...
-6
votes
1answer
64 views

execute script at particular time in amazon ec2 linux [closed]

I am newbi in amazon ec2 as well as linux, I am working on pentaho kettle, for starting my job process i m using following command in amazon ec2 instance, cd /dev/pdi/data-integration (reaching to ...
-1
votes
2answers
47 views

AWS billing: how to dispose of unneeded volumes and AMIs

I have a project in development on AWS EC2 and it will be dormant for a few months. I want to shut down all resources to reduce costs, and keep only the minimal set of resources around. I have a bunch ...
1
vote
1answer
108 views

Use Ansible to create vagrant box ?

I am new to Ansible and I bit confused if I can better use Vagrant to create VM instances (on EC2 and local virtual boxes) and use Ansible only for provisioning or if I can/should use Ansible to ...
-1
votes
1answer
21 views

Parent and cloned ec2 instances using the same MySQL server?

I recently created a t1.micro instance running Ubuntu Linux. I then used that instance to create an image that would allow me to clone more instances. Installed LAMP and PHPMyAdmin on the parent ...
1
vote
0answers
63 views

How do I add a NAT instance that was created by the VPC setup wizard to an OpsWorks layer?

I'm using a VPC with public/private subnets and a NAT instance created by the VPC setup wizard. I'd like to make a few tweaks to the NAT instances via OpsWorks (mostly logging and changes to iptables ...
0
votes
1answer
47 views

Convert Windows Amazon EBS Instance backed to EBS

I've come across plenty of how-to's for this that deal with Linux (and back in 2010 when not all tools were available on the EC2 web interface) but none that deal with Windows (that work). I've tried ...
1
vote
1answer
102 views

Assign a static private ip to an EC2 instance

I want my server to connect to a db server (both on an EC2 instance). How can i give the db server a static IP address to use within EC2 without using VPC?
0
votes
0answers
47 views

How do I launch an amazon ec2 spot instance with UserData?

I can launch an ec2 instance without user data: aws ec2 request-spot-instances --spot-price .01 --instance-count 1 --launch-specification '{ "ImageId": "ami-3275ee5b", "KeyName": "key", ...
1
vote
1answer
82 views

Amazon CloudFormation: How to get an ELB's private IP for a specific subnet?

TL;DR - Is it possible for a CloudFormation template to insert the subnet-specific internal IP address of a specific ELB into the UserData of an instance within that subnet? We have a fleet of EC2 ...
-1
votes
1answer
63 views

Access to yum repository from computer in private subnet

If I install a host within a private subnet, do I have to create a NAT instance so that I can do a software installation from a Yum repository? I'm thinking you do, but I was hoping that amazon might ...
0
votes
1answer
52 views

Drop all connections for a specific IP that aren't from a single source in iptables on EC2

I'm using amazon EC2 and looking to set up some firewall rules for my scenario. EC2 is strange - in case you aren't familiar with EC2 - amazon offers elastic IP addresses that resolve to private IP ...
0
votes
2answers
58 views

How do increase a size (hdd) of an EC2 instance?

I have changed my instance from m3.small to m3.large but the space I see in the system is the same. I can't afford loosing any data and unfortunately I won't be able to change paths in the scripts so ...
0
votes
0answers
18 views

apt/maven/npm checksum failure on amazon ec2

I'm recently encountering multiple download checksum failures when booting ec2 machine. This manifests itself with sporadic failures of apt, maven and npm installs. In one case that the pom checksum ...
-3
votes
2answers
149 views

Can EC2 instances dynamically add RAM while running?

This would help contribute to 0 downtime for me if possible. As far as I know it is not possible, but wanted to be sure.
2
votes
2answers
91 views

Auto-terminate EC2 instance when image is created

I want to get an automated process for AMI creation going, and one piece remaining is automatically cleaning up the instance after image creation. The instance is booted with a user-data script that ...
-1
votes
1answer
66 views

Time out when access localhost for ec2 ubuntu server

I am trying to access the local host for my ubuntu server hosted on ec2 when I run python manage.py runserver 0.0.0.0:8000 I have my security setting set to port 80 0.0.0.0/0 and I want ...
0
votes
1answer
244 views

“yum update” error. How to handle this?

I have an ec2 instance and I'm trying to update all packages. But the problem is when I execute "yum update" it shows the message: Transaction Check Error: file /usr/lib64/perl5/vendor_perl/Cwd.pm ...
-3
votes
2answers
126 views

Can't ssh to CNAME'd hostname

Why can't I ssh using the hostname specified in my CNAME record? I can ssh in just fine when I use the hostname it points to. It's been more than 72 hours. I've got a domain "mydomain.com", and it ...
0
votes
1answer
47 views

Best way to restrict/grant access to EC2 servers

I'm looking for a way to manage our EC2 infrastructure. So we have multiple users for our EC2 infra and what's the best way to add/delete users on the fly. Will LDAP server with public key ...
0
votes
0answers
33 views

Copying over public keys within private network

As part of a cloud init script for an EC2 instance, I want to generate a private & public key for a user created on the new instance and then copy the public key over to another server in the same ...
-1
votes
3answers
199 views

yum won't update my glibc packages

Is there any way to fix corrupted "yum"? This is what I got myself into by accidentally pressing ctrl+c while doing sudo yum update on an amazon linux EC2 instance $ sudo yum update Loaded plugins: ...
0
votes
0answers
68 views

https outbound connections work before creating AMI, but not on new instance using that AMI

On Amazon Web Services Launch an EC2 instance using Amazon Linux AMI 2014.03.1 - ami-fb8e9292 (64-bit) Run my ansible script to configure the server for baking into an AMI Run some Ruby that ...
1
vote
1answer
81 views

Elasticsearch on EC2, webserver on Heroku // EC2 ports only accessible from Heroku

I have an instance of Elasticsearch facing the internet on an EC2. On the other hand I have my webservice as a Heroku app. I want to secure the Elasticsearch instance and allow inbound traffic only ...
0
votes
2answers
203 views

Reverse Proxy from AWS VPC to Non-VPC EC2 instance

I have a VPC network inside AWS which is where all our new servers are. However, we have some old servers outside the VPC in the EC2 cloud network. Currently we have a blog on ...
1
vote
2answers
329 views

Open Stack, attempting to launch instance: libvirtError: unsupported configuration: CPU specification not supported by hypervisor

I'm running Openstack for test/learning purposes at the moment on AWS EC2 servers, specifically the m3 flavor which features High Frequency Intel Xeon E5-2670 (Sandy Bridge) Processors. Whenever I ...
0
votes
1answer
45 views

Mirrored cache server on an EC2 Cluster?

I have EC2 instances serving up a non-intensive, relatively low traffic website, and rather than shelling out for ElasticCache I was thinking of doing the caching on each server and mirroring the data ...
-1
votes
1answer
76 views

My EC2 Ubuntu server was bounced after do-release-upgrade and never came back up. How can I recover?

I had an Ubuntu Amazon EC2 server, running a few websites, and I left it to have an unattended do-release-upgrade. The server said that a reboot was required. I (tried to reboot) it and it never came ...
0
votes
1answer
212 views

EC2 elastic IP not resolving to private IP on debian instance

I've read on many sites that the answer to attaching multiple public IP addresses to an EC2 instance (for SSL, redirection, whatever purposes) is to create multiple private IP addresses, attach ...
0
votes
1answer
84 views

update and insert MySQL DB on AWS RDS with local MySQL DB

I have created an RDS database and have used mysqldump to send all my local data to that remote database using the following commands: $ mysqldump -u root fishDB > localDB.sql $ mysql -h ...
1
vote
2answers
59 views

How do I get AWS EC2 Ubuntu Server out of “Stopping” state?

I was unable to SSH or SFTP into my ubuntu server on EC2 this morning. It should be noted that SSH and SFTP were working fine up until now. To troubleshoot this I did the following: Logged into AWS ...
0
votes
0answers
67 views

Full SSL site: SSL Negotiation Time and Cipher Suite in Nginx

Here is my Waterfall http://www.webpagetest.org/result/140417_42_H0D/1/details/ It is taking too much time in SSL negotiations. I tried to apply following article: ...
0
votes
0answers
168 views

s3cmd 403 Access Denied error on put but not ls

I can access s3 using s3cmd on an ec2 instance to do s3cmd ls s3://myc bucketname but not using 'put' to add a file. It gives a 403 access denied error. I am using IAM and have group setup to access ...
0
votes
0answers
100 views

cURL NSS error -12286 SSL_ERROR_NO_CYPHER_OVERLAP

Using cURL 7.36.0 (x86_64-redhat-linux-gnu) on EC2 Amazon Linux, I can't connect to certain websites (not all) using HTTPS and receive the above error. From researching the issue I have learned that ...
0
votes
0answers
53 views

MySQL stops working on AWS ec2 instance periodically for no reason

I run a development server on AWS which has worked perfectly fine without a hitch. Recently, periodically the mysql server starts to not work. I then type in service mysqld restart which yields ...
-2
votes
1answer
132 views

Get instance-id of EC2 instance via Java [closed]

I have an AWS EC2 instance deployed as a server, and I need to find out its public IP. Howver, to know that I must first know the instance-id of my instance. Objective: I have a Java code running ...
0
votes
0answers
32 views

Would PHP5-FPM be faster with more cores?

I'm a bit new with nginx + php5-fpm. I read that with nginx there's an advantage to have multiple cores (CPU) with the use of worker_processes. Is php5-fpm also faster if it uses more cores? Reason: ...
0
votes
3answers
63 views

Can you access an EC2 server from another AWS account?

If you have an EC2 server with a port open, then other EC2 servers can access it (using private IP). But, what if another AWS account hits that private IP, will they be able to access it?