Amazon Web Services (AWS) delivers a set of services that together form a reliable, scalable, and inexpensive computing platform "in the cloud". If you have a question about a specific web service, consider asking on its tag, e.g., amazon-ec2.

learn more… | top users | synonyms (2)

2
votes
3answers
135 views

Assign list of remote authorized_keys files to local variable

I would like to assign a list of remote authorized keys files to a local variable. INCLUDE=$(ssh myhost.mydomain.com "for Z in `awk -F : '{print $1}' /etc/passwd`; do ...
6
votes
1answer
2k views

Amazon Ec2 Elastic IP - Outbound IP?

I am trying to make a kind of proxy using elastic IPs on my Amazon EC2 instance. My question is, say I associate an elastic IP to my Amazon instance, and then I make an outbound connection from my EC2 ...
2
votes
2answers
3k views

Create an Amazon EC2 instance with automatic access to private S3

I was wondering. Say I have a file in a private S3 bucket, and I then deploy an EC2 instance which has something like that in its rc.local: GET http://privateamazons3url.com How can I make it so ...
0
votes
1answer
55 views

Manage SNS Topic Metrics

I've created many Metrics Topics and I want to edit and delete some. But couldn't find any way in console to do so. Is it possible somewhere in the Console? Is there are any APIS, commands I can use ...
0
votes
1answer
157 views

Host Interceptor gives localhost as hostname in aws

This is a repost of the question I asked in stackoverflow I'm trying to write my apache logs from my ec2 instances. I want the logs separated by hostname. I'm using host interceptor to get the ...
3
votes
1answer
178 views

How to create an AMI excluding some volume

I have an EC2 Instance of Linux. In that Instance another EBS volume /dev/sdh is attached. Now when I create an AMI from that instance with EC2 API Tools. It creates 2 snapshots. Now my question is, ...
1
vote
1answer
1k views

Load balancing with High Availability - SQL Server + IIS using AWS

This is my first time load-balancing with high-availability using Windows and SQL Server. Looking for some validation and input on my planned setup. Now, typically when I want to create a HA ...
0
votes
1answer
265 views

insalling glusterfs client on Amazon Linux AMI

I created glusterfs instances using Ubuntu TLS AMI. I want my existing instances (Amazon Linux AMI) connect to glusterfs servers. There is no Amazon Linux folder at the glusterfs's download page: ...
0
votes
1answer
86 views

defining EBS volume size to use with glusterfs

I'm trying to build a glusterfs network file system on Amazon EC2. I trying to define EBS Volume size. I'm planning to use 2 x 12Gb volumes at the begining stage and then add extra volumes in the ...
0
votes
1answer
103 views

Can a Dedicated Server Configuration for LAMP Hosting be Done “in the Cloud”? [closed]

Right now, one of our product offerings is basically LAMP web hosting. We host a PHP CMS, lots of images, and sometimes WordPress in each Apache host–all across multiple linux dedicated boxes. Our ...
0
votes
1answer
774 views

Mounting a S3 bucket across multiple instances

I want to use Amazon S3 to store all of my files for my websites. I can set S3QL up properly so that it is mounted on /var/www and everything works fine. I want to do it this way so that I can ...
1
vote
2answers
402 views

How do I persist a hostname or IP to my Amazon EC2 Instance?

Suppose I spin up a machine in EC2. Every time I stop/start the machine the following things change (reboots are safe--they don't cause these to change): public IP address public DNS record private ...
1
vote
2answers
87 views

What would be the best method to provide my server environment as a software package to be installed on a different server?

I have some software running on my AWS cloud and I would like to be able to offer this software package as an on-premise solution so that anyone can configure it on their own servers. What would be ...
3
votes
1answer
3k views

ELB Instance Out of service

After implementing ELB and Autoscalling on Amazon AWS. There's a wierd issue happens and we don't know either the reason or the fix. We installed Auto Scalling configuration to add instance of AMI ...
1
vote
1answer
102 views

Control ELB by Traffic load

We recently used Amazon AWS. Now our application is on the cloud. And we configured ELB with Auto Scalling and it works fine. We need to modify the ELB and control how it works. I checked all the ...
0
votes
1answer
337 views

How to log in to ec2 instances with ssh missed pem file [duplicate]

i have aws admin console access but dont have the .pem fie for running instances. i need to login to these running instances with ssh and also it is high critical servers cant restart,Is there any way ...
1
vote
1answer
1k views

Does AWS ELB support RFC-5746 when configured for HTTPS

Is it possible to configure AWS ELB for HTTPS access in such a way as to support RFC-5746 (TLS Renegotiation Indication Extension)? If so, how?
0
votes
1answer
209 views

How to reduce memory footprint of t1.Micro Amazon AMI?

I recently launched Amazon Linux AMI 2012.09 (several tries) because of Amazon's 1 year free tier offer. However, its always running out of memory/RAM! How can I reduce the initial memory footprint of ...
-4
votes
2answers
88 views

Discover ec2 usernames for public ami [closed]

Is there a way to discover or specify the username I need to use to ssh in to an ec2 instance? I know how to select my key pair, but depending on the ami, you need to use a different username. For ...
0
votes
1answer
496 views

VPN connection to AWS, when disrupted the server is unresponsive

I’ve got a Windows Server 2008 VM running in AWS. The server maintains a VPN connection to a server in my office for the purposes of synchronizing a Database. Currently using the Cisco AnyConnect VPN ...
0
votes
1answer
631 views

Scalable Web Hosting? [closed]

I have a website that receives heavy seasonal traffic. For much of the year, typical shared web hosting is adequate; however, the process of upgrading to VPS or dedicated hosting (when traffic gets ...
2
votes
2answers
708 views

ec2 spot instance for daily processing task

I don't have much experience as a sysadmin or with amazon aws, so I hope someone can explain in simple terms or refer me to a good guide on how to achieve the below. I have a system running on ec2 ...
-1
votes
1answer
429 views

How to track traffic tidal wave on Amazon EC2 instance? [duplicate]

I have an Amazon EC2 web server that talks to a second database server instance... the web site is for a TV show, so the site tends to run a normal load of traffic until it's mentioned on the air and ...
0
votes
1answer
109 views

What is the sequence of diagnostics I should run on a troubled diskdrive on centos (on AWS)

Running CentOS release 5.4 (Final) on AWS All of a sudden a disk drive went awol on me. the device is /dev/sdh ... what do I do to start recovering it? dmesg results in: sdh: unknown partition ...
1
vote
1answer
130 views

Number of user served by nginx on ubuntu EC2 Instance

commerce web site running, on multiple ec2 instances. The web content is served using nginx and its a ruby on rails application. I am using a load balancer which routes the traffic to the multiple ec2 ...
1
vote
1answer
381 views

mkfs.xfs on EBS volume as non-root user on AWS

I've set up a udev rule to attach a particular EBS volume as owned by a user, and this works. Here are the permissions on the device node after the volume has been attached: brw-rw---- 1 myuser ...
-1
votes
1answer
3k views

Real-time chat with +1M users distributed backend solution on AWS [closed]

I Need to deploy a backend solution for a mass messaging iPhone app. Based on coverage previous apps we have deployed it is safe to assume we will get over 1 million signups in the first week and that ...
4
votes
1answer
820 views

AWS Route 53 Latency Based service for non AWS Instances

We need to use one of our own dedicated servers in conjunction with the Route 53 service alongside our AWS instances. Is latency based DNS supported for non AWS IP Addresses?
0
votes
1answer
2k views

how to fix slow query of mysql on Amazon and CPU 100% on the small rds instance [closed]

I am quite new to the both MySQL and AWS RDS service. I just find my query to the MySQL on a small RDS instance takes roughly more than 5 seconds. Besides, I notice with the CloudWatch that the CPU of ...
0
votes
2answers
725 views

How do I funnel all my EC2 apache logs to one server

Is the best way to get all my EC2 Web Server Instance Apache Logs in one place, to create a "LogServer" EC2 Micro instance and point all the Apache Configs to it? Not sure how to do this and ...
2
votes
1answer
632 views

call from ec2 instance to 169.254.169.254 for security credentials returns invalid credentials

So in theory, if a person needs valid credentials for an Amazon server, instead of hardcoding in their access key/password, one can call out to 169.254.169.254 for credentials to access certain ...
2
votes
1answer
3k views

AWS API Tools “Command Not Found” When Executing from Cron

I have created this bash script to generate a snapshot of my EBS Volume #! /usr/bin/bash ec2-create-snapshot -d "My Snapshot" vol-XXXXXXX -O <MyKey> -W <MyOtherKey> And it works when I ...
12
votes
4answers
2k views

Amazon EC2 spot instances - is there a catch?

I needed to start a new EC2 instance today and decided to try out the new spot instances, where you can reduce your instance cost by bidding on the maximum per-hour price you're prepared to pay. ...
0
votes
1answer
140 views

“Big picture” to use Amazon load balancer solution for blog

I have a client with a popular Wordpress blog that experiences occasional short-term traffic spikes (when the site is promoted on national TV). The blog is already hosted on an Amazon EC2 instance, ...
0
votes
1answer
538 views

Amazon AWS Store Wordpress uploads on S3

I'm getting ready to move my company's website and order management application to AWS. We use wordpress as the 'face' of our company. Our order management app is for internal use. I'm using Elastic ...
4
votes
1answer
1k views

How to create an EC2 instance with knife?

I was able to make knife access AWS by following: http://www.agileweboperations.com/amazon-ec2-instances-with-opscode-chef-using-knife Now, I get a knife command almost working: $ knife ec2 server ...
0
votes
1answer
228 views

Switching between ondemand and spot instances depending on spot price

We are using EC2 spot instances for crawling data. At any given time we need to have 20 instances running. We are aiming for high availability as well as cost optimization. The scheme we want to ...
0
votes
1answer
3k views

Options for firewall logging in AWS on EC2 instances?

We are looking to implement a logger for our firewall, in the cloud, to log attempted requests and general traffic to and from the server. For general traffic to and from the server the AWS firewall ...
1
vote
1answer
761 views

Issue with OpenVPN acting as client + server

I have 3 Amazon VPCs (Dev - 10.100.0.0/16 , QA - 10.101.0.0/16, Prod - 10.104.0.0/16). Each of these VPNs has an OpenVPN server. They are dolling out client IPs as follows: Dev - 10.100.0.0/16 - ...
-1
votes
1answer
523 views

How to exclude or whitelist particular ip address from iptables

I have implemented iptables on my Linux EC2 servers where rate limit incoming for port 80 has been applied. This is my iptables rule - http://pastebin.ca/2307975. I have other EC2 servers that are ...
0
votes
2answers
1k views

Setting up my own Mail Server on amazon ec2 along with Google apps for business email

I am pretty new to these email setup work, so unaware so several things. I have several questions: 1) I am using google apps for business email for my company, but I need bulk email service as well. ...
0
votes
1answer
105 views

package management via AWS CloudFormation

I am trying to remove packages using a cloud formation template. I have and can install it using the both packages and files structures but I need to remove one and install a different version. i.e. ...
0
votes
1answer
590 views

How to determine if firewall blocks access to Amazon EC2 without creating AWS account

I have been told that our company firewall might restrict access to Amazon EC2 network. What would be the quickest way to determine if a certain server will be able to access the EC2 instances, ...
3
votes
3answers
2k views

Advice regarding resilient internet access from within an Amazon VPC

We've had our NAT server fail 3 times thus far - once due to an issue with it's EIP and twice due to it's host being CPU bound. While I understand these things happen, we can't afford to keep taking ...
1
vote
2answers
1k views

Address already in use - Amazon AWS

I've run into a really weird issue. I was debugging a server 500 error script on our EC2 instance and found that we didn't have ioncube loaders installed. So I went to go install them and I created a ...
2
votes
1answer
263 views

Using Amazon's RDS Read Replica

I'm interested in the potential read performance increase of having a "Read replica" of my amazon RDS. Before I try, I'd like to be clearer on a few things. After creating a read replica, how does ...
2
votes
1answer
1k views

git aws.push returned error 403

I'm working on getting git setup for my application on Elastic Beanstalk. I've been following the instructions provided by amazon. After pushing the changes I get this error git aws.push error: The ...
6
votes
1answer
666 views

MongoDB Disaster Prep on AWS

I'm looking for best practice advice covering MongoDB disaster recovery within an AWS hosted environment. Our setup is fairly standard at this point, replica set of 3 servers (1 primary, 1 secondary, ...
0
votes
1answer
403 views

Why is my Cloudformation script not starting apache?

I'm trying to create an instance to run apache, and everything seems to be working, but the web server is not being started. It starts up fine manually. If I reboot the instance, it does not ...
0
votes
1answer
485 views

Automatically remove instance from ELB on server stop

How to automatically remove an instance from its LoadBalance (ELB) when you stop the instance? I've tried to create a shutdown script and put it on chkconfig, but it is not working: #!/bin/bash # ...