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)

1
vote
2answers
126 views

Conditional Property in AWS CloudFormation

We've got an AWS CloudFormation template for creating some EC2 instances. Some of those however require a specific PrivateIpAddress and I'm struggling to figure out how to incorporate that to the ...
0
votes
0answers
73 views

aws stolen cpu on dedicated machine

I'm running a dedicated m3.medium EC2 instance. How is it possible that my top says: Tasks: 84 total, 1 running, 83 sleeping, 0 stopped, 0 zombie Cpu(s): 4.3%us, 1.5%sy, 0.0%ni, 90.8%id, ...
1
vote
1answer
41 views

Terminate a specific instance and scale down an Autoscaling group managed by CloudFormation

We have two applications that require a long time(between 20 minutes and 7 days) to finish processing their data and deprovision properly. We still want to manage them in Autoscaling groups with ...
0
votes
0answers
147 views

AWS Custom AMI not running userdata script

We bake AMI's and lately I have wanted to run some user-data scripts to notify cloud formation when the instance is done booting and put it into service. I am using cfn-signal to do this. On the ...
0
votes
0answers
142 views

iptables on AWS - how to get traffic mirroring to work?

Has anyone successfully deployed 'iptables -t mangle -j TEE...' for monitoring traffic on AWS instances? If so, how? My objective is for client<->server traffic between external customers and EC2 ...
0
votes
1answer
122 views

Keepalived unwanted transition to master

I'm starting 2 EC2 intances in Amazon with Cloudformation, the second instance starts about 30 seconds after the first one. The configuration looks like this : Instance 2 state BACKUP ...
4
votes
1answer
351 views

What is the size of an IO Operation (IOP) in AWS EBS?

My research suggests that both the standard and the maximum (kernel limitations) block size for modern file systems (ext4, xfs) is 4KB. However, AWS allows IO operations as large as 256KB and says ...
0
votes
2answers
105 views

How does Linux pick which network interface to use?

Let's say I have a machine with two network adapters on different subnets, eth0 (10.0.100.5) and eth1 (10.0.200.5). Assuming both subnets have routes to the internet (though their own NATs) and to the ...
0
votes
0answers
42 views

Elastic IP Not Resolving to Windows Instance

I'm sure I'm just missing a step, but I can't figure out how to get server to resolve to new elastic IP address. I appreciate everyone for their help. I've been trying to figure this out for a while ...
1
vote
1answer
92 views

How to get the Amazon Linux AMI version by AMI id?

I have an EC2 instance which runs an outdated Amazon Linux AMI (ami-5256b825). To upgrade to the most recent version, I first want to know what the differences between 2 images are. I only have the ...
1
vote
1answer
26 views

How to monitor machine status on EC2 [duplicate]

how do you guys often monitor the status of your vm on EC2? I am currently using CloudWatch and it seems that it can only give me CPU/network/io related stuff. What's your recommendation of server ...
1
vote
1answer
250 views

AWS EC2 Ubuntu 14.04 Instance smtp port forwarding from 25 to 2025

I am trying to step up port forwarding from port 25 to port 2025 on the same AWS EC2 Ubuntu 14.04 instance using iptables. I am using port 2025 to receive income emails using Alfresco. The first step ...
0
votes
0answers
67 views

ASP.NET/IIS <---> Solr/Tomcat setup on EC2 - “best practice” configuration

I am an ec2 newbie and deploying an asp.net application that interfaces with Apache solr (on Tomcat). In my dev environment I am running ASP.NET and Solr/Tomcat on my windows box. I am also ...
0
votes
1answer
80 views

How do I enable backup(snapshot) on redis elasticache t2.medium

I was able to create a snapshots of my m1.small caches but the backup button is disabled when I select my t2.medium. Is there a way for me to enable backup of a t2.medium redis elasticache?
0
votes
0answers
82 views

Amazon EC2 VNC Nvidia GPU usage?

I have a GPU instance on Amazon Web Services I am using Ubuntu 14.04 LTS The console show that the drivers are loaded perfectly, see below output $nvidia-smi -q | head ==============NVSMI ...
0
votes
1answer
21 views

Amazon snapshot issue

This Question has 2 parts: 1) What snapshots can be safely removed, do I need to retain the ones from which a running instance was launched? 2) How are snapshots appearing from a shut down instance? ...
0
votes
0answers
35 views

Amazon AWS Subnets and their gateways

