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

is it safe to create a snapshot of a volume of a running ec2 instance

I'm running a MongoDB Cluster on 3 Instances on AWS Each instance has 2 EBS attached to it - / [8GB] - /data [50GB] To backup a cluster MongoDB recommends to create a snapshot of the /data driver ...
0
votes
0answers
25 views

AWS VPC equivalent to CARP across multiple AZs

I'm presently trying to setup a HA MySQL environment within an AWS VPC. The basic setup will involve having a MySQL server in each of the availability zones, with one acting as master and the other ...
0
votes
1answer
36 views

Changing file permissions on AWS Elastic beanstalk environment

I have an AWS worker tier environment and I want to change file permissions so i can write logs to file. I have tried doing this in eb extensions .config file but cannot get it to work. If the ...
0
votes
1answer
16 views

mod_xsendfile on AWS Elastic Beanstalk

I realize there's no yum package for mod_xsendfile (which is a huge bummer), so I'm wondering if it's at all possible to add it via an .ebextensions config given that it needs to be downloaded and ...
0
votes
2answers
46 views

Network timeout errors with Amazon EC2 instance after first 10 minutes?

I create a new instance. Happens for both Amazon Linux or Ubuntu instances. I didn't try a windows instance. Sometimes, I can log in once via ssh(putty). I do some cd .. and ls commands but that's it....
0
votes
1answer
99 views

AWS RDS Postgres performance issue

We are using rds(postgres) with instance type as db.m4.2xlarge. Usually most of the time number of connections are 8-10. But on some occasion as the number of connections increases to 100-200. DB ...
0
votes
0answers
41 views

Elastic Beanstalk and Worker Tier? (PHP)

I'm trying to setup my app that's hosted on EB with a worker that will run some basic cron jobs to feed an RDS database with data that the app consumes. I deployed this cron.yamlat first: version: 1 ...
0
votes
1answer
83 views

AWS EC2 Describe Instances - Filtering by Multiple EC2 Tags?

I'm attempting to dynamically create a hosts file mapping with all my ec2 instance private ip's, to use as the /etc/hosts on my ec2 remote ssh server. I have instances tagged with their normal "Name" ...
2
votes
1answer
50 views

Updating AWS CLI on Ubuntu 14.04

I installed awscli on my EC2 instance using apt-get install. The version is still aws-cli/1.2.9 and no longer updates if I use apt-get upgrade awscli. The latest release from what I Googled is 1.10....
0
votes
0answers
101 views

Custom file/folder permissions with S3FS?

I have setup an SFTP server using OpenSSH. The home directory for users is /sftp/%user. I'm mounting an S3 bucket at /sftp using S3FS. The problem is that S3FS cascades user permissions down through ...
0
votes
0answers
40 views

Root user permission issues with SFTP and S3FS on Amazon EC2

I have setup an SFTP server using OpenSSH. The home directory for users is /sftp/%user. I'm mounting an S3 bucket at /sftp using S3FS. The problem is that S3FS cascades user permissions down through ...
0
votes
0answers
35 views

Open ports for Passive FTPS on Amazon EC2?

I have installed ProFTPd on an Amazon EC2 running Amazon Linux. I have enabled SSL (FTPS) on for ProFTPd and set passive ports in proftpd.conf: port 21 <IfModule mod_tls....
0
votes
1answer
48 views

Changing /etc/passwd in SSH User

I've got an Amazon EC2 instance running. It's an Ubuntu 14.04. I connect using Putty SSH. I use the key/certificates I got when I created the instance to authenticate my connection. This is all done ...
0
votes
1answer
18 views

How do I find out what AWS resource(s) is using a specific security group?

I just reinstated an old AWS account and I'm looking to delete all the security groups and start fresh. I don't have any EC2 instances and I deleted the VPC as well and I'm still left with one ...
0
votes
1answer
57 views

Amazon EC2 Public IP vs. Public DNS

We have an EC2 running at Amazon. It has a Public IP and Public DNS. We use the Public IP in our domain records by creating an A record for www.example.com. Then the site becomes accessible. If we ...
0
votes
2answers
72 views

Should I use a single SSL certificate for example.com and www.example.com?

I have a website (hosted by Amazon S3) which redirects example.com to www.example.com. I am setting up an Amazon CloudFront distribution for this website, and would like the same redirection to work ...
1
vote
1answer
25 views

Trying to upload VM (Ubuntu Server) to AWS EC2. ERROR: image not found

I have followed all the steps in AWS's documentation to the letter, but am getting this "ERROR: image not found" when I try to upload via CLI (I'm on Mac OS X Mavericks in the terminal). I exported ...
1
vote
1answer
23 views

