0
votes
1answer
72 views

Terrible performance of Wordpress site on Amazon EC2 + apache2 + ubuntu server 12.04

I'm planning a migration of various wordpress websites (little content), from a shared hosting to a whole new cloud architecture. I'm using the following: Amazon EC2 t1.micro Loaded with: - Apache2 ...
3
votes
1answer
56 views

Difference between AWS Software Subscription and Launching a Custom AMI?

Amazon AWS seems to provide two methods of launching an instance of Ubuntu 12.04 that confuse me, one of them is the Software Marketplace the other method is by launching an AMI on the Ubuntu ...
1
vote
0answers
42 views

EC2 - editing .bashrc causes terminal to hang and checks to fail

I've been testing this for the past few hours with no luck. When launching an Ubuntu 12.04 EC2 micro instance, I SSH to it, create a new user and continue with installing Ruby version manger under ...
0
votes
1answer
65 views

Run sh file when Amazon EC2 instance starts

I have a "sh" file that starts a node server. It works well if I run sh /var/www/init_node.sh I want the script to run everytime my instance restarts (so I have a node server up and running). I ...
1
vote
1answer
145 views

ssh git commands authenticating with authorized_keys

I have an amazon ec2 cloud server running Ubuntu 12.04.3 LTS (GNU/Linux 3.2.0-52-virtual x86_64). I have gitlab installed using bitnami image. SSH cloning of repos does not work. I can not log in as ...
0
votes
1answer
76 views

Adding Multiple Interfaces to EC2 Ubuntu 12.04

I have a m1.medium Ubuntu 12.04 instance with two ENI's. I have a VPC setup with a private and public subnet. Private: 10.50.1.0/24 Public: 10.50.101.0/24 I initiated the instance on the private ...
0
votes
0answers
33 views

Bootstrap not mounting EBS volume

I'm running the following when Bootstrapping an Ubuntu 12.04 EC2 instance: mkfs.ext4 /dev/xvdf mkdir /vol01 echo "/dev/xvdf /vol01 auto noatime 0 0" | tee –a /etc/fstab mount /vol01 It formats the ...
0
votes
1answer
118 views

Amazon EC2 Ubuntu Instance package installation problems

I have an amazon EC2 installation of Ubuntu Precise 12.04, 64Bit (ami-ce7b6fba) I just don't seem to be able to install anything as you would normally expect. When I run 'sudo apt-get update' I get ...
0
votes
1answer
164 views

How do I “duplicate” a server?

I have a EC2 and Digital Ocean servers and I want to re-create them locally (same config files and everything). By local I mean virtual box (vagrant). I had started out by managing them with Chef but ...
-3
votes
1answer
70 views

What are some unnecessary processes in Ubuntu 12.04? [closed]

So, I'm using Ubuntu 12.04 for my AWS instances and when I first start it up and look at the processes there seems to be a lot of things running that I'm not sure are necessarily needed for my ...
0
votes
3answers
180 views

Ubuntu not enough space on AWS EC2

I have 25GB volume on EC2. OS is Ubuntu 12.04 LTS. I can connect to it, but cannot even write 1KB. I tried to delete some files and write again - the same result - not enough space. I tried to check ...
1
vote
1answer
172 views

Amazon EC2 Servers with syslog-ng communication

I have 3 Amazon EC instances with ubuntu 12.04 Production Server (LAMP Server w/o MYSQL, syslog-ng client) Development Server (LAMP w/ MYSQL, syslog-ng client) Logging Server (syslog-ng Server) I ...
0
votes
0answers
384 views

Ubuntu Cloud Init taking a long time to complete

When I reboot my server, it take about 45 mins for me to be able to ssh into it. I think this is because cloud-init is taking a long time to complete. I deleted the contents of ...
0
votes
1answer
70 views

ssh to Amazon EC2 Ubuntu server behind firewall

I ssh to an Amazon EC2 server and have just enabled the ufw firewall. This terminated my connection and now I can't ssh back in. I assume the firewall is preventing access. I tried rebooting but no ...
0
votes
1answer
401 views

preventing squid forwarding loop with IPtables

I have a web application, and I'd like to limit file upload size. I thought I'd try using squid for this, via its directive request_body_size_max. I have my webserver running on port 8080, and I've ...
0
votes
2answers
269 views

How to run a shell script on my amazon instance when it bootsup?

I have my amazon instance, i need to add a shell script to its rc.local file so that the shell script executes when i boot my instance. how to set permission to my shell script in rc.local file? if i ...
0
votes
0answers
139 views

SSH won't work after associating Elastic IP on Amazon Ubuntu 12.04 32 bit micro instance

This morning my EC2 and elastic IP were working fine. All of a sudden, all hell broke loose and my EC2 won't access through my elastic IP anymore. When I did a ssh -vvv I get debug1: Connecting ...
0
votes
1answer
109 views

