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

Connection / Tunnel to AWS RDS from EC2

I'm working on a website hosted in a VPC on AWS. Yesterday, we moved the mysql server from a EC2 instance to a RDS instance to allow the mysql server to perform better. So, before, when I wanted to ...
0
votes
1answer
18 views

AWS: Route 53 Configuration

I have created two instances in AWS (one is Live & other is Backup). My website is hosted on Live Instance. I have configured Route 53, Health checks & Hosted zones on default settings. Also ...
0
votes
1answer
6 views

Create Read Replica of RDS instance using java code

I was googling all the way round to find out a solution for this: Is there a way to create a read repica of an RDS instance using RDS API? I am creating an application in java which needs to create a ...
0
votes
1answer
24 views

Migrating from nginx to Amazon ELB

I'm interested in migrating from a manually managed AWS EC2 cloud with multiple webapps to AWS ELB with auto scalling. However, I'm not sure whether a single ELB will be enough to handle my ...
1
vote
0answers
17 views

Unable to connect to web server hosted in private subnet of VPC via NAT hosted in public subnet

I have hosted my android/web application on a EC2 instance in the private subnet (10.0.1.0) of my VPC. This instance has apache-tomcat installed on it, but does not have a public IP. I also have a ...
2
votes
1answer
15 views

CloudFront Distribution for Origins in Multiple Regions

Is there a way to point CloudFront to different origin servers based on location? We currently use Route53 latency-based routing to direct traffic to east or west region elastic load balancers. ...
1
vote
0answers
23 views

Advice on migrating RDS MySQL databases from one AWS account to another

I am currently planning a migration of AWS resources from one account to another. This includes several MySQL RDS instances. After some research it looks like a "dump and load" strategy is needed. My ...
0
votes
2answers
33 views

VPN access for individual users on AWS?

I have been following this guide to setup my AWS architecture, but instead of an ssh bastion host/jump box I'd prefer to use a VPN. There are lots of guides on connecting a VPC directly to a customer ...
-1
votes
0answers
14 views

AWS EC2: Switch Instance when status check fails

I have created two instances in AWS (one is Live & other is Backup). My website is hosted on Live Instance. what I want to do is, if Live instance Status check fails, then it should switch to ...
0
votes
0answers
10 views

looking for index.php while proxy_pass to s3 bucket

