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)

4
votes
1answer
218 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 ...
1
vote
1answer
145 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 ...
2
votes
2answers
917 views

Autoscaling and NFS Server

I have a WebServer say WS-1 and a NFS server say NFS-1 setup on AWS. WS-1 is being managed by an elastic load balancer and also autoscaled. It also has an EBS mounted on /var/www which contains all ...
0
votes
2answers
75 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 ...
1
vote
3answers
254 views

EC2 micro instance AMI

I have a server running on an AWS Micro instance. As it has EBS storage by default - there is no risk to lose data in case of termination. Can I skip AMI creation for micro instances?
2
votes
1answer
43 views

What is the advantage of using a NAT plus private sub-net on AWS vs a public sub-net with locked down security groups and ACL?

My Scenario: I have an SQS queue with an auto-scaling group of EC2 workers processing messages from the queue into a database in a different region. Implied Networking Needs for EC2 Workers: Access ...
0
votes
0answers
30 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 ...
3
votes
2answers
161 views

Managing multiple AWS VPCs - becomes a fruit salad of subnets / ec2 instances

We are just starting our AWS presence. We require multiple VPCs, each hosting our own servers or customers' servers. Each VPC has 4 subnets - 2 public, 2 private, each in a different AZ. Each VPC ...
1
vote
0answers
115 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 ...
3
votes
2answers
1k views

Postgresql read replication using an amazon postgresql RDS service as master

we currently are using amazon Postgresql 9.3 RDS as a master database for a gaming platform. We would like to create a read only replication to use for reporting and heavy queries. Yes, it seems ...
7
votes
3answers
18k views

how do i set the dns server on godaddy with AWS?

I have a domain name on godaddy and i also have a amazon web services account. I have an EC2 instance and i want to change the dns nameserver on the godaddy control panel to aws and i have no idea ...
0
votes
0answers
32 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
2answers
547 views

How can I manage AWS VPC ssh access accounts and keys across multiple instances?

I am setting up a standard AWS VPC structure: a public subnet, some private subnets, hosts on each, ELB, etc. Operational network access will be via either an ssh bastion host or an openvpn instance. ...
0
votes
0answers
15 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? ...
2
votes
2answers
444 views

ec2 upstart, what is the `start on` command to wait for network

This is my first time with upstart and am using EC2. os/upstart = aws base AMI latest version - upstart-0.6.5-13.3.13.amzn1.x86_64 I can not get the following script to launch when waiting for the ...
0
votes
0answers
22 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
votes
1answer
18 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 ...
0
votes
1answer
73 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
votes
2answers
42 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
1answer
68 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
17 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
0answers
39 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 ...
0
votes
0answers
34 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
vote
1answer
161 views

SSL termination point for AWS EC2? ELB or NginX or..?

I have a number of stand alone java web applications that currently run on different ports and URLS. I would like to expose all these apps behind a single port(443) and map the different public URLs ...
0
votes
0answers
32 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 ...
3
votes
2answers
2k views

FTP - 500 I won't open a connection to xx.xx.xx.xx

I'm running a server on AWS and I'm connecting out to a partner's FTP site (not much idea what they are running). My server has an elastic IP. In the results below xx.xx.xx.xx is the internal IP ...
5
votes
2answers
410 views

Running docker in VPC and accessing container from another VPC machine

I'm having issues while running docker in AWS VPC. Here is my setup: I've got two machines running in VPC: 10.0.100.150 10.0.100.151 both having an elastic IPs assigned to them, both running in ...
1
vote
1answer
48 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 ...
0
votes
1answer
89 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
24 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
41 views

Can I use Amazon Route 53 for DNS Round Robin without a custom domain name?

I want to use Route 53 to experiment with DNS Round Robin load balancing of several EC2 instances. Can I do this without having/using a custom domain name?
0
votes
1answer
31 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 ...
0
votes
1answer
125 views

OpsWorks Auto Healing instances that fail ELB (load balancer) test

From the AWS documentation I understand that some kind of unresponsiveness from an instance will cause it to be terminated. There is nothing in the docs that would suggest that ELB health checks can ...
1
vote
1answer
213 views

AWS Opsworks auto-healing, load instances, and load balancer

I have been working to get our suite of web apps working on aws opsworks. They are now mostly working. Seems like a great environment! But I am wondering about the scaling, healing, and load ...
1
vote
2answers
62 views

How do I tag an Elastic Beanstalk environment when creating it with the “eb start” command line utility?

In May AWS introduced the ability to tag elastic beanstalk environments. We can't figure out how to tag an elastic beanstalk environment when we create it using "eb start." We use the "eb command ...
3
votes
2answers
718 views

VPC SSH port forward into private subnet

Ok, so I've been racking my brain for DAYS on this dilema. I have a VPC setup with a public subnet, and a private subnet. The NAT is in place of course. I can connect from SSH into a instance in the ...
-1
votes
1answer
38 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 ...
4
votes
3answers
461 views

AWS ELB poor performance

We're using ELB for SSL termination. Our applications run on EC2 instances behind ELB using HTTP. We're monitoring the application response times and performance hit when going through the ELB seems ...
0
votes
1answer
61 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 ...
6
votes
5answers
5k views

If I shut down Amazon EC2 instance then start it again, will everything be ok?

I have a web site that runs on an Amazon EC2 Linux-based instance, and is mapped to a regular domain name (x.com). This site talks to a database on a second EC2 instance. I need to shut down this ...
0
votes
2answers
99 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
48 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
75 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
36 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
33 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
30 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
22 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
0answers
10 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
56 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
1answer
25 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 ...