Ubuntu 12.04 AMD64 vs. i386 servers on AWS EC2 [closed]

Are there any important (e.g. performance) differences between AMD64 and i386 AMIs on AWS - assuming both have EBS-backed storage? Can also assume micro instances in a US availability zone. Are the ...
1
vote
1answer
101 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 ...
0
votes
1answer
106 views

Adding disks to and resizing a LVM

I'm managing a virtual cloud server on EC2 for a client which has the requirement of expandable storage. Currently, I have a 1TB EBS drive mounted at /mnt which I need to expand. Since 1TB is the ...
0
votes
1answer
107 views

Package(Java.ActiveMQ etc..) Manual Installation Issues

I am trying to install Java or ActiveMQ manually into my agent server from master, Installation is working fine for me, but the issues which I am facing is whenever I run puppet agent -t in my agent ...
0
votes
1answer
776 views

a2enable:command not found on Ubutntu terminal with Tomcat Server in EC2

I need to do this on Ubuntu LTS 12.04 a2enable sana.default a2enable sana.default.ssl But on entering a2enable I am getting the error I have installed both Apache tomcat in my server On ...
1
vote
2answers
339 views

EC2 Ubuntu with WordPress can't connect to RDS

I have set up a WordPress website on a Ubuntu 12.04 Amazon ec2 machine by following this tutorial except the fact that I haven't created a MySQL database and I am using an amazon RDS MySQL service. ...
0
votes
2answers
493 views

SSH broken after homedir permissions and hostname change on EC2-hosted Ubuntu

I changed my instance's hostname using the hostname utility and then set it in /etc/hostname so that the new name survives reboot. My main motivation was for differentiating between instances at the ...
1
vote
1answer
422 views

Nginx: Bad Gateway 502 error

I am running Nginx with PHP5-FPM on Amazon EC2 on Ubuntu 12.04 64-bit. I get a bad gateway error whenever I got to my site. I know that it is a configuration issue but I am not sure what is badly ...
1
vote
1answer
185 views

Automatically Sync Files between two Ubuntu Servers on EC2

I am running two or more Ubuntu Servers on Amazon EC2. They are all connected to an Elastic Load Balancer so all of the files on each server must be the same. Is there a way that I can just SFTP files ...
0
votes
1answer
273 views

Gluster volume create -> host not a friend

If I use IPs to create Gluster volume, it works well, but when I use hostnames, it says: Host glustertest1 not a friend glustertest1 is Route 53 name which resolves to EC2 Instance private address. ...
0
votes
2answers
73 views

ec2-describe-snapshots only shows 'usage' information, does nothing

ec2-describe-snapshots -O xxxxxxxxxxxxxxx -W yyyyyyyyyyyyyy Just gives me the 'usage', as if I'd written ec2-describe-snapshots -h with no other arguments. This is on Ubuntu 12.04, java version: ...
1
vote
1answer
475 views

AWS EC2 can't execute user-data script

I'm pretty new to AWS and EC2 but I want to run instances with a user script after it's booted from another instance. I have installed ec2 tools and ran the command as it's explained in various ...
1
vote
1answer
118 views

High mysql server load, sar output

I have a MySQL Server that should be performing better than it seems to be. We're running ubuntu on a Amazon Cluster Compute (cc1.4xlarge) Linux ip-10-0-1-60 3.2.0-25-virtual #40-Ubuntu SMP Wed May ...
5
votes
3answers
2k views

How to mount /tmp in /mnt on EC2?

I was wondering what is the best way to mount the /tmp endpoint in the ephemeral storage /mnt on an EC2 instance and give the ubuntu user default write permissions. Some suggest editing /etc/rc.local ...
1
vote
1answer
183 views

EC2 Micro with NGINX

I have an EC2 Micro running Ubuntu 12.04. I have assigned it an EIP (23.21.213.236) and I am pointing my domain name A records to this IP. The domain I am trying to access with is ...
1
vote
1answer
386 views

OSSEC is not running

I have an two ec2 instances. In one I have installed ossec server and in other I have installed ossec agent. Here are my server config INBOUND (security group/firewall) : port:514 ...
0
votes
1answer
494 views

Phantomjs fails on Amazon EC2 (Ubuntu 12.04 AMI)

I'm trying to run Phantomjs (most specifically Casperjs) on a Amazon EC2, using Ubuntu latest image (12.4). To be sure, I tried with two different builds. One compiled on my dev machine (Phantomjs ...
0
votes
3answers
1k views

Create Webmin user for an EC2 Instance

I've setup an Amazon EC2 Instance, using the Ubuntu 12.04 AMI (ubuntu/images/ebs/ubuntu-precise-12.04-amd64-server-20120424 (ami-a29943cb)), and I'd like to get Webmin working (so I can setup a DNS). ...