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

Is S3 a proper choice to keep live linux user home directories?

We are building an RDP cluster using Amazon EC2/S3. Users' home directories are on S3 (single bucket) and all EC2 nodes mount the same S3 bucket using S3FS. Each EC2 node uses the appropriate home ...
0
votes
1answer
26 views

Why does port 6379 need to be opened on the security group for elasticache?

I made a redis cluster and created a new security group called cache-access. If I ssh into an ec2 server and try to access a cache node, it works if two conditions are met: ec2 server belongs to ...
0
votes
1answer
22 views

Can I use an IAM role to grant my Heroku app access to my Amazon S3 bucket?

Heroku: Using AWS S3 to Store Static Assets and File Uploads suggests using my AWS security credentials to enable my Heroku app to access my Amazon S3 bucket. However, isn't it better practice (as ...
0
votes
0answers
11 views

AWS deployed mongodb not connecting through node JS driver

I have a weird problem. I was able to connect mongodb through node JS drivers two days back. Suddenly I am getting connection time out. Mongodb is installed on Amazon AWS. I am able to connect mongodb ...
0
votes
0answers
11 views

How to handle physical assets with WordPress and AWS Auto-Scale Groups [duplicate]

I have a somewhat typical Auto-Scaling Group in AWS. As shown below, I have an ELB routing traffic to a simple ASG with a static RDS instance. A _______________ ELB -> S | EC2, ...
1
vote
1answer
23 views

AWS EC2 instance synchronise Load balancer

I am in the process of deploying a production environment for a website, It runs on AWS. This includes a private VPC with a load balancer and a single EC2 instance running Debian 8.1 However, in ...
-1
votes
0answers
46 views

Exploring Amazon Web Services. What I need and DDoS Protection

I am currently running my website on a VPS from Linode (Linode 4096). I have a full LAMP stack running on the server with a large and very active MySQL DB. The website receives about 4 M hits per ...
1
vote
1answer
37 views

Run EC2 instance into specific non-default VPC in random subnet

I have a problem and I expect that someone help me. I'm working with AWS and I have 2 VPC. The default VPC an another VPC created by me. Each VPC has 3 subnets in differents AZ (eu-west-1a, ...
0
votes
1answer
31 views

Connecting two AWS VPC Regions of the same CIDR range

Let say I have two VPC's (VPC-A with 10.50.0.0/16 and VPC-B with 10.50.0.0/16) in AWS with same conflicting/overlapping CIDR ranges in my AWS account. I already have the two VPC's fully functional ...
1
vote
1answer
37 views

Does VPC provide any benefits if I am only using RDS and S3 [closed]

I have my web service running on a proprietary VM (Azure) instead of EC2 instance. But I am still using Amazon's RDS and S3 to store data and serve static and media files. In my case, is there any ...
0
votes
1answer
26 views

AWS/Route53/S3: Redirecting www.example.com to example.com works. Redirecting example.com to www.example.com doesn't

To set up a static site on S3 with DNS on Route53, we have two options. If we want the users to type www.example.com and have that auto-replaced in the address bar by example.com, we would do the ...
1
vote
1answer
27 views

Is it free to use Amazon Cognito to authenticate users?

According to Amazon Cognito Pricing, performing sync operations and/or using sync store space costs money. But, what if I just want to use Amazon Cognito to authenticate users so that they can access ...
0
votes
0answers
47 views

AWS VPC: Windows server 2012 R2 GRE tunneling to Linux based Peer VyOS

I am asking this question after having spent some time googling and trying to work out some issues which I have with a Windows GRE tunnel in our 2nd environment (amazon AWS VPC) to a router in our ...
0
votes
1answer
17 views

Running post-deploy and post-scale scripts on Azure

Coming from AWS Elastic Beanstalk, I'm familiar with the scripts.config file that allows me to specify commands to run after deploy as well as just after new scaled instances are created. Is there an ...
0
votes
1answer
39 views

AWS VPCs + VPN between regions. How does DNS work?

When using a VPC on AWS DNS is handled in a neat way whereby any requests for the external DNS name for an instance in the VPC resolves to the local/private IP address of the node. This is useful ...
0
votes
0answers
21 views

How can I secure an insecure Meteor by using Nginx?

I have an insecure Meteor running on AWS. For those not familiar with Meteor, that means I am using the "insecure" package, which trades security for rapid prototyping. I only need our development ...
0
votes
1answer
31 views

