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
1 answer

How to programatically find all my AWS account's limits?

I'm looking for a way to see all our AWS account limits (e.g. maximum number of buckets in each region, maximum number of ELB's etc) in one location. I found the page at http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html, but this…
Capt. Crunch
  • 839
  • 2
  • 12
  • 25
3
votes
2 answers

Cloudformation ELB Cloudwatch Alarms InsufficientData

I have setup a bunch of cloudwatch alarms for my service using cloudformation. All my alarms work except for the ELB alarms. They always just show insufficient data. I can go into the console and setup the alarms manually but I want to be able to…
3
votes
2 answers

Running crontab on AWS auto scaling group

I have the following setup: 1 server with application X, that runs a crontab once an hour. The crontab connects to the database and runs some heavy calculations and exports data to a special data file and restarts the application. The export can run…
dobber
  • 31
  • 1
  • 4
3
votes
1 answer

Serving a S3 static website from a naked domain, without migrating to AWS Route53

I'm working on a site that I'd like to serve from a naked domain like foo.com, and serve it from AWS S3'. However, the documentation I can find with AWS gave me the impression that if I want to do this, I'll need to move move all my DNS over to…
3
votes
1 answer

Unable to mount EBS drives to an Ubuntu box using AWS CloudFormation (UserData not working)

I have an otherwise working CloudFormation template that creates an AWS instance 2 EBS volumes. The volumes are visible on the machine via lsblk. I am just having trouble getting them formatted and mounted. It's as if the UserData script is not…
3
votes
5 answers

Unable to use AWS CLI in Jenkins due to "Unable to locate credentials" error

I am using Jenkins for CI. I need to be able to pull a file from an S3 bucket. Inside the jenkins job I do the following diagnostic from the jenkins shell: cd ~ this takes me to /var/lib/jenkins whoami this returns the user jenkins inside…
Joel Joel Binks
  • 175
  • 2
  • 2
  • 8
3
votes
2 answers

How can I place a Webserver in a private subnet in AWS and open it to the world on port 80

I am trying to setup a highly available AWS Magento deployment. There is a reference deployment here: http://docs.aws.amazon.com/quickstart/latest/magento/architecture.html Based on this, I want to build my own and I like his idea where only the NAT…
Ali
  • 290
  • 4
  • 10
3
votes
1 answer

How to set hostname with salt-cloud command

I am using salt-cloud to create new aws instances: salt-cloud -p base_ec2_micro test.mydomain.com However, the instance gets its ip as hostname. What can I do to set the fqdn as hostname? Thanks
Cramix
  • 115
  • 10
3
votes
0 answers

AWS: RDS + CloudFormation – VPC peering

So here's my situation: We are a young startup scaling up and we decided to give Mesosphere DCOS Community edition a try. The community edition deploys a stack of Masters, Slaves and LB's over AWS CloudFormation using a template. (our…
Ashesh
  • 233
  • 2
  • 13
3
votes
2 answers

Creating AWS VPC Endpoints with CloudFormation

I'm currently looking into automating the creation of VPC endpoints within our stack using CloudFormation (The purpose is so that our stack can access S3 without creating outbound traffic). The problem is, I can't seem to find any documentation…
3
votes
3 answers

AWS credentials not working - ~/.aws/credentials

I'm having a problem with my AWS credentials. I used the credentials file that I created on ~/.aws/credentials just as it is written on the AWS doc. However, apache just can't read it. First, I was getting this error: Error retrieving credentials…
Ana
  • 31
  • 1
  • 1
  • 2
3
votes
1 answer

S3 Static Website hosting - restricting access from IP Range

Is there way by which can we enforce the access only from a Particular IP Range for S3 Static Website hosted site ?
3
votes
1 answer

What benefit is there to using Vagrant for AWS resource management when using Ansible for provisioning?

I understand that Vagrant is a tool to create and manage virtual machines; and that Ansible is a tool to configure one's machines (virtual or otherwise). However, Ansible's AWS modules are capable of creating and managing AWS resources—combined with…
3
votes
1 answer

DNS entries for AWS Website and GoogleApps Mail

I need some help sorting out my DNS entries. I have a domain, lets say it's somecompany.com Off this domain I have a website on AWS Cloudfront, which should be accessible via www.somecompany.com & somecompany.com I also have Google Apps setup for…
user3188040
  • 307
  • 1
  • 3
  • 8
3
votes
2 answers

Connection from outside refused to webserver on EC2

I can ssh to my EC2 instance and start a web server on it: $ ssh -i ~/AWSKeyPair1.pem ec2-user@54.210.10.190 Last login: Mon Jul 20 18:50:58 2015 from 72-21-196-64.amazon.com __| __|_ ) _| ( / Amazon Linux AMI …
scubbo
  • 193
  • 2
  • 9