I am a Python developer, and I've been handed (gladly I might add) some DevOps duties. While I'm quite familiar with AWS' console, as well as fabric, and some chef, I'm stuck trying to add routes ...
1
vote
1answer
321 views

Connecting two AWS Regions: Why not use two Virtual Private Gateways?

I am attempting to connect two AWS regions. AWS's documentation suggests starting up an instance on both sides to run software IPSec (OpenSWAN or StrongSWAN), giving both instances an elastic IP and ...
-1
votes
1answer
21 views

Automatically Updating AMI using FTP

I am using AWS and have setup and Instance for my site. I have then created an AMI for this instance and setup load balancing to spin up additional instances when the CPU process gets to 60%+ which is ...
1
vote
1answer
85 views

How to make consistent deployment directory for AWS OpsWorks' S3 archive deployment across each servers?

I'm using S3 archive deployment app to deploy a zip file generated from build process. When I deploy to several servers I notice that the absolute path generated by the deployment are different on ...
3
votes
0answers
145 views

TCP congestion collapse

I am experiencing suboptimal performance on an EC2 instance connecting to an RDS instance. This particular instance was built before VPC's existed, so all the traffic is flowing through a single ...
0
votes
1answer
290 views

Perl modules is not getting installed in Amazon Linux AMI ( centOs 6.5)

I am configuring cloudwatch custom metrics which requires some perl modules to be installed. Here is the command I am trying to install the perl modules. yum install perl-Switch perl-Sys-Syslog ...
0
votes
1answer
52 views

Chrooted user logged out immediately after login

I am trying to use chroot to setup a user who can login via ssh and limit access to the /var/www directory. The server is on AWS running Amazon Linux 64-bit, openssh installed. I used ssh-keygen to ...
0
votes
1answer
192 views

How do I set the beanstalk .ebextensions .config “sources” key “target directory” to the current bundle directory

I'm working in a python 2.7 elastic beanstalk environment. I'm trying to use the sources key in an .ebextensions .config file to copy a tgz archive to a directory in my application root -- ...
1
vote
0answers
254 views

AWS connection error: Permission denied (publickey)

Sorry if this sounds redundant to you but trust me its not. I have tried almost majority of the links related to this problem but nothing is working for me so far. I even tried this article two. Below ...
0
votes
0answers
56 views

NGINX: proxy_cache altering headers

