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

Improve SSL Performance with Nginx

We have Nginx in the front of our system and we Proxy to Apache at the back. We use SSL/TLS for our connection. Question: Is Nginx the best option to terminate SSL/TLS connections in terms of ...
13
votes
2answers
2k views

How to upgrade to the latest AMI in AWS Elastic Beanstalk?

I'm running an application on AWS Elastic Beanstalk, and it looks like I need to create a new environment if I want to use the latest AMI. If I knew what the latest AMI id was, I could update it in ...
0
votes
2answers
48 views

How to migrate all AWS services (including running instance, API, Snapsorts) to its sub account with consolidate Billing?

I have one master AWS account and have linked one subaccount with it. I want to migrate all AWS services (including running instance, API, Snapsorts, user group permissions, tags, etc) to subaccount ...
0
votes
2answers
346 views

Installing testlink on Amazon EC2 instance

I have created an Amazon EC2 instance to host a testlink server with RHEL. I have successfully configured mysql client, Apache and PHP, but when I try to install it and create the DB, I'm unable to ...
3
votes
3answers
7k views

service httpd restart failure on aws amazon linux ami

Thanks for your help. I recently did the following: Ran sudo yum update on my ec2 instance running the Amazon Linux ami I then added a virtual host to my vhost.conf for a subdomain. While the server ...
3
votes
1answer
456 views

Can AWS Certificate Manager (ACM) Certificates be used on Elastic Load Balancer Instances in Regions other than us-east-1?

Amazon has recently announced their new AWS Certificate Manager (ACM) service. This looks promising, but it is currently only supported in the us-east-1 region. I have existing resources in the ...
0
votes
1answer
18 views

Improving I/O rates for EBS snapshot backed volumes

I'm working with a system that takes a set of 42 rotating daily EBS snapshots of each of its numerous (40) volumes for disaster recovery purposes. EBS volumes are aggregated into a RAID volume. A set ...
0
votes
1answer
22 views

Occasional “failed to respond” from AWS hosted Elasticsearch

We have an Elasticsearch cluster hosted on Amazon Elasticsearch Service (AWS). We are using the Jest Java HTTP Rest client for ElasticSearch. Every now and then (perhaps 1 in 10,000 requests), it ...
1
vote
2answers
2k views

Elastic Beanstalk force https

I'm having issues forcing HTTPS with a site that I'm deploying through AWS Elastic Beanstalk. It's a frontend application using EmberJS. I've been going around in circles for many days trying to ...
6
votes
2answers
3k views

How can I separate my personal Amazon account from my AWS account?

I recently enabled Amazon Web Services on my personal Amazon account, but I would like to have separate login credentials. I know that I can use IAM to create different users within AWS, but I'm still ...
2
votes
2answers
46 views

Cannot Switch To Root On AWS

I created an instance on Amazon AWS and gave it a key. When it boots I SSH into that instance as ec2-user using that key but I cannot run anything as root. If I type sudo su it asks me for a password. ...
2
votes
2answers
60 views

EC2 Persistent Spot Request keeps reviving

Earlier today I created a AWS EC2 Spot Request and inadvertently made it a persistent Spot Request. Since then I didn't need the machine and have been trying various ways of cancelling my Spot ...
0
votes
1answer
27 views

Amazon EC2 Snapshot corrupt

The snapshots for one of our AWS volumes are corrupt. We use these snapshots as backup, and in the past they have been a great help. (NB: This is not our only backup method!) A corrupt snapshot is ...
1
vote
1answer
38 views

Access S3 bucket from my EC2 instance using CF::Init via IAM role not working

I have a CloudFormation template I'm using to set up an ECS cluster and I am trying to drop some config files onto the box using CloudFormation::Init on the ASG and pulling them out of S3. ...
0
votes
0answers
13 views

AWS Cloudformation : CLI tool to render template

Given an AWS template that contains calls to instrinsic functions, and potential references parameters, is there a CLI tool that allows to pass values for the parameters, and generate the ...
0
votes
0answers
8 views

OpenNMS not running, java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException:

I basically cloned a OpenNMS machine from AWS and created a exact replica of the system. When I log into the machine and look for the status of OpenNMS i see it as stopped with the error, the error on ...
1
vote
0answers
26 views

How can I set up mongodb to scale it quickly on AWS

I want to deploy a database using mongodb on AWS, and I think this database will receive a lot of data making necessary to think on the possibility that one server is not enough, so my questions is: ...
1
vote
1answer
39 views

