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

Amazon EC2/VPC LXC Bridge not working

On an AWS EC2 instance I like to host LXC containers as kind of virtual servers. I created a bridge (br0) containing only eth0 and gave it the private ip of my VPCs subnet. I reconfigured LXC not to use lxcbr0 as bridge, but my br0 device. When I…
devnull
  • 193
  • 5
3
votes
2 answers

Unable to add custom headers to CloudFront distribution - using s3 as backend

We are trying to put some custom headers to our cloud fount distribution, but its not working as expected. Following is the scenario. We have a s3 bucket named "example-images" with all static contents, s3 bucket is exposed for public access. Has…
vasco.debian
  • 306
  • 2
  • 13
3
votes
3 answers

How long will it take to create a new EBS volume from a 1TB snapshot?

I am taking periodic snapshots of a 1TB EBS (Amazon Web Services Elastic Block Store) volume as backup. In the case of the whole AZ (Availability Zone) becoming unavailable, my Disaster Recovery plan is to create a new EBS volume from the latest…
3
votes
3 answers

Application Load balancer for Service Segmentation Using Subdomains

Currently, I am doing service segmentation using subdomains in an existing application. For example: www.example.com -> static website delivered from s3 admin.example.com -> ELB1 to ec2 group 1 accounts.example.com -> ELB2 to ec2 group…
Jay
  • 163
  • 7
3
votes
1 answer

Prevent SSH access to instances launched from AWS AMI

We are trying to make a secured AMI for distribution to one of our customers (running Linux/CoreOS). Once our customer deploys our AMI, it is important that they cannot obtain shell access (e.g cannot SSH in). On the surface, this seems like a very…
BadApple
  • 33
  • 1
  • 3
3
votes
1 answer

Why do I need an IAM user when I can create an Instance from main account?

I don't really see why I need the IAM user. Documentation says there are two ways to access EC2. One is to create access keys for your AWS account. The other is to use IAM. Amazon recommends IAM. So I logged into the main account, and on the IAM…
Daniel Viglione
  • 173
  • 1
  • 5
3
votes
1 answer

Getting Connection error while running AWS commands in powershell in windows 2012

We have installed AWS powershell tools with the given below version. When we try to run the AWS commands we get connection error as specified below: ---- AWS Powershell version--- PS C:\Users> Get-AWSPowerShellVersion AWS Tools for Windows…
3
votes
1 answer

Permission denied errors after installing AWS CLI on Linux

After seeming to succeed in installing the AWS CLI per this page I am getting permission denied errors for basic tests while logged in as root on CentOS release 6.6 running python 2.6.6. root@hostname [~]# ./awscli-bundle/install -b…
jerrygarciuh
  • 79
  • 1
  • 2
  • 12
3
votes
2 answers

Sysprepping with packer.io returns exit 1, packer doesn't create AMI

I'm trying to build a Windows AMI with packer.io. In the powershell file I have run the following command as the last command of the provisioning step: Write-Host "Running the EC2Config.exe file to sysprep the image for UserData to run on next…
Ian Wilson
  • 226
  • 2
  • 6
3
votes
1 answer

AWS instance has port open in security group, ufw rule, but nmap says it's closed

I have configured an Amazon EC2 instance running Ubuntu 14.04.4 LTS to use only one AWS security group which has all outbound traffic open and incoming traffic limited to allow incoming TCP connections to 22, 80, 443, 5000 from anywhere. I also have…
huertanix
  • 217
  • 3
  • 11
3
votes
3 answers

Hosting options on AWS

I'm looking for options to migrate one of our applications to AWS. The application currently runs on a server that has 16cores and 256GBs of Ram and I'll be moving it to a virtual machine on AWS. If we get an R3 dedicated host with 1-year, all…
Mer
  • 991
  • 4
  • 9
3
votes
0 answers

Clarifying EC2's system log following crash

We've recently had an issue with an EC2 instance that bought down our mySQL service. I've checked the system log (AWS Console: Action > Instance Settings > Get System Log) However the output isn't self explanatory: For instance there are hundreds of…
Dan382
  • 211
  • 1
  • 3
  • 9
3
votes
2 answers

How do I prevent nginx from stripping secure cookies?

We're setting the secure flag on our cookies and nginx is refusing to transmit them because we're communicating with it over HTTP. This is perfectly understandable, as that is the expected behavior. However, in front of nginx, we run a Classic Load…
Oliver Salzburg
  • 4,635
  • 17
  • 55
  • 82
3
votes
3 answers

How can I sync files between my workstation and EC2 without having to log my EC2 in manually every time?

I want to do something that seems dead simple, but none of the options I've found are quite right (e.g. Dropbox). The question is: what cloud sync service can I use to sync a folder on my workstation with the filesystem in an EC2 instance? Note…
3
votes
1 answer

Hosting multiple Python or Django web apps - need advice on server strucutre/architechture

We have many web apps/sites. Some are fairly complex, but many of them are simple websites. Currently we host something like 10 sites in single dedicated server using nginx and uwsgi. While this is very cost effective and less time consuming to…
chhantyal
  • 221
  • 2
  • 6