I have been having trouble building a proxy between my server and s3 to cache requests. I finally boiled it down to a single point of failure... http{ proxy_cache_path /home/cache levels=1:2 ...
1
vote
1answer
88 views

Nginx proxy cache invalidating request to s3

I have set up a proxy from my application server to a private s3 bucket to cache requests. I was having some trouble with it where s3 was rejecting my download requests (403 forbidden) and after some ...
-1
votes
2answers
46 views

How to confirm if AWS server is started and from what boot level?

I have an amazon ec2 instance which is attached to a 8gb volume. The instance is shown running and the volume is attached. After october update my site stopped working with connection refused error ...
0
votes
0answers
46 views

AWS: RDS instance(s) and connecting from remote machine

I'm moving a site over to AWS. It's on the Amazon-flavored Linux distro, using MySQL. I vaguely remember setting it up a couple of months ago (been busy), and allowed access from my elastic IP. I ...
0
votes
1answer
257 views

Cannot enable yum repositories on EC2 machine running Red Hat

I am setting up a Red Hat box on EC2. When I try to install anything using yum, I receive this message: There are no enabled repos. Run "yum repolist all" to see the repos you have. You can ...
1
vote
1answer
139 views

How to store a Cloudfront custom error page in S3?

I have a Cloudfront plugged on an AWS load balancer. I saw in the AWS documentation that I can customize Cloudfront custom error pages. I tried to store these error pages in S3 as it is recommended ...
1
vote
1answer
31 views

Can't give access to all servers belonging to a security group in AWS

My current structure 1 instance in a VPC set up with an Auto Scaling Group. 1 instance in same VPC with HaProxy load balancer routing MySQL traffic to RDS instances (in same VPC) I have tested and ...
0
votes
1answer
48 views

What should an s3 end point look like when configuring an ALIAS record in Route53?

I'm trying to point my root domain to an s3 bucket that redirects to www.mywebsite.com. However, when I try to configure my ALIAS record to point an s3 endpoint, the only endpoint that the dialogue ...
-1
votes
1answer
55 views

Can you explain “Did you mess with /etc/fstab before rebooting” [duplicate]

I have struggle with AWS EC2 ubuntu server ssh connection refuse. After I wrote mount path on /etc/fstab and reboot, I can`t access the instance. I found your comment at Amazon EC2 - No SSH After ...
1
vote
1answer
174 views

Using Webdriver with Chrome — missing Shared Libraries

I am trying to run webdriver, but I keep getting the following error: [ec2-user@ip-172-30-0-41 ~]$ sudo ./chromedriver ./chromedriver: error while loading shared libraries: libgconf-2.so.4: cannot ...
0
votes
2answers
307 views

Knife can't ssh into newly instantiated EC2 server

I just set up a new Chef environment as I'm currently expanding my knowledge of Chef. I have a Key Pair set up on EC2, I have my Knife configuration set up. When I attempt to spawn a server, the node ...
0
votes
0answers
123 views

MariaDB Multimaster replication and AWS Auto Scaling Group

One of the things I hate most about RDBMS is that it can't sit on an ASG like the web servers and bounce it around and scale it up and down like a yoyo. Or can it? Recently looking at MariaDB galera ...
1
vote
2answers
288 views

chef: how do I reboot a node only if a confg file is modified

ENVIRONMENT: aws opsworks chef 11.10 and ubuntu 14.04. I'm using a chef recipe to update the /etc/dhcp/dhclient.conf file on an aws opsworks ec2 node in order to add my custom dns search suffix to ...
0
votes
2answers
54 views

EC2 Dedicated Instances

Why would I ever choose to use an EC2 dedicated instances as opposed to a non dedicated instance? You have to pay $2/hour/region if you have any dedicated hosts in that region AND the costs per ...
1
vote
1answer
36 views

Availability Zone for Elastic Block Storage

If the Availability Zone for an Elastic Block Storage (EBS) volume is us-east-1c, can I mount it on an instance in us-east-1a? If not, what is the best way to migrate the volume?
0
votes
0answers
44 views

Access ElasticCache Redis instance within VPC from a classic instance

I have an existing AWS EC2-Classic deployment that I am seeking to add a small Redis instance to. As this only needs to be a tiny Redis instance I elected to use the t2.small size. I've since found ...
0
votes
0answers
26 views

Creating a bootable ami from a raw device AWS

I have a raw block device or a raw file that I would like to convert to and ami or something similar. The raw file can be a variety of operating systems. Also, the file is almost always larger than ...
0
votes
1answer
189 views

Amazon RDS replication with external slave

I've recently configured a replication with an external MySQL master and RDS as slave but now I need to reverse that config and use RDS as master and the other instance as slave. Actually I use a vpn ...
0
votes
0answers
19 views

Include x-amz-storage-class Header When Calling Amazon S3 from Web.config

Any time my web app calls Amazon S3, it would be nice to conditionally include the following header. I am using a custom domain mapped to an S3 bucket. key: x-amz-storage-class value: ...
1
vote
1answer
103 views

How to edit domain's nameservers when no service “takes responsibility”?

I think I may have made a mistake when migrating my DreamHost registered domain to Amazon's Route 53 service. I didn't modify the DNS settings on DreamHost's end during the migration. So now, my ...
0
votes
0answers
58 views

iis-disabling-ssl-v3 (CVE­-2014­-356)causing ec2 to Rds connection failure

To disable ssl v3 on my web server (m1.small EC2, i-1aafee15) running windows server 2012 r2, I added registry keys: SSL 3.0->Server->Enabled (0) SSL 3.0 ->Client->DisabledByDefault (1) ...
0
votes
1answer
43 views

How to figure out which EC2 instance an EBS Volume went with?

I discovered a few unattached, mystery EBS volumes in my AWS Console. I suspect these are leftovers from some test EC2 instances I had that I may have not noticed were NOT set to delete the volume ...
0
votes
1answer
455 views

Passive ftp connection issue for aws/pure-ftpd

I have a centos server running pure-ftp via aws. I have configured PureDB and added a user with correct permissions. I have opened up inbound ports 20/21 and 49152-65534 within the aws security group ...
1
vote
0answers
29 views

aws instance froze, how to find out what went wrong

So we have a instance on AWS that runs CouchDB which was down and not accessible until we rebooted the box (which took a long time). The instance is back up now and I am trying to figure out what ...
2
votes
1answer
200 views

aws ec2 and Django ALLOWED_HOSTS

I have put in place my website using Django, on aws EC2, using Elastic Beanstalk. I have set the ALLOWED_HOSTS to ['www.mydomain.fr', '.mydomain.fr'], as recommanded on the Django website. But I ...