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)

2
votes
1answer
42 views

What is the advantage of using a NAT plus private sub-net on AWS vs a public sub-net with locked down security groups and ACL?

My Scenario: I have an SQS queue with an auto-scaling group of EC2 workers processing messages from the queue into a database in a different region. Implied Networking Needs for EC2 Workers: Access ...
0
votes
0answers
76 views

AWS Elastic Beanstalk : Error creating an auto scaling group without vpc

I have the following error when I try to create a Node.js environment in Elastic Beanstalk : Creating Auto Scaling group named: awseb-e-neymbigw5a-stack-AWSEBAutoScalingGroup-1QX6LF04LAXUF failed ...
1
vote
0answers
57 views

Amazon AWS connection issues

I have a strange issue with my Amazon EC2 instance. I have created the following: m3.medium instance hosted in the Amazon cloud This instance runs the following a. Apache Tomcat application server ...
-1
votes
2answers
68 views

Never miss a HTTP post [closed]

I have a webservice that have a couple of "machine" clients connected to it that does HTTP post with data once in a while. The nature of the service is that I cant allow the service to loose a single ...
1
vote
1answer
63 views

Elastic Beanstalk auto scaling is adding nodes before moving app from ondeck to current

When the autoscaling rules in my group trigger the deployment of a new EC2 instance, or for example I change the instance size to simulate the behaviour the node is deployed but it is added to the ...
1
vote
0answers
24 views

How are autoscaling group termination policies combined?

When creating an autoscaling group I can choose an ordered list of termination policies for its instances. Amazon's documentation states that You can use these policies individually, or combine ...
2
votes
2answers
163 views

Chef: How do I access AWS “opsworks attributes” on an ec2 instance?

I'd like to use a chef-shell session on an aws opsworks ec2 server so I can test some environment and instance specific code I'd like to include in a custom recipe. For example, I'd like to see the ...
0
votes
0answers
20 views

Reach non existing AWS VPC subnet from IPSec tunnel

So here is my setup: VPC: 172.16.0.0/16 Subnet 1: 172.16.1.0/24 openvpn server: eth0: 172.16.1.10 tun0: 172.17.0.1 ovpn client 1: 172.17.0.6 ovpn client 2: 172.17.0.10 IPSec VPN is using ...
-4
votes
1answer
57 views

EC2 Break even point analysis [duplicate]

I'm doing capacity planning for my DR site and i'm trying to understand break-even point for Light/Medium/Heavy reserved instances vs the Ondemand. I have plotted my values on a graph as shown in the ...
0
votes
2answers
61 views

Why does postfix on AWS give me “Invalid MAIL FROM address provided”? I have production access

I'm running the postfix mail server on my AWS box. My domain is mydomain.com. I have set up virtual mapping such that emails sent myuser@mydomain.com should be forwarded to target-user@gmail.com.com. ...
1
vote
0answers
17 views

Grant CloudWatch Full Access to IAM role for specific namespace

Could not find this in the documentation anywhere — let's say I want to allow an IAM role to have full CloudWatch access but only for a single namespace of my choosing. Is this possible?
0
votes
1answer
53 views

New domain on aws elastic beanstalk

I have a nodejs app running on elastic beanstalk. I have a domain registered through GoDaddy and a cname that points to myapp.elasticbeanstalk.com. Can I point my domain to aws nameservers, instead ...
3
votes
0answers
63 views

Does AWS Elastic Beanstalk Swap Environment Url swaps environments for git push?

I have read the docs for zero downtime on aws but cant seem to understand what happens in this scenario? I have a environment running in production called 'red' I duplicate the environment as 'blue' ...
1
vote
2answers
62 views

How do I tag an Elastic Beanstalk environment when creating it with the “eb start” command line utility?

In May AWS introduced the ability to tag elastic beanstalk environments. We can't figure out how to tag an elastic beanstalk environment when we create it using "eb start." We use the "eb command ...
0
votes
1answer
41 views

Amazon Zocalo with Active Directory - can't login

I just setup a Zocalo site for my company using the active directory connect option. The Domain Controller we are connecting to is in an AWS VPC. I setup the zocalo site fine and it says active, but ...
0
votes
0answers
39 views

How to map multiple AWS LoadBalancer ports to a single instance port?