AWS IAM Administrator and Developer

Creating an Administrators Group Using the Console advises not to grant an access key to the IAM user I create for myself, intending, I'm guessing, to grant least privilege. However, in addition to ...
0
votes
3answers
43 views

How to account traffic on CentOS Linux?

I have an EC2 CentOs instance on AWS with nginx that has been pumping out major outgoing traffic, which of course is pumping up my monthly cost. How can I track down what is sending so much data?
0
votes
1answer
52 views

Using MySQL with Ejabberd

I'm trying to integrate MySQL into Ejabberd but I'm constantly facing problem with it. I'm working in AWS EC2 environment and I have 1 EC2 instance that has MySQL, Ejabberd and latest Erlang (Version ...
1
vote
1answer
29 views

Amazon AWS with CentOS 6 HVM: password required with SSH

I am having some strange authentication issues when trying to spin up an Amazon instance using CentOS 6 HVM. For some reason, whenever I spin one up using a security group and a key / pem pair, I ...
1
vote
1answer
69 views

Best practice for managing AWS SSH .pem files within team [duplicate]

We are running a number of environments on EC2 using VPC. In each VPC we have a hardened bastion host configured which is used as the initial SSH entry point into the network. To access hosts within ...
0
votes
1answer
39 views

Custom kernel options for Amazon Linux 2015.03

I've been attempting to build a custom kernel for the 2015.03 release with CONFIG_HOTPLUG_CPU disabled. Following a bunch of threads on this forum and elsewhere I've been able to build a new kernel ...
0
votes
1answer
20 views

AWS EC2: Cannot access anything remotely except ssh

I'm quite new to Amazon EC2 and I have a weird problem. I create an ec2 instance, and setup .pem keys to access it with the ssh -i key.pem ec2-user@publicip. Then I do a yum update and try to install ...
0
votes
1answer
24 views

AMI Without Reboot on AWS EC2 on a Web Server

I am running a webserver with very little writes (apart from log files). According to amazon: When enabled, Amazon EC2 does not shut down the instance before creating the image. When this option ...
0
votes
0answers
61 views

PEM_read_PrivateKey failed

I'm trying to use ssh to log in to AWS from OSX Mavericks and having a hell of a time. I enter: ssh -i ~/.ssh/filename.pem ec2-user@ec2-xx-x-xxx-xx.compute-1.amazonaws.com -v And I get this, as ...
0
votes
0answers
51 views

VPC EC2 Instances can PING each other, but not SSH

I've setup an SSH with multiple subnets. I have an instance in my public subnet (Subnet A) built from an AWS NAT AMI. I have another instance in my private subnet (Subnet B) built from a standard ...
1
vote
1answer
26 views

Cannot reach web server on a new ubuntu install on AWS

I launched an AWS instance with Ubuntu 14.04. I connected to the instance via terminal and I installed the apache2 server as follows: sudo apt-get update sudo apt-get install apache2 I made sure ...
0
votes
1answer
61 views

No space left on device error

I can no longer generate new columns in my database. My stack is below. I am new to managing my own server and am unfamiliar with Apache, Ubuntu and AWS. Currently I am receiving an error saying ...
0
votes
0answers
30 views

How can I list all users in AWS Directory Service?

I'm looking for a way to list all users in an AWS AD (small), preferably with created date (of the user). Is there any way to do this? The AWS console functionality seem somewhat limited. Maybe via ...
0
votes
0answers
15 views

Unable to connect to SSTP server in AWS

I have created a SSTP server in AWS using the following as a guide: http://blogs.msdn.com/b/notime/archive/2013/06/01/how-to-configure-windows-azure-server-2012-as-an-sstp-vpn-provider.aspx I have ...
0
votes
1answer
62 views

Linux Kernal Swap?

I'm trying to accomplish something that's a bit outside of my comfort area, and after asking around and googling without success I thought I'd try here. I'm trying to import a Linux VirtualBox VM ...
0
votes
0answers
22 views

Minimum Elastic Beanstalk policy for upload & deploy

I just created a new Elastic Beanstalk application called Chats. I then created a IAM group called Chats. Now, I want to give the Chats group a custom policy that is the most restrictive and only ...
0
votes
0answers
33 views

AWS RDS subnet/az requirement doesn't work with virtual UTM

Background: I want to put an AWS RDS instance into a VPC that has a virtual UTM as its internet gateway. Virtual UTM is an normal EC2 instance with 2 network connections, one internal, one external. ...
1
vote
0answers
25 views

