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)

3
votes
1answer
80 views

Unable to deploy a rails application using eb cli

I recently updated my environments configuration to :64bit Amazon Linux 2015.03 v1.4.6 running Ruby 2.2 (Passenger Standalone). After deploying my application using eb deploy i now get an error in my ...
1
vote
1answer
35 views

Master-Slave DNS Ubuntu Configuration on AWS

I have following architecture. Domain example.com registered with external provider. 2 DNS to-be servers within AWS: DNS SERVER 1 (MASTER): Public IP: 100.200.300.400 | Public DNS: ...
0
votes
1answer
76 views

all of a sudden can't connect to aws ec2 instance (Server unexpectedly closed network connection)

everything waas working great with my instance, and all of a sudden i can no longer connect thru ssh or sftp, with an error "Server unexpectedly closed network connection". My colleagues have the ...
2
votes
1answer
40 views

AWS - How to limit outward traffic amount? [closed]

I want to exploit the AWS free tier to learn and do some personal projects. However what worries me is the bandwidth limitation. Specifically, the AWS free tier FAQ states that "15 GB of bandwidth out ...
0
votes
1answer
32 views

Why does an AWS EC2 instance need public and private DNS?

I am creating my own VPC and was reading some documentation. AWS documentation for DNS with VPC (click here to view) says To enable an EC2 instance to be publicly accessible, it must have a ...
3
votes
3answers
1k views

AWS ElastiCache/SimpleQueue vs DynamoDB

I'm wondering about the rationale for using ElastiCache/SimpleQueue vs just having "Cache" and "Queue" tables inside of DynamoDB respectively. It seems that the network latency to the Cache/Queue ...
0
votes
1answer
20 views

Mongodb sharded cluster architecture

I have a mongodb cluster on aws. In order to reduce network latency I want to have multiple shards in different regions. In each region there will be the application nodes that connect to the ...
0
votes
2answers
20 views

How to take EBS Volume snapshot and store to S3 Reduced Redundancy?

By default, EBS Volume snapshots on AWS are stored to S3 Standard storage. I would like to figure out how to direct those snapshots to Reduced Redundancy storage instead. I've been trudging through ...
0
votes
2answers
49 views

How can I get the VPC CIDR range from within an AWS Instance?

I'm trying to programatically set the routes that a vpn should push to clients, one of the main ones being the VPC network. Is there a way to get the VPC CIDR block from within my vpn instance?
1
vote
1answer
40 views

Drive not showing up in EC2 Console, but shows up when I do lsblk

I've inherited a sever that lives on EC2. When I do the following: lsblk I get: xvda 202:0 0 40G 0 disk └─xvda1 202:1 0 40G 0 part / xvdb 202:16 0 30G 0 disk /home/dbt ...
0
votes
0answers
16 views

Network connections on aws ec2 in poll_s

Our long running mail server on aws ec2 suddenly faced network related bottlenecks today. The pop service was running at its limit, still end users complained of connection errors and duplicate mail. ...
1
vote
0answers
225 views

customize instance store Centos7 AMI

I am attempting to customize a base instance-store Centos7 AMI. Image I am using is: RightImage_CentOS_7.0_x64_v14.1.4_HVM - ami-d34b02e3 (instance store hvm) I start the instance, I customize it, I ...
0
votes
0answers
13 views

How do I make Amazon's SES auto-blacklist bouncing addresses?

We have a monitoring service that sends approximately 300k transaction emails per month... AWS's SES is a wonderful product for sending such emails. However, it has one huge issue: we had a single ...
4
votes
2answers
922 views

How can I give an AWS IAM user permissions to manage his own security credentials?

Specifically, I want the user to be able to create/delete his own access keys ("Action": ["iam:*AccessKey*"]) in the AWS console, but without giving them a full user list view in the IAM dashboard. ...
1
vote
2answers
461 views

How to allow IAM users to setup their own virtual MFA devices

I want to let my IAM users to setup their own MFA devices, through the console, is there a single policy that I can use to achieve this? So far I can achieve this through a number of IAM policies, ...
1
vote
1answer
45 views

error while playing ansible playbook

I just installed ansible on a server in aws and then created a playbook to run the same but while running i am getting error as below : ERROR! 'copy' is not a valid attribute for a Play The error ...
0
votes
1answer
38 views

In OpenStack, what is the equivalent an Amazon AWS snapshot?