I have setup like this -- Two ports on my load balancer map to a single port on my instance (the instance checks the HTTP header and issues a HTTP redirect to the HTTPS site for any non HTTPS ...
0
votes
1answer
76 views

aws elasticbeanstalk with static public ip

For a new web application I am looking at AWS ElasticBeanstalk. I like its auto-balancing and auto-rolling updates' system as well as all the other scaling-related features. But.. I need a static IP ...
1
vote
1answer
29 views

Datastax Opscenter 5.0: Getting “InvalidGroup.NotFound” when adding node via AWS

I am getting an "InvalidGroup.NotFound" when trying to add an additional node to my cluster through OpsCenter via AWS. The existing node running OpsCenter is in the VPC and is already using the ...
0
votes
0answers
13 views

No key pair attached to the EC2 instance created by ElasticBeanstalk

After I create an application by ElasticBeanstalk, I found the key pair is not attached to the EC2 instance so that I can't access it through SSH or SFTP. Is there a way to attached a key pair for ...
0
votes
2answers
202 views

Why can't I send/receive emails from AWS Ubuntu using Postfix?

I'm trying to send/receive emails on my AWS Ubuntu box. To do so, I'm following the instructions posted by Amazon here. (I skipped the section entitled "To configure integration using a secure ...
0
votes
1answer
188 views

Where to start? Multiple Websites, same IP and port, same SSL, on Apache 2.4, Ubuntu, EC2, behind AWS ELB?

Current Situation: My company runs a number of individual EC2 instances hosting unique websites using multiple subdomains off of a common top-level domain. (abc.foo.com, and def.foo.com, for example). ...
0
votes
1answer
101 views

OpenVPN connection issue

After I successfully connect to the VPN, a TLS handshake that I believe is done for the ping (keep alive parameter) always fails, so I keep getting disconnected after a random period of time. My ...
1
vote
1answer
49 views

How to set up 2 domain name pointing to 2 different folders on the same server?

I have 2 domain names registered. I also have 1 server at AWS. (running Ubuntu) I would like to host 2 websites on my server but have no clue how to do it. I have two directories /var/www/alpha and ...
0
votes
0answers
68 views

Setting up nginx in aws rhel 7 instance, seeing 403 forbidden

So I'm trying to set-up nginx on a RHEL 7 AWS micro instance, nothing fancy just mainly for testing. Installed nginx I believe correctly sudo yum install nginx.x86_64 sudo chkconfig nginx on sudo ...
0
votes
0answers
194 views

s3fs “could not determine how to establish security credentials”

I'm trying to use s3fs to mount an S3 bucket on to a standard AWS Amazon Linux AMI (with all the necessary dependencies installed). However when following this tutorial when I run: s3fs mybucketname ...
0
votes
1answer
29 views

Switch between AWS Beanstalk accounts through the command line

I'm trying to deploy my application through AWS Beanstalk service. I have one environment setup for staging in account A and a different production environment in Account B. Is there a way to switch ...
1
vote
1answer
136 views

Understanding the use of docker on AWS instances

I've read that the basic Amazon Ami has built in docker support. There are a few things I don't understand that perhaps someone could help with. Is a VM (AWS instance) slower to boot than a docker ...
0
votes
2answers
158 views

Unable to ssh to a vagrant started ec2 ubuntu instance

After I ran vagrant up --provider=aws, I could see an ec2 instance being created and became up and running. However it will invariably stuck at this point ==> default: Waiting for SSH to become ...
0
votes
1answer
67 views

Connect with Java to Amazon EC2 instances

I have written a client-server application in Java and I want to run it on Amazon EC2 Ubuntu instacnes. The client runs on an EC2 instance and the server on one and the third EC2 instance is for ...
0
votes
1answer
119 views

Internal DNS doesn't work with CNAME

I have an internal DNS setup setup in my AWS VPC network, I just created an internal load balancer and added a CNAME record to this load balancer, but it's not working. DNS CNAME entry: db1 IN ...
1
vote
2answers
146 views

Python Script portion failing to execute within init.d/ on RedHat 6.5, why?

I've created a init.d script called rmCluster which is supposed to execute a simple python script at shutdown which uses boto to shutdown a particular cluster of servers, with 755 perms, located in ...
0
votes
1answer
33 views

AWS EC2 Ubuntu - Logging Python print statements

What is the easiest way to see "print" statements made when a Python file is executed on my AWS EC2 Ubuntu server? I have tried the aws cli, but this does not work for me.
0
votes
1answer
52 views

Sync Code Between EC2's [Rsync/SSH]

I have a variety of EC2 boxes inside an ELB, one of which is used for SVN exclusively. I currently have a script that gets called as part of the post-commit hook which is meant to sync files between ...
0
votes
0answers
43 views

Calculate AWS Data Transfer for existing on-premise server

We are looking to move our internally hosted servers to AWS. One thing I cannot seem to work out is how much data our servers are going to transmit back to our office. Anyone know of a good way to ...
1
vote
2answers
192 views

Best ways to discover servers in a public cloud? [closed]

I want to make a ubuntu server image to run in a public cloud that discovers when other servers from the same image come online. I came up with this list of solutions, but I'm not sure what is best? ...
1
vote
1answer
87 views

How can I enable outgoing HTTP/HTTPS requests on an EC2 in a public subnet within a VPC on Amazon AWS

I set up a VPC using scenario 2 from the AWS Docs: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Scenario2.html I've assigned an Elastic IP to an EC2 instance running in a Public Subnet. ...
0
votes
0answers
32 views

Check Filesystem of Root Volume (Amazon Linux / RHEL)

How can I check the file system (and repair potential errors) of the root EBS volume (/dev/xvda1) of an Amazon AWS T2 instance? The instance runs the latest version of Amazon Linux (RHEL). Is it ...
0
votes
0answers
28 views

LogFormat for AWS Elastic Load Balancer

is there anyone able to stat AWS ELB access logto Awstats? I have played a little bit to format the log but without any luck. if someone did can share how that can be achived. thanks .
0
votes
1answer
26 views

How to tell the Amazon Load Balancer which instance to use depending on the User Agent?

My application needs to serve files to an external applications that sends requests with an specific User agent. I need to keep the same domain, and keep the same request URL for both, a normal user ...
0
votes
0answers
34 views

Mounted volume is not showing in my EC2 elastic block store list

I have recently launched an m3.xlarge instance on amazon EC2 which is running Ubuntu 14.04. It came with three volumes. One 8gb volume which holds the OS data, and two 40GB data drives. When I ssh ...
5
votes
1answer
486 views

Lost passwordless sudo and no root access

I have a running AWS vm. The only access I have is using the ssh key (.pem file) to log in as ec2-user which is an unprivileged user. From there, I could user the sudo command without a password. ...
0
votes
1answer
72 views

pip won't upgrade awscli

I haven't found any references to this from Google, but I am having this issue on literally dozens of AWS EC2 CentOS instances. The awscli installs fine if it does not already exist. However, starting ...
1
vote
1answer
41 views

AWS EC2 IPTables converts source/dest subnet into ec2.internal hostname?

I have a Debian 6.0.7 x64 AWS EC2 server that I'm running a couple QEMU virtual machines on (don't ask.. long story). I have some IPTables rules to NAT/Forward any traffic (on ports 8080 and 8081) ...
3
votes
3answers
641 views

How is a private data center more secure than a public cloud?

I have customers in the financial services industry that insist that a SaaS hosted on public clouds like Amazon's are not as secure as colocation in a private data center. However, I can't find ...
0
votes
1answer
17 views

Amazon OpsWorks: Automating server startup

Using Amazon OpsWorks, is it possible to auto up and down a linux server, say for example from 4.30pm to 5.30pm ?
1
vote
1answer
23 views

How to give a permanent dns subdomain for a new ec2 instance

After an Amazon EC2 instanced is created, is it possible to give it an address like subdomain1.example.com Domain example.com is a domain purchased through route53. I search the amazon forums but ...
1
vote
1answer
249 views

AWS EC2 - No Space Left on Device

I have an EC2 instance and when I log in I get mktemp: failed to create file via template '/tmp/.colorlsXXX': No space left on device However when I do df -h I see Filesystem Size Used ...
0
votes
0answers
23 views

Assign chef roles to layer/instance

I'm trying to get the following cookbook running in OpsWorks: https://github.com/lusis/chef-logstash/ Following their documentation I have to assign roles to my server(s) to get stuff running. They ...
0
votes
1answer
49 views

How to access unreachable AWS instance?

I have an AWS instance that suddenly I've lost access both by SSH and to the web server there. I used to access by a public Elastic IP (54.76.201.91), so I know for sure that Security Groups are ok. ...
0
votes
1answer
145 views

Cannot mount an existing EBS on AWS

I tried mounting an existing EBS Storage (which has data) to an instance, but it keeps throwing this error. mount: wrong fs type, bad option, bad superblock on /dev/xvdf, missing codepage or ...