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

learn more… | top users | synonyms (1)

0
votes
2answers
360 views

Google 2 factor authentication on Ec2?

I have set up google two factor authentication on my local machine. So when I do : ssh localhost I need to verify the code along with password. But when I try to connect to my Ec2 instance like so ...
3
votes
1answer
256 views

Number of active visitors on website vs. number of concurrent connections to web server at one point of time

I have 1 single website running on 1 single Amazon EC2 instance (Linux, Medium size). Our website is based on WordPress and it has W3 Total Cache enabled + Page cache - except for logged-in users ...
0
votes
1answer
2k views

install openssl-devel on ec2

I am trying to install openssl-devel on a 64bit linux instance on ec2. However, when I try to install it sudo yum install openssl-devel I get this error: Error: Package: ...
1
vote
2answers
128 views

Amazon AWS basic architecture [closed]

Today I setup an EC2 instance. I'm wondering what is the typical architecture on amazon cloud for web applications. I think its something like this but I'm missing something: - EC2 instance for ...
1
vote
1answer
721 views

Why is SQL maxing out at 50% of CPU on my EC2 c1.medium instance?

I'm new to AWS, so I think this might be a really simple question: I'm using an EC2 t1.micro instance as my SQL DB server for some small-scale analysis that I'm doing (Windows, SQL Express 2008). It ...
1
vote
3answers
505 views

Shared encrypted filesystem for ec2 instances

Me and my company intend to start using ec2 for distributing some cpu-intensive pieces code, involving a few 10s of gb of data, however I have some concern about the protection of the intellectual ...
1
vote
3answers
344 views

Distributed computing through AWS

I know it's possible to balance traffic using ELB/EC2 instances but is there any way to distribute CPU calculations over a cluster of instances. I'm wanting to process lots of video/audio using ...
2
votes
1answer
813 views

Amazon EC2 Security Groups - IP ranges [duplicate]

Possible Duplicate: How does Subnetting Work? So if I add 62.234.231.65/32 to my allowed IPs in security groups, does that mean that everyone with an IP from 62.234.231.0 to 62.234.231.255 ...
2
votes
2answers
1k views

Encrypting Amazon EBS Snapshots

Would love it if someone could help me out with this: The setup is a distributed LAMP architecture hosted on Amazon EC2 instances. MySQL Percona. We use Amazon's EBS snapshots for backups. We have ...
6
votes
2answers
3k views

Why is my new Ubuntu 12.04 unable to verify a Verisign ssl certificate?

