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
0answers
11 views

How to scale up one container using Amazon EC2 Container Service

I am new using Amazon ECS and I would like to know how to set up services in order to scale up / down one container easily. Here is my project architecture: website: container with the website, ...
1
vote
1answer
894 views

Error when customising EC2 instance php.ini file on AWS

I'm using Elastic Beanstalk on AWS and I'm trying to override some settings from the php.ini file. I've made the directory /.ebextensions with project.config within it: files: ...
2
votes
3answers
2k views

How to delete EC2 AMI

I know that the command ec2-create-image instance-id will be creating an image of the ec2 instance, creating snapshots file and registering as an AMI. But what is the equivalent command to delete the ...
3
votes
1answer
31 views

What's a good load balancer check for puppet master

We are running a couple of Puppet Master version 3.7 (Not PE) on AWS EC2 instances behind an Elastic Load Balancer (mainly for high availability). Currently the load balancer's check is just TCP ...
0
votes
1answer
9 views

Stop opsworks deployment after first fail

I have finally finished setting up a fully functional environment in AWS Opsworks for one of our projects and but haven't gone fully live with it. After doing some tweaks to one of my templates, I ...
1
vote
1answer
3k views

AWS VPN Tunnel going down without traffic

I managed to setup a site-to-site VPN connection from Amazon VPC to a company's network, and after a lot of configuration it was working fine, but now i realized that the VPN tunnel is DOWN every time ...
0
votes
0answers
49 views

Precision Time Protocol on AWS