I'm an Amazon Web Services specialist. (AWS = Amazon's cloud computing platform.) I understand the workflow for taking backups in AWS. What's the equivalent in OpenStack, and is it as robust? Here is ...
1
vote
1answer
22 views

s3cmd error on sync: S3 error: 400 (InvalidRequest)

I'm trying to configure s3cmd to backup some directories on my server to my AWS S3 bucket. My problem is that when I do the sync command: s3cmd sync -r -p --no-delete-removed /path/to/dir ...
0
votes
1answer
60 views

Access s3 bucket from Ec2 service

I'm new to AWS and was looking for a bucket policy to enable my ec2 servers access to the S3 buckets on the same account. I tried using this policy which enables the account: { "Sid": ...
2
votes
3answers
183 views

AWS Security Groups vs Windows Firewall

Is it considered best practice to disable the Windows Firewall on an Amazon EC2 instance, and control traffic only via EC2 Security Groups? If I open a port on the server firewall, and then open the ...
0
votes
1answer
110 views

AWS: VPC Peering between VPC's over multiple AZ

I have two VPC's A (10.0.0.0/16) and B (172.31.0.0/16). A comprises of instances over eu-central-1a and B comprises of instances over eu-central-1b. Now to enable communications between the two ...
1
vote
1answer
86 views

Trying to install CloudWatch Agent on Ubuntu 14.04: “Failed to create virtualenv”

I am trying to install AWS CloudWatch Log Agent on Ubuntu 14.04 following this guide: http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/QuickStartEC2Instance.html When I type in ...
0
votes
1answer
1k views

AWS Elastic Load Balancer : white list only my IP

My objective: To make my AWS Elastic Load Balancer hittable by only traffic from my ip. What I have tried: created a security group in EC2 security groups set an inbound rule that allows all ...
0
votes
1answer
34 views

Immutable Infrastructure

I'm working on a cloud based solution architecture at the moment and want to take the approach of using an immutable server infrastructure (creating and then deploying new AMIs when updating software, ...
5
votes
3answers
13k views

Could not call sign: Could not find certificate request for puppet

I'm getting started with puppet on ec2 using the following guide. https://help.ubuntu.com/12.04/serverguide/puppet.html In the very last step when I try to sign the puppet client from the puppet ...
1
vote
1answer
140 views

CloudFront wasn't able to connect to the origin.

I'm trying to set up an A record that points to my cloudfront url. When I do that, I get the following error when I access my cloudfront url: "CloudFront wasn't able to connect to the origin." does ...
1
vote
1answer
24 views

Initial Elastic Load Balancer connections hang

I have an elastic load balancer running in front of a Go-based docker service that is on two machines. Every time I restart the Go service, the initial connections from some clients take minutes ...
0
votes
2answers
48 views

Upgrade RDS to new instance type?

We have a db.m3.large RDS MySQL instance in us-west-2 w/ multi-AZ that we need to upgrade to a larger instance type (and would like to move to current generation, as well). However, for the last 2 ...
0
votes
0answers
39 views

Is it Possible to Configure Receive-Side Scaling on an EC2 Instance Running Windows Server 2012 R2

Currently, I am experiencing some problems on getting a server to run efficiently on an EC2 instance. On my local machine everything runs as expected, but on AWS the servers experience some latency, ...
2
votes
1answer
45 views

421 Misdirected Request using HTTP/2 and SAN SSL

I'm running Apache 2.4.20 on Ubuntu and I have SSL configured. I have a SAN SSL Certificate and www.example.com and www2.example.com are sharing the same certificate. I'm getting a 421 Misdirected ...
2
votes
2answers
867 views

Deploying site on Amazon Beantalk and IIS settings

I am interested in working with Amazon Elastic Beantalk to deploy my new site. A few things that I need to know and can't get an answer to: 1) How can I maintain IIS settings of all deployed and ...
0
votes
1answer
17 views

restore backup files in another server using duplicity

I am using duplicity to backup the application files with gpg key to Amazon service S3 server. And then restore the same from S3 to own server. I want to restore the backed up files to another ...
0
votes
1answer
35 views

Does AWS support DBF files or Samba Shares?

We have DBF files running in our local network. It's on an Ubuntu Server running Samba shares. The DBF files are used by our in-house system running on xBase. Now we're moving everything to Amazon ...
0
votes
0answers
7 views

Where should migrations be run on elasticbeanstalk deployment process?

