-3
votes
0answers
36 views

File server instance in Amazon AWS [on hold]

I have a VPC in Amazon Web Services with an instance that works as a file server, i.e., I want other instances (clients) to copy files from an to this instance. All the instances are Ubuntu servers. ...
0
votes
0answers
44 views

Is it fair to compare a 2XL AWS instance to a similar setup on a rack server?

I'm trying to create an extremely basic model of what a setup in Amazon Web Services might look like translated over to an on-premises cloud. I'm aware that Amazon is quite SAN-reliant, and pretty ...
1
vote
2answers
71 views

How to run a script within an Amazon EC2 when the instance starts for the first time?

I have made my own AMI's for internal purpose. How do I run a script when the instance is launched using this AMI? How can I do this? My current approach is by adding the script, say myscript.sh, to ...
0
votes
0answers
63 views

Linux server backup to Amazon S3 using SSL

I have Linux box CentOS 6.5 and i want to backup daily files like SQL dumps and config files to Amazon S3 I have installed Ruby and S3Sync. But the problem when running the s3sync with these ...
1
vote
2answers
77 views

What is the difference between RHEL and GA release?

Can someone explain the difference between the RHEL and GA releases available on AWS? RHEL costs are about double those of the GA release and I'm wondering what that extra cost includes.
0
votes
0answers
62 views

Can't mount bin/iso image from AWS import/export service

A client sent a 2 TB drive to AWSs import/export service; AWS put it in an S3 bucket in two chunks. I catted the two chunks together as an iso file, and tried to mount it, using the directions listed ...
0
votes
1answer
62 views

Healthy Linux machine immediately went down

This is the last log entry in /var/log/messages and after this the machine has been stopped. How can I debug why the machine has been stopped? I am not sure but maybe the system stops comes from the ...
-1
votes
1answer
67 views

Created 100GB ec2 instance, but only shows 10GB?

I just created a new EC2 instance of 100gb with only 1 storage disk. However, my df -h output shows the following : [root@ip-10-252-37-164 ~]# df -h Filesystem Size Used Avail Use% ...
1
vote
1answer
55 views

How to identify EBS volumes vs local volumes on running EC2 instance

On a running EC2 instance, how do I identify EBS volumes and local disks ? I would like to identify them from shell. fdisk, lsblk is not helping to pinpoint the EBS volumes only. Lets say I have ...
1
vote
0answers
25 views

RabbitMQ server randomly, mysteriously stopping

I installed RabbitMQ on my EC2 box following the RPM install instructions from their website. My OS is CentOS. Every now and then, the rabbitMQ server just stops running, nothing shows up in the ...
3
votes
3answers
154 views

volume not found or not mounted when trying to umount

I'm attempting to detach Amazon EBS Volume from an Instance, and I can't figure out why the filesystem can't be found/isn't mounted. On my EBS Volumes, the attachment information shows: ...
0
votes
0answers
37 views

AWS Linux/Sendmail/dkim-milter — how to troubleshoot?

I'm trying to get Sendmail to use dkim-milter on an AWS Linux instance (similar to RHEL/Centos). I've been trying to use these directions, which are a bit out of date, but which seem to work: ...
0
votes
1answer
50 views

Single website across multiple servers [closed]

Please forgive me if I'm using incorrect terminology. I tried searching for my question, but I'm not quite sure how to word it in terms simple enough for a search. I found this post and this post ...
0
votes
1answer
272 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
2answers
82 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 ...
0
votes
1answer
45 views

MySQL Replication across two mounts on AWS Amazon Linux

Recently we took advantage of the SSD instance stores available on AWS. While these are great, they obviously get deleted when the instance dies. Obviously the performance of non Provision IOPS is ...
0
votes
1answer
117 views

What signal is being sent to an EC2 Instance on shut down?

When you terminate an instance-store pv instance through the AWS console or the API, what "signal" does it receive so it knows it has to gracefully shut down? First guess would be ACPI, but on boot ...
7
votes
1answer
2k views

AWS EC2 migration to new instance type with SSD Drives

I have MySQL running on an m1.xlarge instance with a 100GB EBS volume holding the data files. I would like to migrate to a m3.2xlarge instance and place the data files on the new 2 x 80GB SSD drives. ...
0
votes
1answer
78 views