Unable to access Amazon EC2 Centos 6 web server with Elastic IP

I'm new to linux and AWS. What I've done: 1. I've setup a Centos 6 instance from the AWS store. 2. I just installed the web server and configured the web server with the basics. 3. I've setup the ...
12
votes
2answers
32k views

How do I set the DNS server on GoDaddy with AWS? [closed]

I have a domain name on GoDaddy and I also have an Amazon Web Services account. I have an EC2 instance and I want to change the DNS nameserver on the GoDaddy control panel to AWS and I have no idea ...
0
votes
0answers
32 views

investigate the cause of an instance reboot

I currently run an instance on AWS EC2 ( running Ubuntu 3.13.0-83-generic ), and I am trying to investigate a random shutdown event last night for which I have very little in my log files. Amazon's ...
0
votes
1answer
27 views

Can I include recipes in Chef deployment hooks?

It might just be me doing something horribly wrong, but I seem to be unable to use custom recipes in Chef / AWS OpsWorks deploy hooks: # before_symlink.rb include_recipe 'supervisor' OpsWorks ...
0
votes
1answer
45 views

pfsense ipsec vpn to amazon aws not connecting

I'm trying to set up an ipsec vpn from our DC networks to our amazon vpc, so a site2site aka network to network connection. For this I've set up pfsense 2.2.6 and gave it a public IP on a WAN ...
4
votes
2answers
2k views

Expose docker containers to vpc network

I have an ubuntu server running docker with one container. My server ip address is 172.31.12.29/20 in my vpc. It has tow bridges (docker0 ans lxcbr0). My container ip address is 172.17.0.2/16. The ...
1
vote
1answer
2k views

Open ports between Elastic Beanstalk and one EC2 instance on AWS

I currently have the following setup: An API (Node.JS) running using Elastic Beanstalk, which is currently only running one EC2 instance A MongoDB instance running on a seperate EC2 instance ...
0
votes
0answers
23 views

Elb healthcheck fails for Https

Im using a url for ELB healthcheck in AWS. This health check is working with Http:1140/<myurltoapplication> and the attached Ec2 Instance were showing as Inservice but when i use ...
-2
votes
2answers
35 views

Should I scale vertically or horizontally assuming equal pricing? [closed]

AWS instances usually have a linear pricing model: i.e. 2 small instances are the same price as one medium instance (which has exactly 2x the performance specs). So what would be the better choice? ...
0
votes
1answer
19 views

AWS: By what IP address should I reference on an EC2 instance where is running Redis?

I have 2 EC2 instances - on one is the production app, on the other one is Redis. I connect from the first one to Redis. This is how I set Sidekiq: Sidekiq.configure_server do |config| ...
0
votes
0answers
61 views

Java AWS Server: 502 Bad Gateway nginx/1.8.1

I am getting the 502 bad gateway error after uploading my application via Eclipse and I don't understand why its happening? I created a Sample Application through the AWS Elastic Beanstalk Console. ...
0
votes
1answer
28 views

Problems with GoDaddy DNS masking and html viewport

I set up a DNS masking for my GoDaddy domain so that my Amazon EC2 url wouldn't be shown to the user. Instead of the original index.html returned by Nginx the user now gets it wrapped in some GoDaddy ...
0
votes
0answers
13 views

AWS S3 “service user” for non-AWS server?

I'm setting up a server outside of AWS, but I'd like it to read and write from one of my AWS S3 buckets. I know that within AWS, best practice is to assign a role with S3 read/write permission to the ...
1
vote
0answers
43 views

curl NSS Error -12156 ssl connect error

I'm seeing the following error while running cURL on an AWS server: curl -v --insecure --disable-epsv -l ftps://foo.com/ --user "foo:bar" * Initializing NSS with certpath: sql:/etc/pki/nssdb * ...
0
votes
0answers
10 views

Receiving and forwarding mail on AWS EC2 (with Postfix)

I'm trying to configure my AWS EC2 instance to receive mail and forward it to another email address. My domain name is rogier.io and I want to be able to receive mail on example@rogier.io. I have ...
0
votes
3answers
527 views

Amazon ECS - How do you restart all Tasks of a Service?

We have a task that loads some configuration files from an external data source. After the settings are uploaded we would like to be able to restart all the tasks in a service so that the settings ...
2
votes
1answer
1k views