I am configuring my nginx proxy server to fetch data from s3 bucket in case of 502 error. This is my configuration file. error_page 502 @static; location @static{ rewrite ^/a/b /a_b break; ...
0
votes
0answers
10 views

AWS instance Status Checks remain 1/2 + Unable to SSH to aws instance

I'm new to AWS. What I want is to change my instance type from t2.micro to m4.xlarge. I stopped my running instance and then change its type from t2.micro to m4.xlarge. On starting the instance I got ...
0
votes
2answers
58 views

AWS CloudFormation give EC2 instance SSH Keys to other servers

I'm creating an EC2 instance using CloudFormation. The first thing I want to do is checkout a git repository containing puppet manifests. To do this I need an SSH key. What is the best way to get the ...
0
votes
2answers
38 views

AWS Multi ELB In One VPC

I am trying to figure out the best solution for my use case. Say I have 10 websites to host in my VPC. Each of these websites need to be behind an Elastic Load Balancer. From my understanding, each ...
0
votes
0answers
15 views

How could I reboot the ec2 instance when it's not available

I have an instance does the database task. somehow, after several days, it couldn't be accessed by ssh. I guess it runs into OOM issue. How could I auto reboot the instance by AWS service ? Any ...
0
votes
1answer
30 views

AWS Elastic IP Limitation

I am trying to figure out the best practices for hosting multiple domains within an AWS account. For example, lets say I have 20 domains to host. The Elastic IP limitation per account is 5. So I ...
1
vote
1answer
24 views

yum or apt-get does not work on amazon-aws

when I do yum, it says bash: /usr/bin/yum: /usr/bin/python2.62.7: bad interpreter: No such file or directory my aws instance details are as given below: Linux ip-72-311-15-127 ...
0
votes
1answer
13 views

Aws - Ubuntu - Cron job not running

I have a aws ec2 server with ubuntu on it. I did the following to set my cron sudo crontab -e 15,45 * * * * ubuntu /usr/bin/wget -O /dev/null https://mywebsite.com/cron/ But its not running.
-1
votes
0answers
19 views

Aws data transfer rate: $0.010 per GB - regional data transfer - in/out/between EC2 AZs or using elastic IPs or ELB [on hold]

AWS have charged me $0.09 for data transfer. below is the line from bill details which shows the data usage of 8.988 GB and charge of $0.09 $0.010 per GB - regional data transfer - in/out/between EC2 ...
0
votes
0answers
27 views

Access denied for the request of data from s3 bucket on high load

I am trying to fetch static files from s3 bucket in case of 502 error. This is how I have configured nginx for requests : error_page 502 = @static; location / { index index.php; try_files $uri ...
1
vote
2answers
1k views

Bitlocker drive encryption on AWS Windows instance

I'm trying to figure out how best to protect the data of a single Windows Server 2012 instance on AWS and according to "AWS_Securing_Data_at_Rest_with_Encryption.pdf" it says: "Encrypting Amazon ...
1
vote
2answers
141 views

How do you tag and name the EC2 Instance that was launched by an EC2 Spot Request?

I have a couple of EC2 Spot Requests that launch EC2 Instances when the price is right. I'd like the resulting instances to get tagged with a Name and Role tag so my configuration management tool ...
1
vote
0answers
15 views

linking a local windows git repository to the aws linux git server

I want to create a git server on my aws linux server so that whenever I want to update my website in the public_html I dont have to manually transfer files to the server, I want to make use of git, ...
2
votes
1answer
976 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 < ...
2
votes
0answers
16 views

AWS: Why is the bucket size on CloudWatch higher than when using S3 tools?

I use the awscli tools to verify the size of my buckets. First the S3 call (all files without versioning, just an ordinary upload): $ aws s3 ls s3://XXX --recursive --human-readable --summarize ...
0
votes
0answers
18 views

How to backup MySQL (MariaDB) database on dedicated servers to AWS (S3 Object Storage?)

We have a 180GB dedicated production server, which we currently backup daily using Percona xtrabackup to a backup server in our rack. We're looking at moving our backups (not the database itself) to ...
0
votes
1answer
12 views

Splunk aws:config sourcetype not showing in Splunk

I created the data input for AWSConfig by modifying inputs.conf file but I dont see sourcetype aws:config created under Splunk. The AWSConfig messages are sitting in the SQS queue which means Splunk ...
0
votes
0answers
23 views

Error establishing database connection WordPress - EC2 and RDS [closed]

I installed an ec2 micro instance and uploaded my WordPress files and database. Everything was working fine when I went to sleep (i.e. my site was up). When I woke up, I got 'Error establishing a ...
0
votes
1answer
32 views

AWS EC2 Instance Launch Configuration

I am trying to figure out the best way to do this on AWS. What I want to do is: I want to launch an EC2 instance using my custom AMI but on launch make some custom configurations to the environment. ...
1
vote
0answers
22 views

Xen based AMI does not boot (/dev/xvda)

Trying to create an AMI Instance Store within a xen based guest (VM: CentOS 6.6, 32 bit, PV). 'ec2-bundle-vol' only accepts /dev/xvda1 as a valid block device. If device entries are modified in ...
2
votes
2answers
25 views

Switch regions on EB CLI

The only way I know how to switch regions using the EB CLI is eb init. This feels like a hack because in addition to selection my region, I have to re-answer a bunch of questions I've already ...
0
votes
0answers
39 views

Installing Google Chrome on Amazon Linux

I am trying to install the latest version of Google Chrome on Amazon Linux using yum. As far as I can tell Amazon Linux is based on RHEL/Centos however, it doesn't look like Google support this ...
0
votes
0answers
10 views

CloudFront alias for https site

Our website is completely configured on SSL and all links of images and others are coming via https://www.example.com/.. This is one of the requirement of site Now, if I need to setup the CloudFront ...
0
votes
1answer
15 views

AWS backup on another attached drive

In AWS-EC2, I was thinking of backup my code data and database in RDS via bash script on separate attached drive on same instance. I want to do it like that way so it becomes easier for me during ...
0
votes
1answer
471 views

How to maximize AWS Default Partition Size? (NOT a duplicate) [duplicate]

Hello Ladies and Gents, I apologize if the question isn't phrased as well as it should be; it's getting late and I've been staring at this screen for way too many hours after work. My core ...
0
votes
1answer
20 views

How to secure communication even further between server and Apple notification servers?

I have a server running by Amazon, who has notification capabilities for the user (push notifications). I have the code all working and have no question about that. To make the push working I have to ...
1
vote
2answers
648 views

How to identify EBS volumes vs local volumes on running EC2 instance

On a running EC2 instance, how do I identify EBS volumes and local disks ? I would like to identify them from shell. fdisk, lsblk is not helping to pinpoint the EBS volumes only. Lets say I have ...
0
votes
0answers
16 views

rsnapshot vs EC2 EBS Snapshot

Question What are the pros and cons of using rsnapshot [on a live drive] to a separate EBS volume vs using Amazon's EBS snapshot on a live drive? Background I just moved a small single server from ...
-1
votes
0answers
38 views

Amazon EC2 DNS resolve issue

I am using Godaddy as my Domain name registrar and I want to point my Godaddy Domain name to Amazon EC2 Instance ,I have hosting at Amazon EC2 . I am using Route 53 and I created one Hosted Zone for ...
0
votes
1answer
19 views

Trouble understanding AWS storage for Bitnami ownCloud instance

I launched an ownCloud instance using a Bitnami image from here https://aws.amazon.com/marketplace/pp/B0093DDSFE on clicking through the "Continue" button, you see the next screen shown it the ...
-2
votes
0answers
17 views

How do I enable HTTPS on my Amazon Web Service? [on hold]

I am a web dev but not a system admin but I have access to the AWS console. We currently do not have the site under https but the iOS devs want some info they are requesting and it requires going ...
4
votes
1answer
129 views

Update the container of a service in Amazon ECS

What kind of approach is recommended for updating the container of a service which is running in Amazon ECS? The AWS documentation says: "If you have updated the Docker image of your application, you ...
0
votes
0answers
25 views

Server becomes unresponsive while under load

We have a server setup containing 2 webservers, a RDS MySQL cluster and a loadbalancer, on AWS. The webservers are running PHP and Nginx, and contains multiple services each. We have a service ...
-6
votes
2answers
38 views

should I buy the SSL certificate with the same domain seller [closed]

I bought a domain from godaddy. If I want to buy SSL certificate should I have to buy the SSL from godaddy ? Or I can buy the SSL certificate from any seller then applied it to the domain that I ...
5
votes
3answers
2k views

How to automatically update nginx upstream server list when aws ec2 hostname changes or increases?

I want to setup autoscaling in AWS. I don't want to use Elastic Load Balancer. Autoscalling in Amazon creates EC2 instances seamlessly during demand spikes to maintain performance, and decreases ...
-2
votes
1answer
26 views

Nit able to access Amazon instance via IP or domain name [closed]

I was able to access amazon instance via IP address, I was assigning my godaddy domain name to amazon instance using this tutorial. I did this on my amazon instance and it's been more than 48 hrs. ...
2
votes
1answer
939 views

Best failover strategy for e-mail servers on AWS to ensure high availability

We have our e-mail server hosted on AWS. Last week Amazon had a failure in their East Coast region which brought down our server along with many others. We now want to implement a failover strategy ...
2
votes
0answers
25 views

AWS keepalived backup immediately goes to MASTER

Referencing these two guides: http://awsadvent.tumblr.com/post/105141640154/aws-advent-2014-high-availability-in-aws-with ...
5
votes
1answer
132 views

How can I tell where an Amazon AWS key is being used?

I have inherited an Amazon AWS environment in which the Root account key has been widely distributed for the purposes of making backups to S3 buckets. I need to track down where the key is being ...
-1
votes
4answers
41 views

How to create connection between AWS VPC and my PC/LAN?

May be it's little bit odd, but yes i want to make connection between AWS VPC and my PC/LAN, so i can ping any EC2 instance using their Private IP. More Details: I'm using AWS Directory Service(DS) ...
0
votes
1answer
32 views

Can't access AWS ec2 instance behind elastic load balancer

I've been following lynda.com's AWS essential training and I've successfully set up an EC2 instance but when I try to put it behind a load balancer I can not access it through the ELB's public DNS. ...