I'm very curious as to how people run a command like db migrate on their eb apps. If you add it as an .ebextensions I fear that when you have multiple instances for one app, there could be conflicts ...
0
votes
0answers
23 views

Amazon EC2 openVPN instance connection issues

Currently trying to connect to an openVPN server set up on an EC2 instance that is also running a web application. My client establishes a connection with the server and I can ping the gateway ...
0
votes
1answer
59 views

Connection refused to local port

I'm trying to setup a dedicated server for Rust (a game) on an AWS EC2 VPC instance running Ubuntu 14.04 64-bit. Following the instructions, I got the application started and listening on its default ...
0
votes
0answers
15 views

Server Config for High Traffic Website [duplicate]

I am developing a website which is expecting a huge traffic. The traffic will be like 1 lac user/second. I don't want server restart options or site will go down. I am looking for AWS server but as I ...
2
votes
1answer
30 views

Terraform, ecs service creation fails when using a configured IAM policy

Using Terraform, ecs service creation fails when using a configured IAM policy. Error applying plan: 1 error(s) occurred: * aws_ecs_service.beatthemarket_service: InvalidParameterException: Unable ...
3
votes
3answers
2k views

AWS: Environment named *** is in an invalid state for this operation. Must be Ready

I get a message when I am trying to deploy my php app on EC2. Environment named *** is in an invalid state for this operation. Must be Ready. I am unable to deploy. The server status is running, ...
2
votes
1answer
42 views

Ansible : How to find the route ID connected to a subnet

I have a VPC with some routes and subnets. I want to get ansible to work with it but I can't see a way to link the subnet with the route table ID. I've used the ec2_vpc_route_table_facts, ...
0
votes
1answer
15 views

Putting ELB in from of my ECS Cluster / Service

I’m trying to put an ELB in from of my ECS service, using this terraform file But applying it, gives the below error. Any ideas on the setup that I’ve gotten wrong? $ terraform apply ... ...
0
votes
1answer
28 views

How to suppress file output from aws s3 ls?

I am using the aws cli to summarize the number of files and the total size of an s3 bucket using the following command (documentation): aws s3 ls s3://mybucket --recursive --human-readable ...
0
votes
1answer
21 views

Is there any difference between load balancer url and the elastic beanstalk url?

It seems that both the load balancer url and the elastic beanstalk point to the same ip address. thomasreggi$ nslookup aws-load-balancer-url.us-east-1.elb.amazonaws.com Server: 8.8.8.8 ...
0
votes
2answers
33 views

Does upgrading a server improve performance on low traffic site?

I wish to use migrate to a Amazon's AWS EC2 instance for a basic Wordpress site running woocommerce. However, I am torn between t2 and m3 instances: https://aws.amazon.com/ec2/instance-types/ My ...
3
votes
3answers
3k views

AWS Cloud Formation.Requires capabilities : [CAPABILITY_IAM] (Child Stack)

IMPORTANT I'm building the TemplateURL dynamically. "TemplateURL" : { "Fn::Join" : ["", [ { "Ref" : "TemplateURL"}, "substack.template" ]] } I'm running a CloudFormation template in the AWS ...
1
vote
1answer
41 views

How do I associate an ElasticIP to an API Gateway in AWS?

I'd like to have an API gateway to act a proxy that talks to an External API (let's call it E-API) with an attached token, on behalf of my AWS resources (Lambda, EC2 etc). But E-API only accepts ...
-2
votes
1answer
40 views

Cost diff between manual docker on ec2 and ECS

I have two ways of running docker on AWS Ec2 instance and manually installer docker there use ECS I tried using ECS and saw that it also defined many other services like vps, gateway subnet , ...
0
votes
2answers
38 views

how i can change AWS ubuntu ec2 shell prompt name

When we connect to aws ec2 instance using ubuntu server, after login I see the following prompt at the bash shell ubuntu@ip-xx-xx-xx-xx Is there there a way I can change that text without effect any ...
0
votes
0answers
9 views

System generated user id in CloudWatch logs

I am checking logs in cloudwatch to see who last deployed to our EB instance and when. To do this, I am filtering the API Activity History by resource name. In the list of actions I see ...
1
vote
1answer
29 views

Unable to connect to EC2 instance from another instance

I recently added a service on server A that needs to be accessed from server B. The service is listening is on port 8182 and is operating normally: [ec2-user ~]$ sudo netstat -tnlp | grep 8182 tcp ...