Jenkins publish over ssh success to connect the server but failed put file

I have a problem that when I do build to my job, its cannot put my file on the server directory in console output i get the message "ERROR: Exception when publishing, exception message [Permission ...
0
votes
0answers
55 views

OpenSwan VPN IPSEC Tunnel Connection

I was hoping this website would be able to help with solving this issue since I've been running in circles on my end! I am using OpenSwan to setup an IPSec tunnel between a VPN server on Rackspace ...
0
votes
1answer
17 views

ECS VPC and EC2 Classic, how do they talk?

say that we have a number of instances on EC2 Classic (without a VPC) and a number of instances within a VPC. The Security Group on the EC2 Classic machines allow TCP only for all the machines within ...
2
votes
1answer
1k views

Trying to install php-devel on AWS EC2 server to compile a PHP extension, but getting errors “httpd24 conflicts with httpd-2.2.27-1.3.amzn1.x86_64”

I'm trying to install php-devel on an AWS EC2 server so I can compile a PHP extension. But I get an conflits error. --> Processing Conflict: httpd24-2.4.10-1.59.amzn1.x86_64 conflicts httpd < ...
3
votes
1answer
3k views

AWS ELB session stickiness issue when multiple AWSELB cookies exist in a single request

I have two web apps - App-A & App-B - running in 2 EC2 instances (both web apps are running in both instances) fronted with an AWS ELB. The session stickiness is enabled using 'Application ...
-2
votes
1answer
27 views

Why isn't my EC2 Instance online after reboot? [duplicate]

I rebooted my Amazon EC2 Linux Instance today, though Amazon's AWS website. Now if I go to my website Safari says it can't find the server, AWS says my IP has stayed the same. What is wrong here? ...
0
votes
1answer
22 views

How do I protect a VPC from deletion?

We have a VPC with 50 EC2 servers in it. There is a VPN connection to the rest of our corporate network. How do we make sure the VPC doesn't get deleted by mistake by some script and we lose it? ...
0
votes
3answers
532 views

Amazon Linux Version Details

I am getting acquainted with AWS and I'm using Amazon Linux on EC2 to build a LAMP stack. I read somewhere on the AWS site that the AMI 2013.09 had PHP 5.5 but when I installed it and followed the ...
0
votes
2answers
129 views

How to combine AWS and dedicated external servers?

I have an extensive network of servers all currently hosted on AWS EC2. For reasons of cost I plan to gradually migrate to dedicated servers where possible. So: How can I best combine AWS and ...
0
votes
1answer
9 views

How can I install an SSL certificate using Amazon Certificate Manager to a VirtualHost?

I'm using Elastic Beanstalk and a t2.micro instance to host a few of my websites. For one of the websites specifically, I want to enable https. How do I go about doing this? I have each domain ...
0
votes
1answer
32 views

Can I point a folder hosted on AWS, to my current hosted site in Aptible?

I have a domain www.example.com (which is built with PHP/MySQL) hosted on Aptible server. Now, I am planning to create a blog with WordPress which will be hosted on AWS, and will be integrate to the ...
0
votes
2answers
23 views

amazon EC2 network connectivity setup

I have two VM's on an amazon VPC (same region/availability zone) - they have the same VPC and subnet ID. Should I be able to use the private IP address from one VM to another (as is) or do I need to ...
0
votes
1answer
26 views

How to edit response header of Amazon s3

http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html According to the above doc, for cloud-front to gzip compress files it receives from origin, the response ...
-1
votes
0answers
17 views

Creating and running docker containers cluster with Kubernetes on AWS

I Downloaded kubernetes (using the command below): export KUBERNETES_PROVIDER=aws; wget -q -O - https://get.k8s.io | bash Now I have 4 minions machine and one master machine in my aws account. I ...
0
votes
1answer
11 views

how do I disable piping aws help to the pager?

When I run aws command help it pipes the output through the pager. It has it's pros and cons; the biggest con is that once I press Q to exit, everything is gone from the screen (yes, I know, I can ...
1
vote
2answers
258 views

AWS IP Forwarding

I have an Elastic IP on AWS that I want to forward to a Public IP outside of AWS. Any ideas how I could accomplish this?
0
votes
1answer
29 views

Apache www to non-www redirect on Amazon Elastic Beanstalk

I've recently moved a simple PHP site to Elastic Beanstalk but am finding it difficult to redirect the www.example.com to example.com. It's not https which most of the suggestions I have found are ...