Trouble creating ext4 filesystem when trying to mount EBS volume on AWS instance

I'm trying to mount an EBS volume on my AWS instance. Following Amazon's instructions, I get the following error when running sudo mkfs -t ext4 /dev/xvdf: Allocating group tables: done ...
0
votes
0answers
33 views

Need help to understand mysql error log

MySQL data bases crash/go down every ten days. I have been reading the following error log file where it says: Database was not shut down normally! "Fatal error: cannot allocate memory for the ...
0
votes
0answers
18 views

AWS ELB and forcing Https

I have an ELB which in the first place was set to forward in this way: Protocal Port Forward-Protocol Port Http 80 Http 80 Protocal Port Forward-Protocol ...
0
votes
1answer
16 views

Unifying DNS endpoint from inside and outside VPC

I have a VPC which has an autoscaling group. I want to be able to access this autoscaling group both from other servers in the VPC and externally from the company's IP. As such, I have two separate ...
0
votes
2answers
28 views

Cannot put application back into ELB: Instance has not passed the configured HealthyThreshold number of health checks consecutively

Putting the EC2 instance back into the ELB used to work 90% of the time. Unfortunately lately the deployment regulary fails with the next error: 15:51:59 TASK: [Start the app] ...
0
votes
3answers
43 views

EC2ResponseError: 401 Unauthorized using Saltstack boto_vpc module

I'm trying to create a vpc using Saltstack and boto_vpc module. This is my state: vpc_create: module.run: - name: boto_vpc.create - cidr_block: '10.0.0.0/24' - vpc_name: 'myVpc' - ...
0
votes
2answers
53 views

Amazon RDS instance and hostname resolution

I have a question about EC2 and RDS instances. I'd like to restrict connection to the database only from one particular EC2 instance using MySQL users. Security groups allow MySQL communication from ...
0
votes
1answer
48 views

Amazon Cloud Formation: Import file from S3 bucket

I am struggling to get files from my S3 bucket to my EC2 instance using cloud formation. I have the following files: "files" : { "/var/www/text.txt": { "source": ...
1
vote
0answers
28 views

Why is New-DSComputer failing to join an ec2 instance to the directory services domain?

I have a domain xyz.com in AWS Directory Service, and I am trying to join an EC2 instance to this domain using PowerShell. I can do it manually but I am trying to automate it so that when the next ...
1
vote
2answers
45 views

Is it possible to make a connection between a Linux router and AWS Direct Connect without the need of physical hardware?

We bought one Amazon Direct Connect leased line to connect our datacenter to Amazon EC2 instances. Amazon has configurations for Cisco or Juniper Hardware ...
0
votes
1answer
32 views

AWS VPC Private vs Public subnets

I'm setting up my first VPC with AWS VPC wizard and i'm having some troubles understand what type of instances should I put in a public subnet, and what type of instances in a private subnet. It does ...
0
votes
1answer
64 views

Unable to ping/ssh/telnet new EC2 linux instance

I just created a new EC2 instance. Once the instance is running and has passed health checks, I try to connect to its IP via telnet on port 22 (because SSH wasn't working I'm going to basics). I ...
1
vote
0answers
36 views

How can I chain AWS IAM AssumeRole API calls?

There are a number of AWS accounts which I don't control. I've had the account owners deploy an IAM Role, TrustingSecurityAuditor, into their accounts which grants the right to assume the ...
0
votes
0answers
29 views

How to properly configure security group at AWS?

I'm trying to reach my server's FTP-port by its Elastic IP. I've configured the security group as follows: Inbound Type Protocol Port Range Destination All traffic All All ...
0
votes
0answers
45 views

Error 499: Varnish is working how load balance Nginx Webservers

I created a solution to host a magento store with high traffic (> 500 user simultaneously) on AWS. Too often HTTP 499 error appears in the access.log the Varnish. When this happens users who have such ...
0
votes
1answer
50 views

Multiple outgoing ip amazon

We've recently been trying to migrate our "Proxy service" to Amazon Web Service for more flexibility / maybe better pricing than what we're using at the moment (multiple servers) but I'm still not ...
0
votes
0answers
16 views

find user's scp history [duplicate]

I am using an Ubuntu Server over an AWS instance. To find out the scp history on server I can check the .bash_history file cat .bash_history | grep scp But, does the server maintains a log of all ...