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
2answers
36 views

How to get the public DNS of an instance from another instance?

Suppose I have launched 5 EC2 instances. What is the easiest way to get the DNS and ip's of all the instances from a particular instance's terminal?
0
votes
0answers
20 views

How can I set akamai failover configuration?

I am using akamai for our cdn(for static and some dynamic contents). I want to use failover configuration over akamai. In code level I am running a service which work as asynchronously for response ...
0
votes
0answers
142 views

IPSec Tunnel AWS VPC <-> openSwan CentOS 6.6 Tunnel up, no traffic

I managed to get a tunnel up between a CentOS 6.6 box and our AWS VPC. It shows as connected on the box, and in AWS, but the problem is routing the traffic from the server. Everything I've tried ...
0
votes
0answers
23 views

AWS and security groups as inbound

I would like to do the following but it never works: nginx load-balancer ec2 server (sec group sg-1111) inbound - port:80 - all traffic application ec2 server inbound - port:9000 - sec group sg-1111 ...
0
votes
0answers
29 views

AWS AMI Add “create volume” permissions to the following associated snapshots when creating permissions

What does the significance of the Add "create volume" permissions to the following associated snapshots when creating permissions indicate when we share an AMI to a different account ? Can this be ...
0
votes
1answer
68 views

ec2-automate-backup-awscli.sh - Purging is not working?

I have recently implemented a script that creates snapshots of my volumes. I run this script via a cron job which works very well except for the part that deletes snapshots. When I run the command to ...
4
votes
1answer
73 views

What do the default opsworks cookbooks actually do?

The company I'm working for is making a move to AWS and so I've been given the opportunity to start investigating the various services they provide. OpsWorks looks really go for rolling out mass ...
0
votes
3answers
158 views

Is it possible to create a VPN link between AZURE VNET and AWS VPC?

As I found solutions on making site-to-site VPN between Azure and AWS using a software VPN server, I'm asking myself if it's possible to connect the VPN gateways (Azure VNET / AWS VPC) directly. Is ...
0
votes
1answer
36 views

Host entry not working with an elastic ip on aws ec2 instance

I've set up Magento web on an aws ec2 instance for development & testing. I was able to access it by putting a host entry on my local machine using the public IP. But then I changed it to an ...
-1
votes
2answers
42 views

AWS create an alias for my EC2 instance IP

I'm not expert in anything related with networks. I've reasearched through Internet but I'm not able to get with the solution for what I need. It's simple. I've bought a domain in GoDaddy.com and ...
3
votes
1answer
91 views

How does nginx distribute traffic among IPs associated with an upstream DNS name?

With this configuration: upstream some_upstream { server some-elb.us-east-1.elb.amazonaws.com:80; } If some-elb.us-east-1.elb.amazonaws.com maps to 2 IP addresses, how will nginx distribute ...
2
votes
1answer
43 views

AWS EC2 snapshots - how long should they be retained? [closed]

How long should daily EBS-backed EC2 snapshots be retained? We're using ec2-automate-backup to backup (daily) two EBS volumes - OS and data - pertaining to a web application. If I've understood, in ...
0
votes
0answers
28 views

what is the correct runlevel for “Stop” in ec2?

I am trying to make a script to gracefully shutdown some application servers, I put the scripts in /etc/rc0.d but when I stop the ec2 instance on amazon, it won't call my script. what is the correct ...
-1
votes
1answer
116 views

Use Apt Inside AWS VPC Without NAT Instance

I have several Ubuntu machines inside VPCs. For many of them, the only network access they need whatsoever is for "apt-get update && apt-get upgrade" and NTP. For NTP, I can simply have an NTP ...
0
votes
1answer
16 views

AWS forward request between private instances

I have a public subnet holding AWS ELB which forward its requests to a private EC2 instance. Is there a way I can forward the request from my private EC2 request to another private EC2 instance? In ...
0
votes
1answer
66 views

How best way to rsync from aws s3 to gcloud?

I must execute a rsync ( not only copy or move ) from all my buckets from s3 to google cloud. I need create the same infraestructure of s3 to google. I have like 2Tera in s3, and all days I receive ...
0
votes
1answer
18 views

Amazon AWS EC2 transaction/event log?

If someone terminates an instance, is there a log kept that would show when and what the instance ID and tag/name was?
1
vote
0answers
34 views

Load balancer DNS Setting in AWS [closed]