We have a problem that requires a group of AWS linux servers to have the time exact by the millisecond between each other. (different nano seconds is ok, and we don't care if it is the real hour.) ...
1
vote
2answers
95 views

Memcached vs Amazon Elasticache with PHP on CentOS 7

I setup a new CentOS 7 server in Vagrant to run PHP, nginx, MySQL (MariaDB) and memcached (note the d on the end). I can get memcached to run fine, but I can't get the Amazon Elasticache .so file to ...
1
vote
0answers
65 views

AWS yum does not work from private subnet (does work from public)

I have a VPC with a private and a public subnet - each containing an identically built RHEL7 server. I believe the VPC is set up correctly (see following). However, the public server can use yum and ...
0
votes
2answers
17 views

setting up asg with Ansible and not able to use ec2.py for inventory

I have created local configuration and Amazon Auto-scaling group. By using this code. --- - local_action: image_id: ami-61f9324 instance_type: t2.micro module: ec2_lc name: ...
2
votes
1answer
15 views

EBS volume mount point should be disk or partition

With community CentOS 7 HVM image, after adding another EBS volume to my EC2 instance, lsblk command shows this NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 8G 0 disk -xvda1 ...
0
votes
1answer
21 views

EC2 volumes & partitioning

With Amazon EC2 CentOS 7 HVM community image machine just thinking for volumes & partitioning. Would it not be good that I create default 8GB volume sda for root device for all operating system ...
0
votes
0answers
14 views

CentOS 7 mount ebs thorugh systemd unit

CentOS 7 HVM community image is not mounting the drive if as recommended we do it via rc.local(since doing it via /etc/fstab entry may halt the machine and make it not reachable if any issue occurs in ...
2
votes
2answers
2k views

Downtime for increasing RDS storage?

I am looking to increase storage of two RDS instances (just the storage space allocated, not the instance type or other parameters). The documentation at ...
1
vote
1answer
26 views

How do you find which Amazon AWS EC2 instances are not covered by a Reserved Instance reservation?

Let's assume that I have 20 running EC2 instances and 10 active Reserved Instance reservations. Using the AWS Console or AWS CLI, what is the fastest way to determine which of the running EC2 ...
0
votes
0answers
11 views

Setting up an Amazon + Ruby + Proxy for high scalability and traffic [on hold]

I know that this may seem like a very simple question, I had configure EB servers on aws for php before, On this time I'm trying to setup a site which will have bumps of visits from 0 to 300,000 on ...
1
vote
1answer
985 views

403 forbidden error going through aws load balancer

I am running a IIS 7 Server behind an aws load balancer. I am using a Verisign SSL certificate which is installed properly but whenever I put in the URL, or the DNS name of the load balancer I get a ...
1
vote
1answer
1k views

How to configure network on EC2 instance launched by Vagrant?

This is my AWS setup: 1 VPC with: default public subnet, 10.0.0.0/24 1 EC2 micro instance, private 10.0.0.172 and public Elastic IP 1 RDS instance, running MySQL The EC2 instance has network ...
0
votes
0answers
19 views

Azure Endpoints vs AWS Security Group?

I have some Windows 2012 VMs in AWS, and use Simple AD for private domain say lan.mydomain.net. Sever "MyDns" for registering domain users, and Server "MyWeb" for hosting Web applications. From ...
0
votes
1answer
35 views

EC2 Network Interface with secondary Private IP, not showing on Interface in Windows

I have a windows server 2012 r2 instance on EC2 under VPC, I have two Network Interfaces. The Primary Private IP is shown in windows for both. I have a secondary IP address on one of the network ...
-1
votes
0answers
13 views

Custom SSL cert (via SNI) over Cloudfront works for non-www requests but fails with www

When requesting https://example.com via Cloudfront the site is served with our own SSL cert. However, if you request https://www.example.com the site is served with the *.cloudfront.com certificate. ...
2
votes
0answers
28 views

Nginx setup on aws - redirecting to port 81, cannot reverse

I've tried to setup nginx on my free AWS instance so that it can host multiple domains on single ip address (not sure if it can be managed, but I'm trying to dig in). In that process I created ...
0
votes
0answers
20 views

duplicity s3 backup from centos

I'm trying to backup server data to S3 but getting no success. Below is the script which I run to start backup on S3. I have create a user using IAM and have granted all permissions to the user. ...
2
votes
1answer
84 views

Is there anything I can do to speed up snapshot speeds?

I have 3 SSD EBS volumes mounted to my database server. The main data volume is 10TB, the journal volume is 1TB, and a 3rd volume is 100GB. When I take a snapshot of the 3 volumes, the 1TB journal ...
1
vote
2answers
40 views

create my own active directory in a EC2 instance of Windows 2012 in AWS?

I have been using Azure where I could use one of the Windows VM as a domain server with AD sitting in subnet 1 while others VMs sit on the subnet 2. So far so good. Now I am building the similar VMs, ...
2
votes
2answers
533 views

How can a “standard Elastic IP” become the External IP for a VPC?

In AWS, I have an IP address I must keep. (end users are manually typing it in for DNS service) I need to move the DNS server from a standard instance to a VPC base instance. I understand that I ...
0
votes
2answers
176 views

How to migrate/move Amazon's EIP from standard to VPC scope?

Is it possible to migrate/move ElasticIP from standard scope to VPC scope in Amazon Web Services? I have hundreds of domains pointing to particular EIP and it would be super-sweet if it was possible ...
0
votes
1answer
38 views
0
votes
3answers
935 views

Why can't I SSH into a new EC2 instance I created from an AMI I generated?

I followed the procedures here: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html with the exception that I did not shut down the original instance, just let AWS reboot it. ...
0
votes
1answer
12 views

AWS CloudWatch — Signature Expired

Everything is going fine, except one of my instances gives me the below error: ubuntu@my-host:~$ /etc/aws-scripts-mon/mon-put-instance-data.pl --mem-util --disk-space-util --disk-path=/ ...
0
votes
1answer
24 views

Elastic beanstalk not support on custom AMI

I have launched a default Amazon ElasticBeanstalk image(php) in EC2 .I can able to deployed application on Apache.I am trying to use a custom AMI in AWS Beanstalk and does not get deployed on the ...
0
votes
1answer
21 views

Find minimal policies in AWS that user needs

I try to use AWS EC2. There is a command $ aws ec2 describe-instances That answers: A client error (UnauthorizedOperation) occurred when calling the DescribeInstances operation: You are not ...
1
vote
1answer
1k views

Open ports between Elastic Beanstalk and one EC2 instance on AWS

I currently have the following setup: An API (Node.JS) running using Elastic Beanstalk, which is currently only running one EC2 instance A MongoDB instance running on a seperate EC2 instance ...
0
votes
1answer
24 views

Locating an AWS S3 physically in a private subnet (like RDS)

Similar to how an RDS instance requires you to pick the specific subnets (which can be in a VPC's private subnet), can AWS S3 stores also be physically located in a VPC's private subnet?
-3
votes
1answer
33 views

Connecting AWS from Windows. Error: Using username “ec2-user”. Server refused our key

I am connecting AWS EC2 using Putty from Windows 8, I followed all steps mentioned on this page of conversion of .pem to .ppk and have loaded .ppk in Putty. Putty Configurations: Host Address: ...
1
vote
2answers
28 views

To generate key for AWS server using ssh-keygen from .pem for PuTTY

AWS gave me a private key in the format of .pem. I am trying to use it with PuTTY but failed and I read I need to generate a key with PuTTYgen but PuTTYgen is only for Windows. So I am trying to use ...
-1
votes
0answers
13 views

Server Licensing [duplicate]

I have 3 server. All are loaded with Windows Server 2008 R2. 2 of them are SharePoint 2010 web front servers and the remaining one is for SQL 2008. In which, one of the web front server takes all the ...
-1
votes
0answers
17 views

hosting web application with database on aws [closed]

I have created a cms system in Laravel that allowes hosting multiple websites with one application. I just started my bussiness, so I currently only have 2 websites hosted with this application. Now ...
1
vote
0answers
18 views

Configuration changes in immutable infrastructure

How are people who are using immutable infrastructure handling configuration changes between their different environments? I can't workout a nice way to create one AMI per role and use it in all ...
1
vote
0answers
25 views

Apache Virtual Host showing local IP [closed]

I have a cent os 6 server running WHM on Amazon web services EC2. The virtual hosts in the Apache config file seem to all use the local IP which still allows the websites to work but causes problems ...
0
votes
1answer
21 views

Retrieve clients geolocation info from AWS ELB?

Forgive me if this question is in the wrong place; had difficulty deciding whether this belongs on SO or SF. Since I'm not asking for code, I guess here would be the best place. We want to be able to ...
1
vote
2answers
37 views

What might be causing LDAP to refuse connections from some but not all sources? (not firewall)

I'm migrating servers to new infrastructure and have to set up LDAP again. It's not being used to access the server, rather as a repository of users from our website to be accessed by our BI ...
3
votes
2answers
2k views

The site is using outdated security settings that may prevent future versions of Chrome from being able to safely access it

We're using an AWS ELB to do SSL termination and are having an issue where Chrome is displaying "https" in red with a strikethrough. It says "The site is using outdated security settings that may ...
-1
votes
0answers
20 views

Tool for figuring out when/where packets are being dropped?

I often end up spending a lot of time in my VPCs trying to figure out which security group, network ACL, route table, etc. is screwing everything up with routing. Is there a tool available which I can ...
0
votes
1answer
161 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 ...
0
votes
1answer
2k views

ssh: connect to host port 22: Connection refused -> AWS

Just moved offices. Our production servers are on AWS and the Security Groups have being updated to reflect our new External IP. I have tried another computer with the same response both Mac OS X. ...
0
votes
1answer
27 views

Can I use IAM Roles for Ansible

Apparently the AWS Access Key and Secret Key are optional parameters for the AWS Cloud Modules, however the places where the ansible would pick up those values are from Environment variables. Can we ...
2
votes
1answer
933 views

Second ENI in AWS VPC is not accessible on Ubuntu instance

I'm just getting into VPC, trying to understand how everything works. So far the biggest hurdle I've run into is that any time I add a second Elastic NIC to a machine, that second IP is not accessible ...
0
votes
1answer
13 views

Write-S3Object : A parameter cannot be found that matches parameter name 'Credentials'

I’m trying to set up AWS deployment via the AWS Tools for Powershell on a new machine using write-s3object -credentials $aws_creds ..., and I’m running into the following error: Write-S3Object : A ...
1
vote
4answers
4k views

Accessing Amazon S3 from a private VPC subnet

If I have a VPC running and some servers located in the private portion of that network that do backend processing by downloading files from amazon s3, can I access S3 internally to get at those ...