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
1answer
48 views

Confusion about Amazon EC2 and S3

Planning to host a PHP website with MySQL DB in Amazon Web Services, which AWS components should I choose? The website is just a dynamic website with a custom CMS, though a large amount of data are ...
0
votes
1answer
139 views

How to run a Parse Live Query Server (Web Sockets) behind an AWS Load Balancer?

ParseLiveQuery depends on Websockets. More generically this question could be about getting web sockets to work behind an AWS ELB. I'm using the new Parse Server configured in AWS using Elastic ...
2
votes
1answer
43 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
36 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 ...
0
votes
1answer
32 views

Using Cloud Formation can i migrate existing VPC from one amazon account to another

I want to migrate existing VPC, subnets, routetables etc from current amazon account to another amazon account using cloud formation. How can i do this?
0
votes
1answer
41 views

How to implement a VPN with AWS Virtual Private Cloud?

I need to create a VPC with some web services, so that I can connect directly using a VPN connection from my desktop computer. After some researching, I found this tutorial about implement the VPC ...
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. ...
0
votes
0answers
16 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 ...
0
votes
2answers
57 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
29 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 s3://...
0
votes
2answers
21 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
1answer
37 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, ...
1
vote
1answer
312 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
65 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
0answers
48 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, ...
1
vote
1answer
25 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
0answers
15 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
25 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 (10.8....
0
votes
2answers
60 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
1answer
22 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
1answer
37 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 ...
2
votes
1answer
48 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 ...
0
votes
1answer
21 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
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 ...
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 ...
2
votes
1answer
44 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 ...
2
votes
1answer
56 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, ...
1
vote
1answer
44 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
1answer
36 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
17 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
25 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
35 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 ...
1
vote
1answer
53 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 ...
0
votes
1answer
90 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
43 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
41 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 {Register/...
1
vote
1answer
30 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 ...
0
votes
1answer
21 views

AWS autoscaling triggers

I am going to move a very big wordpress website (in terms of DB) to AWS. And I would like to understand the autoscaling triggers in order to find the best balance between costs and performance. Are ...
-1
votes
3answers
53 views

Permission denied (publickey) for my AWS EC2 instance from another computer

I have a public key file say dummy.pem and i copied this to another computer from where i need to access my EC2 instance. But it says @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ ...
0
votes
1answer
143 views

ningx directory (21: Is a directory)

I'm trying to configure nginx on aws linux. I can get it working for one site, but when I try to add another I continually receive the following error: nginx: [crit] pread() "/home/ec2-user/public/...
0
votes
0answers
50 views

No Reachable Server Error when migrate our parse app using mongodb URI

am using mongodb version 3.0.11 on ubuntu server, but when I migrate our existing parse app in aws for production, after installing mongodb on ubuntu server when click on migrate button after changing ...
0
votes
1answer
158 views

How to connect to OpenVPN clients from LAN 'members'

Working on a IoT type of thing, I want to connect some devices "in the wild" to servers in AWS through OpenVPN on an EC2 instance. So far I have been able to set up an EC2 instance configured as an ...
2
votes
3answers
96 views

Do AWS Servers need fail2ban?

I saw that while I was creating my AWS instance I opted for only my IP address being able to access my server. Also There is a RSA key that is configured for you. In this case do I really need ...
1
vote
0answers
25 views

fast backup script in linux

I have a server with more applications and do normal shell command to take backups. it took couple of days to complete. Tried to install duplicity. but its told some packages are not found. its Debian ...
0
votes
3answers
45 views

How to add IP to EC2 firewall

We run a number of different servers that are hosted in a local data centre however our Dev server is hosted on AWS and I'm having trouble accessing it. The EC2 server is running a LAMP stack, I can ...
0
votes
1answer
35 views

AWS ELB health check fails on LDAP authentication

I am running a Docker container through ECS. The container runs an Apache server hosting a simple web application. However, the server requires LDAP authentication to access the page. I am using a ...
1
vote
2answers
96 views

How to control which ethernet interface Windows selects when resolving fully-qualified domain machine names?

I have a VM in AWS. I has two ethernet interfaces, which have different security groups applied to them. One of those security groups white-lists all sorts of machine addresses in my domain. When ...
0
votes
0answers
149 views

can not ftp to aws ec2 server having just setup vsftpd on Ubuntu

[[ SEE UPDATE AT BOTTOM ]] I just created a new ec2 instance in AWS. It is running Ubuntu. I needed to create FTP access for a user. I followed the directions here: http://www.krizna.com/ubuntu/...
0
votes
1answer
83 views

What does ElasticBeanstalk error “Application version is unusable and cannot be used with an environment” mean?

I'm attempting to deploy a .NET application to ElasticBeanstalk using the AWS-cli tools. First upload then create version using: aws elasticbeanstalk create-application-version --application-...