Amazon Elastic Compute Cloud (EC2) provides self-service, on-demand, pay-for-what-you-use computing infrastructure resources.
3
votes
0answers
88 views
AWS EC2 changing AllowOverride made my server fail
http://ec2-54-243-158-66.compute-1.amazonaws.com
I was following a tutorial and right after I did this, my server stopped responding:
sudo su
vi /etc/httpd/conf/httpd.conf
find the line:
...
3
votes
0answers
152 views
How do I configured postfix and to use SES, and still be able to forward email from unverified external addresses?
We are using postfix for email group lists (eg "members@domain.com" will go to all members) from Amazon EC2 systems. For a variety of reasons (scalability and reliability) we would like to use SES ...
2
votes
0answers
57 views
Copy an Amazon EC2 Instance to use locally
Ok, so we have a spare server I have installed Debian Wheezy on, and setup Xen on for virtual machines. It has better performance than all our ec2 instances combined, and will cost less to run (for a ...
2
votes
0answers
30 views
Enable HAProxy logging in Amazon Gentoo
I am attempting to enable HAProxy logging in Gentoo 1.12.11.1 on an Amazon EC2 Server (managed through EngineYard).
I have modified the syslog.conf file as follows:
local0.* ...
2
votes
0answers
151 views
MySQL: 5000 core users, 2GB Table Heavy Write / Read: How to Prevent Crashing
This is a controversial issue for sure, since many might want to recommend the simple things right away, like: Split up the tables! Split up the read/write into master/slave configurations! Amp up the ...
2
votes
0answers
380 views
Connectivity issues with dual NIC machine in EC2
I'm trying to get some servers set up in EC2 in a Virtual Private Cloud. To do this, I have two subnets:
10.0.42.0/24 - Public subnet
10.0.83.0/24 - Private subnet
To bridge these two, I have a ...
2
votes
0answers
279 views
Need an interface for an Elastic IP (DRBD & EC2)
We are trying to mirror a volumes over a geographical zone using DRBD (and Ubuntu 11.10). We are using elastic IP's - however there is no local interface for Elastic IP's - only an interface for a ...
2
votes
0answers
338 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 ...
2
votes
0answers
1k views
EC2 Linux AMI with ffmpeg (no yasm?)
I'm running a Basic 64-bit Amazon Linux AMI 2011.09 (AMI Id: ami-953b06e1) and I want to install ffmpeg into it so I can use it convert video.
These are the commands I run after firing up a new ...
1
vote
0answers
17 views
Extract certificate chain from .pfx
I have a .pfx file that I exported from Windows Server 2008. It includes the private key and certificate chain.
Using openssl I've been able to extract the private key and public certificate but I ...
1
vote
0answers
73 views
Conditionally rewriting From and Reply-To headers in Postfix
I've got a web app running on Amazon AWS and it's using Amazon SES to send emails. One of the things I really want this system to do is to be able to forward emails to certain addresses from anyone ...
1
vote
0answers
39 views
How can I store the Postgresql data on the EBS Volumes and not on the Root Volume?
My PostgreSQL database is currently stored in the cloud. Normally, when creating a PostgreSQL database, all the data is stored on the root volume of the EC2 instance.
How can I make sure all the ...
1
vote
0answers
38 views
Ubuntu Upstart Job to Persist tcp_slot_table_entries Before NFS Mount
NOTE: I'm aware of the question Persistent changes to /proc/sys/sunrpc/tcp_slot_table_entries and while this older question is quite similar, the selected and proposed answers do not work for us, nor ...
1
vote
0answers
106 views
no server available after deploying amazon ec2 rubber rails app
I am a server / sys admin noob, so any help is greatly appreciated here. I am using Rubber to deploy on amazon ec2. I am deploying a t1.micro istance and have followed the railscast.
I tried one ...
1
vote
0answers
176 views
Second ENI in AWS VPC is not accessible on Ubuntu instance
I'm just getting into VPC, trying to understand how everything works. So far the biggest hurdle I've run into is that any time I add a second Elastic NIC to a machine, that second IP is not accessible ...
1
vote
0answers
60 views
'Nice' a process on Windows within EC2
I have a server in AWS/EC2 that is running a MSSQL database with a number of applications accessing it. On occasion, some Cobol batch processes are run against it also. For a while these have been ...
1
vote
0answers
83 views
Enable bcrypt hashes for /etc/shadow in RHEL, CentOS, or Amazon Linux
Is it possible to add bcrypt support for system accounts (e.g., in /etc/shadow) in Amazon Linux? (Which is in turn binary compatible with RHEL5 and CentOS 5)
This only looks like a duplicate of this ...
1
vote
0answers
244 views
How to check out bound network stats in AWS EC2
There is only one network interface in EC2 instance, and in the CloudWatch metric, I can only see "Max Network In" and "Max Network Out".
As you know external traffic is billed (actually only ...
1
vote
0answers
72 views
nginx does not respect “root” directive
I'm running an EC2 instance with Ubuntu and trying to setup virtual servers for two domains without luck and cannot figure out why. My web documents are located in /var/www/<domain> and ...
1
vote
0answers
67 views
how can apache run multiple applications on same server with different path
When i ssh to amazon ec2, then
pwd
/home/ubuntu
ls
app_1 app_2 app_3 app_4
Considering i have mapped my ec2---*- address to some apps.site1.com
How can i have multiple rails applications ...
1
vote
0answers
168 views
security group not allowing connection to postgres ec2 aws
Hey im having some trouble allow remote connections to postgres from other ec2 instances using the named security group feature to rules.
I have set the listens directive in postgres.conf to "*" and ...
1
vote
0answers
230 views
amazon ec2-medium apache requests per second terrible
EDITED -- test running from localhost now to rule out network...
i have a c1.medium using EBS. when i do an apache benchmark and i'm just printing a "hello" for the test from localhost - no database ...
1
vote
0answers
25 views
Java MBeans with Amazon EC2
Is it possible to configure Amazon's EC2 page showing a list of my servers to connect to a JMX port on the machines and give access to the MBeans from the front-end? I'm wondering a standard way to ...
1
vote
0answers
65 views
Should I have a heroku worker dyno for poll a AWS SQS?
Im confusing about where should I have a script polling an Aws Sqs inside a Rails application.
If I use a thread inside the web app probably it will use cpu cycles to listen this queue forever and ...
1
vote
0answers
171 views
Sending email is often very slow after changing to VPC instance
We changed our micro instance to a small within a VPC and now sending email is sometimes fast and quite a lot of the time very very slow. Its as if our web pages are going to hang and then they ...
1
vote
0answers
117 views
Phing SSH connection to Amazon EC2 fails to authenticate
I'm trying to connect to Amazon EC2 with phing. This is my script.
<ssh username="ec2-user"
pubkeyfile="C:\Users\asd\Downloads\aws-nr1.public"
...
1
vote
0answers
46 views
Can one set up a write-through cache with aufs?
Say I have a system with two filesystems; one fast, small and unreliable (ie: ec2 ephemeral disk) and one slow, big and reliable (ie: ebs). Can I union mount the two filesystems so that the fast, ...
1
vote
0answers
44 views
Moving www on live EC2 instance
The directory where my website files is growing and almost full now. The site is live and I can't really take it off line.
The files are located on /var2/www/html/mysite.com and I can easier moved ...
1
vote
0answers
100 views
Error after installing mysqlnd_ms
I am working on Amazon EC2 using the Amazon Linux AMI which is based on CentOS.
I have installed php54 and php54-mysqlnd.
I then do a "sudo pecl install myslqnd_ms"
This installs fine.
I add the ...
1
vote
0answers
107 views
AWS Storage Gateway without the “on-premises” part?
The use cases for the AWS Storage Gateway always seem to assume that the virtual storage gateway would be installed on-premises (i.e. local to the customer) and would then be synced to AWS. I am ...
1
vote
0answers
57 views
Storage (EBS) attached to my EC2 instance reporting files on two devices at once
I have on EC2 instance with two attached EBS drives.
One drive /dev/sda1 is mounted on /
The second /dev/sda2 is mounted on /var2
So here's what's strange. Whenever I add any files to /var2 the it ...
1
vote
0answers
82 views
EC2 Filesystem / Files stored on the wrong partiton after launching new instance from AMI
Today I set up a new EC2 Instance from and AMI I created from an older EC2 instance. When I launched the new instance I took the AMI that was on a small instance and launched with a medium instance. ...
1
vote
0answers
186 views
Cannot open port 8080 on Amazon EC2
I am having difficulty getting my Varnish/Nginx Wordpress setup working. I had set up varnish to listen on poert 80, and nginx to listen on port 8080, with a rule on wp-admin URLs to pass through to ...
1
vote
0answers
182 views
Create an AWS HVM Linux AMI from an Existing Paravirtual Linux AMI
Is it possible to create a hardware virtual machine (HVM) AMI from an existing paravirtual (PV) AMI.
My initially thought was to start a new PV instance and use the ec2-create-image command to ...
1
vote
0answers
87 views
Anyone successfully installed zend server CE on amazon Linux AMI?
Trying to install zend server CE (5.3) on the new release of amazon Linux AMI (2012.09). Had no problem with the previous release (2012.03), but cannot get it to work this time around: Apache won't ...
1
vote
0answers
72 views
Servlet in Tomcat unable to create folder
I am running a servlet deployed in tomcat in ec2 instance. The servlet has to create a folder in webapps dir. But this is not created, however I am able to create folders with mkdir command inside ...
1
vote
0answers
83 views
Scaling a video processing application on EC2?
I am approaching the need to scale a video-processign application that runs on EC2.
So far the setup is one machine:
Backbonejs frontend
Rails 3.2
Postgresql
Resque
+
S3 for storage
The flow of ...
1
vote
0answers
119 views
AWS ELB + ejabberd server
I have two servers in AWS EC2 ejabberd. I'm trying to set up an ELB to manage traffic, but I can not connect when I put a ELB "front" of EC2 instances. DNS settings, I changed the A record for the ...
1
vote
0answers
55 views
Modifying httpd.conf to adjust for mod_wsgi and django install then cannot connect via sftp
I modified my httpd.conf file to point to a .wsgi file that I made directing apache to different document root. The server works fine, I see my application live on the net and I am still connected via ...
1
vote
0answers
862 views
Connecting to IPSec/L2tp with OpenSwan/xl2tpd from Windows7 to Amazon EC2
I am trying to connect from my Windows7 at home to my OpenSwan/xl2tpd setup on an Ubuntu EC2 instance at Amazon.
It is a connection being NATed from both the client and server ends.
I was following ...
1
vote
0answers
97 views
Autoscaling policy brings up the wrong number of instances.
I configured an autoscaling policy to bring up 8 instances, but it won't bring up more than 2.
Here's a description of the policy from AWS:
bash# /opt/aws/apitools/as/bin/as-describe-policies
...
1
vote
0answers
71 views
Serving Compressed Files Amazon vs Lightty
We are currently using amazon CloudFront to serve css and according to Amazon itself, Amazon CloudFront can serve both compressed and uncompressed files from an origin server. But while i check ...
1
vote
0answers
168 views
How can I determine what caused a sudden increase of traffic to my AWS servers?
I recently set up a cloud system on Amazon AWS for a big website. I usually use Elastic Beanstalk to deploy the application (written in Java Spring) and it's currently running on 4 micro instances.
...
1
vote
0answers
309 views
Multiple subnets on a single interface in EC2
I'm currently working on setting up a QA environment on EC2 along side our production environment. All of the instances are within a VPC setup, with the following subnets:
10.0.83.0/24 - Production
...
1
vote
0answers
149 views
How to clone a Linux server on EC2
Hi have a linux server on EC2 and I created a snapshot from that server, the the snapshot has been used to create an AMI, then I created an instance from the AMI. I always get a file system error, ...
1
vote
0answers
352 views
starting with amazon ec2
I am just starting off with amazon webs services.
I do have an aws account and using Windows as Client.
I am unable to find some good start up tutorials regarding using EC2 services. All I want to ...
1
vote
0answers
297 views
Trying to get heartbeat to work on ec2 on ubuntu 64
I am trying to get heartbeat to work on ec2.
I followed the steps in this blog post.
SERVER1
autojoin none
ucast eth0 175.41.181.175
warntime 5
deadtime 15
initdead 60
keepalive 2
crm respawn
node ...
1
vote
0answers
314 views
EC2 Windows: Certificate for local system with Thumbprint … is about to expire or already expired
I regularly see this error in the Windows Error Log on one of my EC2 instances:
Certificate for local system with Thumbprint aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa is about to ...
1
vote
0answers
615 views
Cannot connect to MySQL on RDS (Amazon Web Services) from my laptop
I'm having some trouble connecting to a MySQL 5.1 server on an RDS instance on AWS from my laptop.
The detailed description of the problem is here: ...
1
vote
0answers
265 views
Wowza on EC2 Set up and Questions
I have a wowza instance installed and running on EC2, but I can't find the keypair file. I am trying to install another wowza instance on a different aws account. I have the following questions, I'd ...