AWS RDS host instance creation fails: “hardware error”

I'm trying to create a MySQL RDS host instance on AWS (via Ansible) and getting the following error: The database instance has been put into STORAGE_FAILURE due to a hardware failure It happens ...
0
votes
0answers
19 views

Accessing large app files using Elastic Beanstalk and Flask?

I'm deploying a flask app through AWS Elastic Beanstalk, and when I try and push my app for deployment, i get an error that the contents are too big. Apparently, there is a hard maximum upload of 512 ...
0
votes
3answers
56 views

Verifying the reason why people say it's not a good practice to let an app connect to your db directly

I'm working with postgre (AWS RDS) for my db and using node (AWS EC2) for server side. I'm just starting out so I don't have much context. I always used other third party software like Parse for DB so ...
-2
votes
2answers
65 views

Point domain name registered with Godaddy and administered on XYZ server to AWS

There is domain e.g example.com registered with Godaddy, hosted on SomeHosting service (The server which serves the contents is here). This same hosting company provides the DNS Zone editor (cPanel) ...
0
votes
0answers
46 views

How to overload package_name in Chef cookbook using AWS custom JSON?

I never worked with Chef and OpsWorks before. What I'm doing, I'm trying to overwrite some Chef conf to use modern PHP 5.6. I wrote a JSON for Layer PHP App Server { "mod_php5_apache2": { "...
0
votes
0answers
66 views

Configure SFTP with OpenSSH and an AWS S3 Bucket mounted via S3FS on Amazon EC2

How do I allow multiple SFTP Users with S3FS and OpenSSH? Everything works, except SFTP Users don't have permission to write to their Chrooted Home Directory: remote open("/some_file"): Permission ...
0
votes
2answers
55 views

Way to limit Amazon ELB to a fixed set of IP addresses?

We would like to use Amazon Elastic Load Balancing, however, our application requires a fixed set of IP addresses as our clients need to know a finite list of possible destinations for specific ...
0
votes
1answer
51 views

AWS CLI describe volume attachment information

In AWS CLI I am trying to get the ec2 volume "Attachment Information" I see how I can find the Instance information, but this does not include the Attachment Information. The information I am looking ...
0
votes
0answers
29 views

CloudFront Object Caching: “Use Origin Cache Headers” vs “Customize”

When creating a CloudFront Distribution, I can choose "Object Caching" - either "Use Origin Cache Headers" or "Customize". "Customize" allows me to set Minimum, Maximum and Default TTL values. Does "...
0
votes
1answer
63 views

EC2 with AWS CloudFront?

IN SHORT How do I connect to the nearest EC2 instances using CloudFront to achive geolocation based Content Distribution? I want to do a geo-location based content distribution, so that the end user ...
0
votes
1answer
43 views

Django admin assets are not avaiable on elastic beanstalk

I created a basic Python Django environment on AWS. My project is generated with django-admin startproject michaelmalura. I added an app with django-admin startapp blog. After i publish my project ...
1
vote
1answer
44 views

Encrypt on jenkins or S3 and decrypt on EC2 instance

I want to automate the deployment of new code on my application using AWS CodeDeploy. I'm using AWS to run my application. What I want to do is the following: Build the application in jenkins (runs ...
0
votes
0answers
134 views

EC2 Cloudformation - userdata using powershell to retrieve powershell scrips from GitHub

I have a AWS cloudforamtion - whih build my entire VPC with subnets etc - within this CF builds a windows 2012 server - we want to bootstrap this server under user data so it become a domain ...
2
votes
3answers
48 views

Override AWS Auto-assign Public IP settings after instance launch

There is a limit to 5 public IP addresses (Elastic IPs) for each AWS Account and I have reached such limit. Now I have many EC2 instances created without the "Auto-assign Public IP" attribute, which ...
0
votes
0answers
11 views

nginx not working on AWS Ubuntu server instance [duplicate]

I am new to aws and server setups and all. I wanted to try out Amazon AWS, so I got an Ubuntu 14.04 instance. I installed nginx using sudo apt-get install nginx. When I used the public DNS AWS ...
2
votes
1answer
79 views

What's the fastest way of getting data into an AWS Lambda?

I have something I'll call a "microservice" running on AWS Lambda (using node.js). Basically it serves up condensed summaries drawn from a few hundred megabytes of binary blob. There are a lot of ...
1
vote
0answers
29 views

How To Use Amazon Cognito As An SSO OpenID Identity Provider

We currently use Google as an OpenID identity provider to our web platform. We need to move away from it. I discovered Amazon Cognito (we already use EC2/S3 and the rest). I discovered the ...
0
votes
0answers
31 views

Does CloudFront support S3 signature version 4 for KMS encrypted objects?

I'm using Cloudfront with an S3 origin that is using KMS to encrypt objects. I'm getting the following error when sending a GET request for an object in the S3 bucket. Requests specifying Server ...
0
votes
1answer
79 views

What Linux Kernel Versions are Acceptable for AMI Import to Amazon Web Services?

I have a stock image of Ubuntu Server 16.04 exported as an OVA from VirtualBox. After the proper permissions are set up to import that OVA into AWS EC2 as an image, and it's loaded into S3, the ...
0
votes
0answers
32 views

(AWS) Restrict beanstalk access to IAM users (prevent direct URL access)

We're setting up an SAAS service using an application deployed on a Beanstalk instance What we currently have : Our app is deployed on Beanstalk Access to the services URLs is configured in Gateway,...
0
votes
1answer
21 views

Reset slow_log tables in RDS of AWS

I enabled the slow_log_query in RDS in AWS. I want to reset the table but i am getting Access denied in PhpMyadmin while truncating . Any Idea to make it possible .
0
votes
0answers
26 views

Run mysql-workbench remotely, no proxy/or tunnel

We are on AWS, with a MySql RDS. The RDS is set up so that only clients that are on the VPC can access it. (Just being VPN'd in is not good enough) So I assume that I could set up a tunnel,proxy, ...
0
votes
1answer
37 views

How can I easily setup a SMTP reverse proxy from EC2 to SES?

How can I easily setup a SMTP reverse proxy from EC2 to SES without revealing SES the original SMTP Client IP?
0
votes
0answers
9 views

Run .ebextenions script without deployment

I'm working with ElasticBeanstalk and I'm looking for a way to manually run a .ebextenions script (or all of them) from either the box it self (ssh'd in) or my local box without deployment. Is this ...
0
votes
0answers
22 views

Unable to Remote Connect from Windows to Ubuntu Desktop using EC2

I followed these instructions to allow remote desktop connections from my Ubuntu instance. This is using the Amazon EC-2 service if that makes a difference. https://aws.amazon.com/premiumsupport/...
0
votes
1answer
36 views

Moving Data to Amazon EC2 [closed]

I've got an Amazon EC2 instance running and I'm trying to move files from another web server to the EC2. I'm using wget on the EC2 to fetch and 30GB Zip file. It's running at 100KB/s to 150KB/s on ...
0
votes
1answer
117 views

Assistance with writing PowerShell script to search Active Directory for a machine name

I'm writing a script to automate some AWS-launched Windows server instances. I've got the DNS changes, and the join-domain part okay, but I'm having trouble iterating the namespace...for example; ...
0
votes
0answers
53 views

Unable to get Route 53 to work with ELB

I have created an ELB for my 2 dev instances. My domain name is example.com, which is an A record to an Elastic IP for an EC2 instance. I'm trying to create a subdomain record dev.example.com, which ...
2
votes
0answers
37 views

ECS Stopped Task not Releasing Port

I have an ECS cluster with ELB. Last night I saw that a task was stuck in restarting loop. From the service Events log, it said: "service xxxxx was unable to place a task because no container ...
0
votes
0answers
12 views

why is ifcfg-lo renamed to vmimport.ifcfg-lo when importing a linux image to AWS EC2?

I notice that when importing a linux image to EC2 via vmimport, the file /etc/sysconfig/network-scripts/ifcfg-lo will be renamed to vmimport.ifcfg-lo, which results failure in local traffic, i.e. you ...
1
vote
0answers
74 views

How do I deploy this web app (Sentry) to Amazon Elastic Beanstalk using Docker?

I am trying to deploy a popular web app (Sentry) to Amazon Elastic Beanstalk. Beanstalk has support for Docker containers and the Docker Hub already has a configuration for Sentry here. I have ...
0
votes
0answers
32 views

AWS EB - Hangs on Environment update is starting

I have a strange, random issue with deploys from CLI to all of my EB applications. When deploy is made from CLI deploy script that runs on gitlab ci runner sometimes AWS Elastic Beanstalk freezes for ...
0
votes
0answers
119 views

AWS Encrypted EBS Boot Volumes for Windows Instances

Is it possible to create an encrypted ebs boot volume for a windows ec2 instance? This AWS example shows how to copy an unencrypted boot volume, creating an encrypted boot volume: aws ec2 copy-image ...