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

How do I access chef “opsworks attributes” on an aws opsworks 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
8 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 ...
-3
votes
1answer
34 views

EC2 Break even point analysis

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 ...
-4
votes
0answers
9 views

AWS micro instance copy into new one [on hold]

I want to copy all from my current micro instance. I want even files in var/www/html to be copied and to launch new micro instance with all that. How to do it?
0
votes
2answers
17 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
6 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
20 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
35 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
1answer
21 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
19 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
12 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
28 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
14 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
8 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
73 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
37 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
25 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 ...
0
votes
1answer
28 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
25 views

AWS for mobile tech start-up [duplicate]

I am representing a tech start-up who are currently meeting with investors. Basically we have calculated usage statistics and our server load requirements and once we gather investment we will be ...
0
votes
0answers
26 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
50 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
23 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
66 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
36 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
31 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
52 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
90 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
18 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
31 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
29 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
184 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
33 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
13 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
17 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
0answers
17 views

is it possible to whitelist some public keys in an AWS ELB so that only those clients may connect?

is it possible to load some public SSL keys in to an AWS ELB? I only want to allow connections from certain known clients.
0
votes
1answer
23 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
19 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
465 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
21 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
19 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
613 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
16 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
19 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
69 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
12 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
29 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
37 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 ...
0
votes
0answers
30 views

aws cli tool set up - unable to connect ec2 and retrieve instance information

I am trying to use aws configure to set up the cli tool aws configure --profile work AWS Access Key ID [None]: ABCD AWS Secret Access Key [None]: 123456 Default region name [None]: Default output ...
0
votes
1answer
16 views

OpsWorks Lifecycle Events, I'm trying to understand Configure better

I have become the interim ops guy until the company I am contracting for finds one that knows a heck of a lot more than me. I'm going through our current setup for OpsWorks and our recipes. I noticed ...
1
vote
3answers
52 views

Disk Partitioning on AWS EC2

I'd like to know if it's possible to create a partioned volume and if it even makes sense to do that on an Amazon EC2 server. I have a standard Ubuntu server and I'd like to separate the /home and ...