In short: This request fails. $ curl 'https://secure.ogone.com/ncol/prod/orderstandard.asp' -vv * About to connect() to secure.ogone.com port 443 (#0) * Trying 213.254.248.101... connected * ...
1
vote
3answers
52 views

In Amazon Web Services what does AMI number signify

I am trying to create an Amazon EC2 instance. I want to create a micro, 64-bit, Ubuntu 12.04 LTS instance. In Amazon Web Services I have seen all instance have AMI numbers. Now I found two ami(s) ...
1
vote
1answer
348 views

Attempt to www rewrite nginx on Amazon EC2 makes my domain's URLs unavailable

I'm running nginx version 1.1.19 and I have server directives configured to serve up different pages depending on whether someone hits my server with hostname domain.com (I show the main webpage) or ...
0
votes
1answer
402 views

Amazon ELB page 'recieving' time very slow, running EC2 + spot

I have an Elastic Load Balancer paired to a set of instances one is persistant and the other is a variable number of spot instance. When i access the servers directly using their end points, the ...
-2
votes
1answer
1k views

file transfer between s3 and ec2

I want to automate transfer of tomcat log files from micro instance to S3 account. However, all the scripts I find online use key pair in order to do this. I cant upload these key pair to the server ...
2
votes
2answers
220 views

Scaling up 32-bit EC2 instance to 64-bit

I have an EC2 instance running. It was launched out of a 32-bit AMI. Now I want to scale up to 'Extra Large' size. Is there a way to do it? Through the admin console, it is not allowed. If at all I ...
1
vote
1answer
250 views

Moving an Application to Amazon EC2 with S3

Recently I have created a web application. The application has some static parts (libraries, classes etc) and dynamic parts (images, cache, log etc) as well. However, some static parts of the app ...
3
votes
1answer
2k views

Why is my AWS instance not reachable?

Yesterday, I created a new instance but I cannot connect to it. Tried pinging it from my computer, online ping sites etc but it is just not reachable. In the AWS console. everything seems to be ...
2
votes
1answer
1k views

Django syncdb can't connect to MySQL on seperate EC2 Instance

I am trying to deploy a django app on AWS with a setup where I have one EC2 instance that is running nginx/uwsgi and a second EC2 instance where I have MySQL 5.5 installed. Both belong to the default ...
0
votes
2answers
353 views

Amazon Elastic Load Balancing http to https

I am currently using Amazon EC2 and running a Node.js application, however the HTTPS handshake etc. is now becomming a bottleneck, so I was wondering if this is possible: 2 EC2 instances running ...
15
votes
3answers
6k 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 ...
4
votes
2answers
18k views

write permission denied via filezilla sftp to /var/www/html

Ok, I'm almost completely new to linux and apache configuration. My problem is that I've got apache displaying the default page, but when I try and access it via sFTP it tells me that I have write ...
1
vote
2answers
1k views

Am I uninstalling, installing Mysql the right way?

I changed my.cnv and nobody can connect to mysql again. So I decided to reinstall mysql. I did sudo aptitude purge mysql-server followed by sudo aptitude install mysql-server then I got this ...
3
votes
2answers
702 views

Sending mail from multiple hosts on one instance using Amazon SES and Exim4

Suppose that I have some instance running in Amazon EC2: somehost.example.com This instance hosts some number of applications or websites for other domains: www.example.com web.example.org ...
0
votes
1answer
759 views

Munin and odd server memory usage [closed]

I've been analyzing my munin graphs and found that my server's memory usage is quite high. Question: Is my server memory usage too high? If it is should I: get a larger EC2 instance with more ...
0
votes
2answers
2k views

how to change password of AWS EC2 instance

I am logging in my AWS EC2 instance using winscp/putty as root using a .ppk file which has imported-openssh-key. Earlier it was shared with many ppl, who are all gone, so now I have to change it in ...
1
vote
1answer
1k views

Configuring apache to run pyramid with mod_wsgi on EC2

I'm trying to setup my server with apache on an amazon EC2 server, but right now it isn't working. In the configuration files, In /etc/apache2, I have: httpd.conf: LoadModule wsgi_module ...
1
vote
2answers
193 views

Ubuntu on EC2 - can't access after sudo su command

I'm relatively new to Linux, and whilst installing a number of different applications on my Ubuntu server instance, somebody helpfully suggested I use 'sudo su' to speed things up a little. All good. ...
0
votes
1answer
85 views

Static IP for calls from EC2 to external web service

My purpose is to do web service calls from Amazon EC2 instance to external provider. The web service provider only allows calls from predefined IP addresses due to security reasons. Is getting an ...
0
votes
1answer
362 views

Instance to Instance communication very slow in AWS

I am trying to execute a set of commands (shell commands) on a number of other AWS Cloud Instances from our java based web platform hosted on the AWS Cloud instance itself. We observed that the time ...
2
votes
2answers
7k views

How do I script mkfs asking “is entire device, not just one partition! Proceed anyway?”

I'm trying to create a script that formats an Amazon EC2 EBS volume, so I can mount it. From the command-line, it looks like this: > mkfs -q -t ext4 /dev/sdf /dev/sdf is entire device, not just ...
1
vote
1answer
694 views

diagnosing mongodb major faulting and erratic behavior

We have a mongodb instance running on an amazon ec2 large (7.5GB) ubuntu instance (same machine that our node.js server is running from). Traffic has increased a LOT recently and we are starting to ...
0
votes
1answer
213 views

Optimized raid 0 configuration for Amazon EC2 hi1.4xlarge

How do I know what is the best configuration for RAID 0 (mdadm create options) between the to ephemeral drives?
2
votes
1answer
143 views

Maintain EBS data in sync

I'm here again! On my last questions here I was wondering how to sync data on EBS. Ok. I've tested in first time the NFS, but everything goes extremely SLOW! And its a shared volume, if the master ...
0
votes
1answer
961 views

Can't mount after EBS snapshot and restore on Ubuntu 12.04

I'm trying to backup and restore an EBS volume on EC2. So this is what I'm doing: ec2-create-snapshot <ebs volume> -d <snapshot name> ec2-create-volume --snapshot <snapshot code> -z ...
0
votes
1answer
792 views

EC2 AMI won't boot after edit

I did something stupid, I got a new laptop and copied everything over to the new one, then wiped the old one clean. Then I realized that I forgot to copy the private key out of .ssh that I use to ...
1
vote
1answer
236 views

How can I make Azure instances use as little RAM as AWS?

I'm comparing the small instances of Azure, Amazon and Rackspace, and noticed that the Amazon configuration appears to use less RAM than Azure. Can anyone explain why this is? Would it be true to ...
2
votes
1answer
3k views

AWS: how to stop cloud-init from disabling root login

On AWS I have managed to create an AMI with a modified Ubuntu 12.04 LTS amd64. I've added lots of packages and much of our own code and files. The cloud init is still there, and I'm sure should ...
-2
votes
1answer
193 views

Unable to acces Nagios from Ec2

I have installed Nagios by following this tutorial here. But when I tried to connect to localhost/nagios3 using curl from console, making sure that Nagios is installed and running(since I'm getting ...
0
votes
2answers
124 views

EC2 cost-effective webapp scaling

I have a webapp running in a Media Temple VPS account, and I'm currently evaluating the gains to switch to Amazon EC2. It's running under Apache 2 web server. This webapp for now has almost no access ...
2
votes
1answer
273 views

My sql consuming as much as 60% cpu time on start

I'm running a Wordpress installation on an Amazon Ec2 micro instance(linux ami). Using the default configuration Apache kept using up all the memory and shutting down mysql rendering wordpress ...
0
votes
1answer
384 views

Can't stop EC2 instance, because of system health-check

I have a ELB EC2 instance, I want to pause it by stopping it, so I can attach a new volume to it, but it will terminate the instance instead. Because: instance was taken out of service in response to ...
0
votes
1answer
762 views

Multi-domain DNS configuration with Route53

I am configuring a few domain names in Route53 and am looking for some advice on best practices for setting things up. Here is the scenario: Let's say domain1.com is my master corporate domain, and I ...
-2
votes
2answers
511 views

Amazon Micro Instance Crashed - Help Me Figure Out Why?

I am running an Amazon AWS Micro Linux Instance and it crashed during some "light" usage a few days ago. I am running an app that uploads photos to the server. We had maybe 10 users uploading multiple ...
0
votes
2answers
349 views

Wordpress slow when publishing

I have an Wordpress website with more than 219k of posts, and everytime when I publish something my CPU/MySQL usage go to 100%. I really don't know why, because my entire website stay on 6% all day ...
0
votes
1answer
609 views

var/www permissions and FTP

There are many threads about this topic but many are subjective since it's such a flexible subject, so I hope I'm asking an objective question relevant to my setup which is: is this is a sensible ...
4
votes
3answers
902 views

How do I get ec2 Linux instance info while logged-in on the command-line (public dns, AMI, etc.)

I want some way of identifying which instance that I'm on when I ssh into a Linux ec2 instance. I would like to be able to uniquely identify the instance from the command-line and correlate this to ...
1
vote
2answers
502 views

Switching EBS snapshot between multiple EC2 instances?

I currently have a micro-tier EC2 instance, and several snapshots of my drive. I'm running compilations that are taking a long time on the micro instance. I was wondering, is it feasible to shutdown ...
0
votes
2answers
583 views

After altering port forwarding on EC2 instance I can no longer browse it

I am currently unable to browse a website that is hosted on my EC2 instance (I get a 'could not connect' error). I was trying to set up Node.js on my EC2 instance and as part of that process I ...
0
votes
2answers
74 views

Mount a volume within a mounted volume

I am setting up a new Linux Ubuntu server on Amazon EC2 and wanted to create a few extra volumes, to be mounted without execute permissions. /tmp for temporary files /var so that log files and mysql ...
0
votes
3answers
352 views

Amazon EC2 and EBS

This is a follow up question to this post, as I'm trying to get my head wrapped around all these cloud hosting services: Scaling a cloud-based ecommerce site I had stumbled upon a blog and this: ...