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
10 views

Packer with amazon-ebs VS amazon-instance

I am looking into using Packer to generate some of our VMs, and I have been working thorough the example here. When I try to run the packer build command I get the following error: ==> amazon-ebs: ...
0
votes
2answers
25 views

What information is lost on a connection when passing it through a aws load balancer?

Bit of a newbie question here. What happens when traffic is forwareded through a load balancer? I had always assumed that load balancers just forwarded connections from clients to one of a set of ...
-5
votes
0answers
24 views

how to I make my own system to behave as server? [on hold]

Is it possible to assign Ip to my system(Any personal computer with good configurations) and let it behave like server? One should able to request and even ssh remotely to this server. My purpose ...
0
votes
1answer
19 views

Why does VNC viewer on Mac Book Pro report RFB protocol error when connecting to AWS over L2TP?

There is a small group of us working on Amazon Web Services (AWS), we use mac books as our desktop machines and VNC into servers running on AWS. The problem started when we upgraded our VPN from PPTP ...
0
votes
0answers
18 views

EC2 websites & RDS databases backup

We have some Amazon EC2 machines on which different websites are working, and their database is being pulled from RDS-MySQL, I know for machine I can have images as backup and for RDP-MySQL it has ...
0
votes
0answers
17 views

Using SaltStack to create VPC on AWS

I am not sure if this is even possible as I have not found any documentation or information otherwise regarding how to do this: can SaltStack be used to configure and create new VPCs into a given ...
0
votes
1answer
16 views

ElasticCache enpoint to use in code

I have provisioned ElasticCache and launched a Redis cache cluster with Enable Replication option selected in Single Availability Zone, now I see three cache nodes under cache cluster as following ...
0
votes
1answer
15 views

AD Powershell Module to retrieve from AWS Directory Service

I know using AD module for powershell we can retrieve domain computers details and export it as csv. But I have my domain in AWS directory service and I have a computer under this domain. I tried ...
0
votes
0answers
11 views

RRAS Routing Shenanigans

I have A RRAS server running on an AWS VPC (10.145/24 network) with address 10.145.0.77. I have a DHCP server/scope set up (10.250/16 network) on a separate Microsoft loopback adapter to offer DHCP ...
0
votes
1answer
26 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
23 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
27 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
25 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
34 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
23 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
25 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
32 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
27 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
25 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
24 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
89 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
16 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
40 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
28 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
11 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
45 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
24 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
33 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
28 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
34 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
vote
0answers
23 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
30 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
24 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
22 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
38 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
35 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
42 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
17 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
76 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
30 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
53 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
18 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
111 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 ...