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

Where to get proper `region name` and `output format` for AWS configuration?

I'm trying to get log events via my aws server. I log into the server as usual, and then I enter the following command: sudo aws logs get-log-events --log-group-name <myLogs> ...
0
votes
1answer
13 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
26 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
8 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
26 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
19 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 ...
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 ...
2
votes
1answer
16 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
votes
0answers
14 views

AWS EC2: Switch Instance when status check fails [on hold]

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
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
2answers
39 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
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
25 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 ...
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 ...
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, ...
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
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 ...
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
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 ...
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 ...
-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 ...
-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
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 ...
-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 ...
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 ...
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 ...
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 ...
-2
votes
1answer
27 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. ...
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. ...
0
votes
0answers
28 views

Instance keep losing status check

This is really scratching my heads off, not sure one of our instance running via AMI 'CentOS 7 -x86_64- with Updates HVM-7 2014-09-29' is keep losing its status check and the machine becomes ...
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 ...
0
votes
1answer
22 views

Elastic Beanstalk S3 access via .ebextensions

I have a simple file in my .ebextensions folder: 00-myconfig.config Resources: AWSEBAutoScalingGroup: Metadata: AWS::CloudFormation::Authentication: S3Access: ...
-2
votes
1answer
29 views

Best Practice for OS Patching for Ubuntu on AWS. [on hold]

I was wondering if someone can help me by sharing knowledge on Ubuntu OS patching over AWS. I tried to find it on Ubuntu documentation but my bad,I didn't get any relevant post there. Wondering if ...
0
votes
0answers
9 views

scp causes all other traffic through router to stop? [migrated]

Not sure what I'm seeing here, but when I scp a file through a bastion host into an AWS EC2 server, all other traffic through my home router (Asus RT-AC66R) stops. The mac laptop doing the scp-ing ...
0
votes
1answer
21 views

AWS Elastic Load Balancer HTTP health check ping not reaching Rails application server

I have just inherited a Ruby + Rails application running on AWS Elastic Beanstalk, and it is currently using TCP for the Elastic Load Balancer health check. I wish to switch to HTTP, and actually hit ...
0
votes
1answer
41 views

AWS connect to private subnet instance without going through NAT

First of all, I know this is not something you should always do but for now It would save many hours if it were in fact possible. I am able to do the following: ssh (with .pem) -> NAT -> ssh ...
0
votes
0answers
30 views

Why is my AWS instance's private IP outside of the subnet's range?

I'm trying to launch an instance with the private IP address 172.31.32.101 using Terraform in my default VPC (CIDR 172.31.0.0/16), in the eu-west-1a subnet that has the CIDR 172.31.32.0/20. I can ...
0
votes
1answer
13 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 ...
1
vote
3answers
24 views

auto-attach EBS volume to a Spot instance

I need some persistent storage across spot terminations. My approach to solve the problem is Write a startup script that attaches and mounts the persistent volume Snapshot this state and register ...
2
votes
1answer
41 views

Jenkins CI Master-Slave setup with docker for slave server

So I have setup up two Ubuntu AWS Instances (a small t2.medium and a big r3.large). The t2.medium has Jenkins CI installed on it and the r3.large has docker engine installed on it. The intention here ...
0
votes
1answer
27 views

when to use NFS for web app

I am currently building a simple webapp architecture on AWS, as follow: Elastic Load Balancer - multiple front ends - RDS database. I have also set up an NFS server to store all images uploaded by ...
0
votes
0answers
12 views

How to create an AMI excluding all attached volumes for all instance within VPC using shell script

I have written script to find instance-id from VPS n create AMI of each instance-id : #!/bin/bash #Script to Automate AMI backup echo "----------------------------------\n `date` ...