Riverbed Stringray TrafficManger - API calls for Autoscaling

I am looking for advice on writing a bash script to put new server that we spin-up in AWS and get them added to our Stingrays. We are creating a new environment in AWS that will be muilt-AZ in AWS ...
2
votes
1answer
59 views

Amazon AWS: Can I attach volumes at runtime?

I can attach volumes in the AWS Web Console by going to Volumes and attach it to my instance. Unfortunately the Linux Server does not react to this addition of the volume. Nothing appears in dmesg, ...
2
votes
1answer
206 views

Running commands/tasks on multiple EC2 instances simultaneously

I've been given a task where I have to utilize about 200 EC2 instances in AWS. Since I'm completely new to AWS, I'm having trouble doing basic stuff. Each instance is a Ubuntu and they all have the ...
0
votes
2answers
181 views

AWS EC2 Ubuntu 13.04 Upgrade to Ubuntu 13.10

I want to upgrade my servers from Ubuntu 13.04 server to Ubuntu 13.10 server on AWS EC2. I have 7 servers and each doing a different task. Some of the tool we use on the server are Apache, PHP, ...
-1
votes
2answers
53 views

Sudo access on Ubuntu

I'm new to linux and the sysadmin world all together, so I'm looking for some advice and a couple of answers. I set up an EC2 instance running Ubuntu 12.04 and I SSH in via key pair. First of all, I ...
1
vote
0answers
31 views

Understanding POIPS of EBS volumes

According to aws documentation. 1PIOPS = reads and writes in I/O sizes of 16KB blocks. My question is, How much time will I require to copy 1GB data to a volume having 500 PIOPS ? 1GB= 1024*1024 KB ...
0
votes
3answers
89 views

Amazon Linux EC2 Webserver / MYSQL Upgrade – Traffic causing error establishing a database connection

To give you a little background, I currently have a website that allows users to upload photos. The website was initially on a GoDaddy shared server, but recent surges in traffic have forced me to ...
0
votes
3answers
152 views

EC2 Automatic Instance Sudo Not Working