I am very new to AWS. I installed zimbra server in EC2 instance and created a load balancer for auto scaling policy. I registered my DNS on net4u.in as my public DNS server. After creating load ...
0
votes
1answer
79 views

How can I use the apache2 cookbook from supermarket.chef.io in AWS OpsWorks?

I have a cookbook that is setting up some simple apache configuration and I am using the apache2 cookbook from SuperMarket. I'm trying to run my cookbook's recipes using AWS OpsWorks with Chef ...
0
votes
0answers
103 views

AWS security group egress rules for S3

I manually created a new security group using the AWS CLI. I created ingress rules that allow incoming connections only from my company's public IP address using the known ports for SSH (22) and ...
0
votes
1answer
27 views

EC2 connectivity with EBS

I am new to AWS this might sound like a weird question.My question is when I try to create a new EBS volume and try to attach it with running EC2 instance,The connectivity between two(EC2 instance --> ...
0
votes
1answer
41 views

what happens if a file is modified while it is being copied over the network?

A bit of background... We run Redis on several EC2 machines running the Amazon Linux distro (seems to be based on Centos to me) and currently utilize both the RDB and AOF backups. These files are ...
0
votes
2answers
187 views

Strongswan VPN tunnel between two AWS instances won't connect

I am trying to set up a VPN tunnel using StrongSwan 5.1.2 between two Amazon AWS EC2 instances running Ubuntu 14.04.2 LTS. Prior to using StrongSwan, I used open(libre)swan on an Amazon RedHat AMI, ...
3
votes
3answers
70 views

AWS Cloudformation and manual changes

I can't seem to find any documentation about what happens when you manually mess with Cloudformation's objects. I see it tags its objects, but does it recover if, say, someone deletes a routing rule? ...
0
votes
1answer
113 views

Connecting to mongodb on AWS EC2 using java

I am trying to connect to mongoDB on an EC2 instance using java. I am able to connect to the EC2 instance using putty after converting the .pem file into the .ppk file.In case of connecting with java ...
1
vote
1answer
121 views

AWS Route53 Geo Location with Failover

What I currently have is the following EC2x2 Instance in Tokyo (1 Proxy 1 Application) EC2x2 Instance in Singapore (1 Proxy 1 Application) With another another provider we have geo dns, so Tokyo ...
0
votes
0answers
23 views

mysql-ha in cloud failover

we have mysql linux 5.6 databases in AWS EC2 and we like to implement a multi region HA solution so we have no downtime and can fail over, what steps tool strategy you suggest?
-1
votes
1answer
38 views

can I keep company-purchased IP addresses when migrating to AWS (or other hosted service) [closed]

We currently run our own data center and want to migrate to AWS. Because we send a lot of email, we want to retain the IP addresses that we have purchased (they have a good reputation with ISPs) Will ...
0
votes
1answer
53 views

Is S3 a proper choice to keep live linux user home directories?

We are building an RDP cluster using Amazon EC2/S3. Users' home directories are on S3 (single bucket) and all EC2 nodes mount the same S3 bucket using S3FS. Each EC2 node uses the appropriate home ...
0
votes
1answer
53 views

Why does port 6379 need to be opened on the security group for elasticache?

I made a redis cluster and created a new security group called cache-access. If I ssh into an ec2 server and try to access a cache node, it works if two conditions are met: ec2 server belongs to ...
0
votes
1answer
72 views

Can I use an IAM role to grant my Heroku app access to my Amazon S3 bucket?

Heroku: Using AWS S3 to Store Static Assets and File Uploads suggests using my AWS security credentials to enable my Heroku app to access my Amazon S3 bucket. However, isn't it better practice (as ...
0
votes
0answers
26 views

AWS deployed mongodb not connecting through node JS driver

I have a weird problem. I was able to connect mongodb through node JS drivers two days back. Suddenly I am getting connection time out. Mongodb is installed on Amazon AWS. I am able to connect mongodb ...
0
votes
0answers
11 views

How to handle physical assets with WordPress and AWS Auto-Scale Groups [duplicate]

I have a somewhat typical Auto-Scaling Group in AWS. As shown below, I have an ELB routing traffic to a simple ASG with a static RDS instance. A _______________ ELB -> S | EC2, ...
1
vote
1answer
30 views

AWS EC2 instance synchronise Load balancer

I am in the process of deploying a production environment for a website, It runs on AWS. This includes a private VPC with a load balancer and a single EC2 instance running Debian 8.1 However, in ...
1
vote
1answer
77 views

Run EC2 instance into specific non-default VPC in random subnet

I have a problem and I expect that someone help me. I'm working with AWS and I have 2 VPC. The default VPC an another VPC created by me. Each VPC has 3 subnets in differents AZ (eu-west-1a, ...
0
votes
1answer
66 views

Connecting two AWS VPC Regions of the same CIDR range

Let say I have two VPC's (VPC-A with 10.50.0.0/16 and VPC-B with 10.50.0.0/16) in AWS with same conflicting/overlapping CIDR ranges in my AWS account. I already have the two VPC's fully functional ...
1
vote
1answer
40 views

Does VPC provide any benefits if I am only using RDS and S3 [closed]

I have my web service running on a proprietary VM (Azure) instead of EC2 instance. But I am still using Amazon's RDS and S3 to store data and serve static and media files. In my case, is there any ...
0
votes
1answer
59 views

AWS/Route53/S3: Redirecting www.example.com to example.com works. Redirecting example.com to www.example.com doesn't

To set up a static site on S3 with DNS on Route53, we have two options. If we want the users to type www.example.com and have that auto-replaced in the address bar by example.com, we would do the ...
1
vote
1answer
36 views

Is it free to use Amazon Cognito to authenticate users?

According to Amazon Cognito Pricing, performing sync operations and/or using sync store space costs money. But, what if I just want to use Amazon Cognito to authenticate users so that they can access ...
0
votes
0answers
108 views

AWS VPC: Windows server 2012 R2 GRE tunneling to Linux based Peer VyOS

I am asking this question after having spent some time googling and trying to work out some issues which I have with a Windows GRE tunnel in our 2nd environment (amazon AWS VPC) to a router in our ...
0
votes
1answer
37 views

Running post-deploy and post-scale scripts on Azure

Coming from AWS Elastic Beanstalk, I'm familiar with the scripts.config file that allows me to specify commands to run after deploy as well as just after new scaled instances are created. Is there an ...
0
votes
1answer
64 views

AWS VPCs + VPN between regions. How does DNS work?

When using a VPC on AWS DNS is handled in a neat way whereby any requests for the external DNS name for an instance in the VPC resolves to the local/private IP address of the node. This is useful ...
0
votes
1answer
52 views

AWS IAM Administrator and Developer

Creating an Administrators Group Using the Console advises not to grant an access key to the IAM user I create for myself, intending, I'm guessing, to grant least privilege. However, in addition to ...
0
votes
3answers
48 views

How to account traffic on CentOS Linux?

I have an EC2 CentOs instance on AWS with nginx that has been pumping out major outgoing traffic, which of course is pumping up my monthly cost. How can I track down what is sending so much data?
0
votes
2answers
125 views

Using MySQL with Ejabberd

I'm trying to integrate MySQL into Ejabberd but I'm constantly facing problem with it. I'm working in AWS EC2 environment and I have 1 EC2 instance that has MySQL, Ejabberd and latest Erlang (Version ...
1
vote
1answer
56 views

Amazon AWS with CentOS 6 HVM: password required with SSH

I am having some strange authentication issues when trying to spin up an Amazon instance using CentOS 6 HVM. For some reason, whenever I spin one up using a security group and a key / pem pair, I ...
1
vote
1answer
124 views

Best practice for managing AWS SSH .pem files within team [duplicate]

We are running a number of environments on EC2 using VPC. In each VPC we have a hardened bastion host configured which is used as the initial SSH entry point into the network. To access hosts within ...
0
votes
1answer
78 views

Custom kernel options for Amazon Linux 2015.03

I've been attempting to build a custom kernel for the 2015.03 release with CONFIG_HOTPLUG_CPU disabled. Following a bunch of threads on this forum and elsewhere I've been able to build a new kernel ...
0
votes
1answer
26 views

AWS EC2: Cannot access anything remotely except ssh

I'm quite new to Amazon EC2 and I have a weird problem. I create an ec2 instance, and setup .pem keys to access it with the ssh -i key.pem ec2-user@publicip. Then I do a yum update and try to install ...
0
votes
1answer
38 views

AMI Without Reboot on AWS EC2 on a Web Server

I am running a webserver with very little writes (apart from log files). According to amazon: When enabled, Amazon EC2 does not shut down the instance before creating the image. When this option ...