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)

0
votes
1answer
20 views

SSL certificate installation on AWS Load Balancer

I am following this documentation to set up GoDaddy's standart SSL on my EC2 instance using Load Balancer: Create a Server Certificate I connect to my instance using amazon's java based SSH and run ...
0
votes
0answers
22 views

How to set up a secure Git repository?

I followed this tutorial and set up a git repository on an AWS instance. https://git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-the-Server However, I've noticed that I can clone it using git ...
0
votes
0answers
5 views

Can you remap/copy/alias environment variables to new ones in AWS elastic beanstalk?

Right now my database variables are defined as RDS_*, however I'd like to remap them to my app's conventions. This would help in avoiding writing AWS-specific detections inside of my project, which ...
1
vote
1answer
12 views

When using eb CLI is it possible to deploy without using git?

Is there any way to use the AWS EB cli to just push the current state of my project rather than a specific commit? Perhaps there are alternative values than git to the sc parameter in config.yml?
1
vote
2answers
21 views

Amazon EC2 - Installed atop / htop but they don't show disk I/O stats

I configured an AWS EC2 with Amazon AMI Linux and installed via yum atop and htop and they work correctly but they don't show any stats for the disk I/O as usual. I tried some startup options with ...
0
votes
1answer
29 views

How to fix sudo file on EC2

I managed to save my sudoers file with a syntax error so now I can't do sudo -i any more on my EC2 instance. This effectively locks me out of root account since the only way to get root access on EC2 ...
1
vote
0answers
24 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, ...
0
votes
1answer
27 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
17 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
1answer
20 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
0answers
13 views

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

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
30 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
2answers
22 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: ...
0
votes
0answers
22 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 ...
-1
votes
0answers
15 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. ...
0
votes
0answers
23 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
88 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 ...
0
votes
1answer
14 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
39 views

What are the key differences between AWS Spot Instances and Google's Preemptible Instances? [closed]

Google recently released preemptible instances with a massive 70% discount. How do they differ from AWS Spot Instances?
0
votes
1answer
26 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
10 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
2answers
42 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, ...
0
votes
1answer
22 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 ...
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
1answer
25 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?
1
vote
2answers
30 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
18 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
21 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
26 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
22 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
votes
0answers
21 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
37 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 ...
-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: ...
0
votes
1answer
32 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 ...
0
votes
1answer
15 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
0answers
69 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 ...
1
vote
1answer
26 views

AWS CloudFormation templates and a bash init script

Up until now I've been launching EC2 instances manually, copying over a bash script that downloads my chef + chef artifacts, and calls chef-solo to provision an instance. A former AWS engineer in the ...
1
vote
2answers
51 views

How do we check ELB **own** instance health/connectivity?

Please note that this question is about ELB itself, not EC2 instances behind ELB Situation We have experienced the following ELB issue recently: 50% of requests were did not reach our backend and ...
0
votes
0answers
17 views

Ubuntu 14 AWS m1.medium limit nproc 32000 32000 not obeyed

Just installed mongodb on an Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-29-generic x86_64) AWS m1.medium instance type. When I run mongo I get the warning: ** WARNING: soft rlimits too low. rlimits set to ...
1
vote
2answers
106 views

EC2 Ubuntu 14.04 instances: running `apt-get update` results in “Hash Sum mismatch”

Every time I create a new AWS EC2 instance with Ubuntu 14.04 (using ami-a182b391, as found from here) and then immediately run sudo apt-get -y update, it gives me an error. Here's the OS info: $ ...
0
votes
0answers
8 views

Windows AWS Secondary IP Addresses crash IIS

Im currently trying to troubleshoot an issue with my AWS account. I have a requirement to host multiple sites on this particular machine. Within this requirement I need to be able to provide SSL for a ...
-2
votes
2answers
42 views

Why sometimes AWS EC2 works really slow?

I do only one thing one this server - encoding videos by ffmpeg. And sometimes it does work ok, sometimes it's really slow. I run the same command just for a test: $ sudo time ffmpeg -i test.mp4 ...
1
vote
2answers
38 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 ...
0
votes
1answer
47 views

EC2 to S3 upload speed decrease with increase in instances

I have a job that gets data from a database, runs some code, and uploads the result to an S3 bucket. The code takes approximately 1 minute to run, and the result file is approximately 10MB. Both the ...
0
votes
1answer
47 views

How does an AWS VPC instance route traffic internally and externally over 1 interface?

An instance brought up in a VPC with internet access is able to respond to traffic directed to an internet routable public IP assigned to it, as well as the internal subnet IP it has on it's only ...
1
vote
0answers
32 views

AWS S3 bucket permissions

I've created AWS s3 buckets with several thousand objects, initially the access policy was restricted to authenticated users, but later due to some requirement we need to make all objects in this ...
0
votes
0answers
33 views

Elastic Load Balancing report Out of Service

I am using the loadbalancing and autoscaling feature on aws. The load balancer marks the instance "out of service". However, the instance (i-xxxx) is running fine and status checks that report ...
3
votes
1answer
35 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
42 views

What product is AWS Elastic Laod Balancer behind the scenes [closed]

Does someone know what kind of product is working behind the scenes as AWS Elastic Loadbalancer? Could likely be something as haproxy, nginx, etc. Does someone know more respectively has any proof ...