I'm using Atlassian Bamboo to setup a build server. It allows the use of "elastic images" which I can specify which of their AMI's to use (I'm using the Amazon Linux/CentOS image). It also allows you ...
-1
votes
1answer
304 views

How to use cygwin to access AWS linux server instance

I am trying to use Cygwin to connect to my Amazon server instance I am new to this Currently i have a USA.pem file located at C:\Users\Vinay\Desktop\Devrath I have installed Cygwin I have used ...
2
votes
3answers
434 views

Nginx welcome page returns

I'm running Nginx on an EC2 instance. I have a webpage installed in the default /usr/share/nginx/html dir. I've noticed that, if I make an AMI of that EC2 instance and a new EC2 instance using that ...
2
votes
2answers
740 views

I'm trying to use “aws s3 sync” on my EC2 instance. Is the '--exclude' option broken?

I'm trying to backup my EC2 instance to S3 using Amazon's official tools that come preinstalled on the EC2 instance. I'm having difficulty getting the sync command to exclude directories from the ...
-3
votes
2answers
111 views

Which of these packages am I looking for to install Apache on Ubuntu?

I am a programmer who has to configure a server to run Linux, Apache, and Python (with Django). When I type apache2 into my terminal, it responds with the following: The program 'apache2' can be ...
0
votes
3answers
185 views

Which AWS Ubuntu image has swap partition preconfigured?

I found that even I use the same EC2 Ubuntu image (default), some machine type will has swap partition preconfigured, e.g. m1.small, but some are not, e.g. m1.medium. Where can I found these ...
0
votes
0answers
31 views

Communication between different servers

I have a dynamic site which has a database and a static file generator. I now want to detach the static file generator from the dynamic site and host it on a different server. The issue is I still ...
0
votes
2answers
1k views

service httpd restart failure on aws amazon linux ami

Thanks for your help. I recently did the following: Ran sudo yum update on my ec2 instance running the Amazon Linux ami I then added a virtual host to my vhost.conf for a subdomain. While the server ...
3
votes
2answers
7k views

/etc/security/limits.conf soft nproc limit appears to be ignored

My MongoDB database was running into problems under load, with the following errors spamming the logs: [initandlisten] pthread_create failed: errno:11 Resource temporarily unavailable [initandlisten] ...
1
vote
1answer
184 views

AWS Amazon Linux MySQL Yum Update Failure

I SSH'd into my AWS EC2 instance using an Amazon Linux AMI, and it told me to run the sudo yum update command for security updates. When I did, it ultimately failed to update MySQL. *I don't know if ...
0
votes
1answer
101 views

How to debug unresponsive web server

We have an Medium EC2 instance running Ubuntu 12.04, serving about a dozen small PHP web applications via Apache. Approximately every other day, the server becomes unresponsive and rebooting the ...
1
vote
0answers
20 views

How to chose E2C instance while migrating web server to to AWS [duplicate]

I'm trying to migrate my current web server to AWS. Currently it is hosted on a dedicated server with Dual-core 2.7ghz CPU, 2GB Ram and it is running fine. My main target is to save on the cost ...
-4
votes
1answer
84 views

How to find which files were downloaded from apache logs in centos [closed]

I have the website on Amazon EC2 instance on centos. I have seen that so much stuff has been downloaded from amazon Network out graph 300GB. at that time i turned off apache When i type ifconfig ...
0
votes
1answer
166 views

Wordpress Permalinks Settings Page unable to update .htaccess

Thanks so much for taking the time to help me with this issue: I had a Wordpress blog hosted on a shared Bluehost hosting account. I'm currently in the process of migrating it manually over to an AWS ...
1
vote
1answer
1k views

starting sshd: /etc/ssh/sshd_config: permission denied

I am running a Centos machine in Amazon cloud. Suddenly, I can't ssh into it. Fortunately, there is R Studio running that includes an ability to run BASH shell. So, I see in /var/log/boot.log that ...
1
vote
1answer
348 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
337 views

Creating an Sails.js Application on AWS AMI instance

So I followed the directions here and created a sample application on a brand new linux machine. No Apache, no anything, trying to use Node, express, etc to handle incoming http requests. Sails ...
0
votes
1answer
157 views

Failure to connect to MongoDB - couldn't connect to server

I am using a reverse-ssh tunnel to make a DB behind firewall available from remote machine. But here is the intriguing part: From AWS server with ssh tunnel to DB behind firewall: connecting to IP ...
0
votes
1answer
141 views

Access windows EBS Volume from EC2 linux as folder

I have a windows EC2 Server in AWS and I have attached two EBS volumes to that to store pictures and videos on that. Now I need to access those videos and images from the linux server as a network ...
1
vote
2answers
58 views

User management strategy on AWS

I'd like to know some ways that is being used to manage shell accounts on EC2 instances. Specially when it grows into a large environment? Just having ec2-user isn't ideal. There has to be a ...
2
votes
1answer
58 views

usermod www-data group mistake

I have an amazon AWS server setup and while trying to get write permissions working I executed this command from an article I found while logged in to the server sudo usermod -G ubuntu www-data ...
-1
votes
1answer
170 views

10gen mms monitoring service to start after reboot [duplicate]

I have setup MMS agent for my mongoD instances on AWS. MMS Agent is on a separate t1.micro instance. It all works fine however, every time I reboot the server I have to run sudo nohup python agent.py ...
0
votes
2answers
104 views

Can i install Centos from Amazon AMI image or snapshot on local computer

I have the Amazon Ec2 instance with Centos installed. I ahve all the desired plugins / modules etc installed. Now i want to make the exact copy of that in my local computer virtual machine in vmware ...
1
vote
0answers
286 views

Use Amazon SNS to send nagios alerts

Is there any way by which I can send nagios alerts to Amazon SNS ? I have tried with following steps, but its giving me this error in the Nagios log file: Jul 12 11:38:23 ip-10-134-13-204 nagios3: ...
2
votes
1answer
75 views

Hold till last command completes its execution

I am developing a shell script which actually stops aws running instances in a particular region & start them again as a part of schedule maintenance. but as ec2-api tools are heavy, takes time to ...