Questions tagged [amazon-web-services]

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.

8595 questions
3
votes
4 answers

EC2 instance snapshot

In my early days as KVM admin, when I had to do a backup of a VM image, I followed the next steps: Pause the VM Snapshot LVM volume Resume the VM Copy image Remove LVM snapshot Now I've got some machines in EC2, but I'm facing a doubt: Amazon…
periket2000
  • 248
  • 2
  • 9
3
votes
1 answer

How to launch EC2 instance with preconfigured AWS Alarm

I wan't to kill a specific instance when some of it's hardware consumption metrics reaches a certain level. If i create an alarm for the scaling group (setting maximum cpu consumption threshhold to >=50 for example) it will kill the oldest instance…
3
votes
1 answer

High Mysql Connections

Having a challenge discovering why results are as they are. Perhaps missing something obvious. Sorry this isn't very specific. But if anyone has an pointers on areas to focus on that would be very helpful. Cheers. Load Test Its about 5486 writes…
3
votes
1 answer

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 Generated Cookie Stickiness' and the cookie is set as…
drox
  • 131
  • 1
  • 1
  • 4
3
votes
2 answers

Application access via AWS Load Balancer with autoscaling

I am configuring a test AWS architecture for a web application that I plan to migrate from a dedicated hosting service to AWS. What I have now is as follows : One MySql RDS, where my application data is. Two EC2 instances. This instances have the…
3
votes
1 answer

EC2 : How to assign multiple elastic IPs to a single network interface via SDK

Would anyone know how to associate multiple Elastic IPs to a single instance via the Amazon SDK ? In Ruby, I've tried to use both the aws-sdk and fog gems, which work fine for a single address, but error out trying to assign multiple. Via the Web…
jonathanserafini
  • 1,768
  • 14
  • 20
3
votes
2 answers

What is the difference between RHEL and GA release?

Can someone explain the difference between the RHEL and GA releases available on AWS? RHEL costs are about double those of the GA release and I'm wondering what that extra cost includes.
BillMan
  • 164
  • 8
3
votes
0 answers

High Performance AWS EC2 / RDS + Nginx + PHP-FPM setup

General description of the issue We're currently running an application on a PaaS type solution for PHP. Their solution is based on AWS cloud and due to the fact that their plans don't fit our scaling needs, we've decided to migrate to AWS directly…
Carvefx
  • 131
  • 1
  • 4
3
votes
2 answers

Postgresql read replication using an amazon postgresql RDS service as master

we currently are using amazon Postgresql 9.3 RDS as a master database for a gaming platform. We would like to create a read only replication to use for reporting and heavy queries. Yes, it seems like "read replica" option in amazon RDS is not…
Mo J. Mughrabi
  • 195
  • 2
  • 7
3
votes
2 answers

How to allow IAM users to setup their own virtual MFA devices

I want to let my IAM users to setup their own MFA devices, through the console, is there a single policy that I can use to achieve this? So far I can achieve this through a number of IAM policies, letting them list all mfa devices and list users…
Ali
  • 255
  • 5
  • 13
3
votes
2 answers

Unable to connect to EC2 instance after "reboot"

I am not able to connect to my m1.small instance after rebooting it. I have already associated the public IP with this instance. Upon checking the system log, this seems to be the issue: cloud-init-nonethttp://11.84: waiting 10 seconds for network…
kapeels
  • 355
  • 1
  • 6
  • 18
3
votes
2 answers

Rails app 502 with AWS Elastic Beanstalk running Puma & Nginx

I've been able to successfully get my application running on Beanstalk with Passenger, however I've had no luck with Puma. Whenever I deploy with to a Puma stack I get 502 Errors, my log files indicate that it can't find the sock file: 2014/05/15…
3
votes
1 answer

Assign a static private ip to an EC2 instance

I want my server to connect to a db server (both on an EC2 instance). How can i give the db server a static IP address to use within EC2 without using VPC?
Mersey
  • 33
  • 1
  • 3
3
votes
1 answer

aws ec2 create-tags with quotes

I can't seem to create a tag on a resource if the value contains a quote. For example: aws ec2 create-tags --resource $someResource --tags 'Key=mykey,Value={"json":"value"}' fails with: Error parsing parameter '--tags': should be: Key value pairs,…
Gary Richardson
  • 1,827
  • 3
  • 20
  • 21
3
votes
3 answers

Can you access an EC2 server from another AWS account?

If you have an EC2 server with a port open, then other EC2 servers can access it (using private IP). But, what if another AWS account hits that private IP, will they be able to access it?
Alex
  • 8,471
  • 26
  • 75
  • 99