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

How can I clone a private repo in ECS docker container?

Hi I'm new to AWS ECS and I'm trying to deploy a docker cluster. I have a private github repo that I want to download to my working directory when my docker container starts, or possibly have it on some ebs volume preloaded that is then mounted by…
Dr.Knowitall
  • 219
  • 2
  • 10
3
votes
2 answers

Updating OpenSSH on Amazon Linux - Amazon repository out of date

I read today that there's a significant vulnerability in OpenSSH, which is fixed by the latest version, 7.1p2. According to this story your private key is vulnerable to disclosure. I'm using the latest Amazon Linux AMI, and everything is up to date…
Tim
  • 31,888
  • 7
  • 52
  • 78
3
votes
2 answers

Starting HHVM automatically on Amazon Linux server boot

I'm having trouble getting hhvm to start when my Amazon Linux (which is apparently very similar to Centos) EC2 instance starts. When I reboot the server hhvm doesn't come up, and there's nothing in the error logs. When I use sudo service hhvm…
Tim
  • 31,888
  • 7
  • 52
  • 78
3
votes
1 answer

Unable to deploy a rails application using eb cli

I recently updated my environments configuration to :64bit Amazon Linux 2015.03 v1.4.6 running Ruby 2.2 (Passenger Standalone). After deploying my application using eb deploy i now get an error in my var/log/eb-commandprocessor.log that…
3
votes
1 answer

Sequential hostnames and auto-scaling?

Is there a logical way to have sequentially numbered hostnames with servers that are autoscaling but not sequentially killed? So if server13 is killed and server14/15 are alive, and the cluster upscales with 2 servers it will add a server with…
ujjain
  • 3,983
  • 16
  • 53
  • 91
3
votes
1 answer

Reducing AWS EC2 Instance and RDS - Is 'low' Network Performance acceptable?

I launched my site on AWS a few weeks ago. I have a m3.medium EC2 instance and a db.m3.medium RDS instance (MySQL database). I've looked at the monitoring for each and this is the average usage for each: RDS 6% CPU Utilization EC2 10% CPU…
Luke
  • 549
  • 1
  • 6
  • 18
3
votes
2 answers

Linux user to access and execute only on one location

I am trying to figure out a solution for this: I have some user which I created using command useradd. I want to allow this user do whatever he wants on a special location, say /var/www/. He might require to upload or download a file, extract a…
3
votes
1 answer

Logstash integration with AWS Elasticsearch Service

I am using AWS Elasticsearch service to configure Elasticsearch Cluster and there is a separate server where I have installed Logstash 2.1.0 Here is my Logstash sample configuration file :- input { file { path =>…
3
votes
1 answer

Cloud architecture design

I am designing a cloud architecture on AWS for a system processing large number of entities. I hope that this is the correct StackExchange for this question (SO did not seem appropriate to me - feel free to migrate the question). Problem…
3
votes
2 answers

Can I access the failover server on AWS RDS?

I am trying to create a working proof-of-concept in AWS for our web application which suddenly needs to scale out very quickly. Currently it is hosted on a local VMware server and we are migrating to AWS. I am working on configuring an MS SQL…
LegendaryDude
  • 244
  • 4
  • 11
3
votes
4 answers

Is there a way to create AWS autoscaling lifecycle hooks with CloudFormation without a race condition?

I am trying to use AWS autoscaling lifecycle hooks in a template that encapsulates the following things: AWS::AutoScaling::AutoScalingGroup with associated scale up/down policies, launch configuration, IAM role, etc. 2 of…
Alex B
  • 1,714
  • 2
  • 18
  • 30
3
votes
1 answer

20% CPU usage by RDS instance when idle

I have brought up a db.t1.micro PostgreSQL instance in us-east-1 region. It's single availability zone no backups not in a security group that's reachable from the outside world For some reason the CPU usage is at 20% CPU while I'm doing…
Alex B
  • 1,714
  • 2
  • 18
  • 30
3
votes
1 answer

Node.js app deployment on AWS using Otto

When trying to use Otto to deploy a Node.js application, the deployed application is not reachable. I have created a minimal application that simply listens on port 80 and answers status requests: var express = require('express'); var app =…
jpsecher
  • 111
  • 7
3
votes
2 answers

aws s3 sync: how to exclude proc, sys directories

I can't seem to get the aws sync s3 command to exclude directories. I am backing up a mounted filesystem from OpenVZ which is located at /vz/root/100. My command is: aws s3 sync /vz/root/100 s3://[mybucket]/vz/root/100 --exclude="proc/*"…
Devon
  • 800
  • 1
  • 9
  • 20
3
votes
1 answer

Can you target the logs from an S3 bucket to an S3 bucket in another account?

If I have an S3 bucket in account A that I'd like to turn logging on for I have to select a bucket for the logs to be written to. Is it possible to set permissions such that I can select a bucket in account B for these logs to be written to?
Steven Noble
  • 383
  • 1
  • 2
  • 12