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

AWS autoscaling and ec2 t2

I use t2.medium as a front servers at my architecture. Usually AWS autoscaling use "CPU Utilization", but for t2 it's a bit tricky. When "CPU Credit Balance" is low, t2.medium "CPU Utilization" can ...
0
votes
0answers
17 views

Using instance storage for swap on Redhat 5 running in AWS?

I'm running a Redhat 5.11 server in AWS. I can configure swap to use instance storage (/dev/sdc), but every time the server restarts I have to reconfigure the swap. Adding an entry to fstab doesn't ...
0
votes
0answers
19 views

Use custom AMI for GPU on aws

I have a EC2 instance (ubuntu) with GPU, in this instance I have a docker image running with this gpu. So I launch my container with --privileged Everything is working smoothly. However I'm unable to ...
0
votes
0answers
34 views

SSL Working on 8888 but not 443

I have Apache set up to server HTTPS traffic. If all I change in the 000-default.conf is <VirtualHost *:443> to <VirtualHost *:8888>, I am able to hit the page externally on port 8888. ...
0
votes
0answers
9 views

Run community chef cookbook

I want to configure a mailserver on AWS with this cookbook: https://supermarket.chef.io/cookbooks/postfix-dovecot I have chef-client and chef-dk installed. I have downloaded the package and changed ...
0
votes
0answers
39 views

Can't connect to VPN through ec2

I have created a VPC (private and public subnet) and VPN connection with the AWS wizard. Unfortunately, I can't connect to the host in the VPN outside AWS. When I try, I get a timeout. I have ...
0
votes
0answers
71 views

Precision Time Protocol on AWS

We have a problem that requires a group of AWS linux servers to have the time exact by the millisecond between each other. (different nano seconds is ok, and we don't care if it is the real hour.) ...
0
votes
0answers
36 views

Change the root EBS device of AWS EC2 instance

I changed the root device of my AWS ec2 instance and now I can't log in, I get: Permission denied (publickey) The new ebs I changed to was also a bootable volume. Then I created another instance ...
0
votes
0answers
51 views

AWS EC2 replacement instance

I've inherited our AWS management duties for the time being and I've received a notice from AWS about some of our instances needing regular maintenance. The EC2 instances are pretty primary, a proxy ...
0
votes
0answers
40 views

AWS EC2 Instance with Windows 2008 R2 Datacenter Not Using All of Memory

I have an m1.large EC2 instance running with Amazon Web Services. The OS is Windows 2008 R2 Datacenter. It should have 7.5 GB of memory, and the desktop background indeed says: Total Memory : 7.5 ...
0
votes
0answers
31 views

Monitor http endpoint /status with Amazon Cloudwatch

Can I use AWS CloudWatch to check the health of a web app deployed to EC2? Is this the best way to monitor the app? Or is "cloud 53" more useful. Either way, how do I set it up? Pointers to relevant ...
0
votes
0answers
47 views

Fabric: Using ssh_config settings on env.gateway

I have a relatively standard AWS setup, that looks like this: [ App server ] \ [ App server ] -- [ Dev gateway ] [ App server ] / Where the servers are only accessible over 22 from the gateway's ...
0
votes
0answers
51 views

Installing node.js on a PHP App Server (OpsWorks)

I have a PHP App Server running Ubuntu 14.04 with a stack that contains an ELB, the server, and a MySQL RDS. All of this is working as expected, but to finalise my deployment I need to install ...
0
votes
0answers
41 views

EC2 CFN IAM: allow instances in ASG to manage their own volumes

I have an auto scaling group defined in a CloudFormation template. The launch configuration associated with the auto scaling group has an IAM instance profile attached. Is there any way to define a ...
0
votes
0answers
26 views

Multiple static IPs Amazon EC2

I want to have multiple sites with SSL on IIS (Windows 2008 R2 on Amazon AWS). I've read this other question and the documentation in Amazon where it explains how to add another IP. My question is, ...
0
votes
0answers
266 views

Coreos auto scaling with docker and fleetctl on AWS

I spent a lot of time evaluating different ways to deploy an application to the cloud (let's assume AWS for this question) in the last few weeks but couldn't really find a satisfying solution. We ...
0
votes
0answers
17 views

Add extra instances based on time [elastic beanstalk]

Is it possible to change the number of minimal instances used by elastic beanstalk based on the time of the day? That is: I want to have 2 instances running through out the day (in case one fails) ...
0
votes
0answers
25 views

What is a “supported service” in cloudformation-init::services?

I'm trying to launch a custom daemon from a cloudformation::init script. The /etc/init.d/myservice is fully functional; if I log in after cfn-init completes, sudo service myservice start behaves ...
0
votes
0answers
94 views

How to auto assign public IP for VMs imported from vSphere in AWS - EC2

I was trying to import a Linux VM running in my VMware infrastructure to my AWS-EC2 account using the ec2-import-instance CLI. The VM gets successfully imported to EC2, but on starting it up its not ...
0
votes
0answers
58 views

How to configure SSH host keys in cloudformation template?

I'm trying to configure an EC2 with known SSH host keys on boot using cloud-init in a cloudformation template. But now I can't SSH into the server. It's tricky to debug :-) Here's the userdata part ...
0
votes
0answers
55 views

Update the container of a service in Amazon ECS

What kind of approach is recommended for updating the container of a service which is running in Amazon ECS? The AWS documentation says: "If you have updated the Docker image of your application, you ...
0
votes
0answers
30 views

How to fix hung requests creating dead lock(/root/syn)?

We are running a search service using written in Java using solr We are noticing dead locks on the service. 14:00:30,465 WARN ThreadPoolAsynchronousRunner:416 - Task ...
0
votes
0answers
41 views

Can't find my VM instance after importing VM to AWS

I followed the introductions from here ...
0
votes
0answers
27 views

AWS S3 content over VPN is not getting decompressed (gzip)

We have a client who is having difficulty viewing our content over their VPN. If they browse to the content it appears with all crazy characters. I think I have worked out its somthing to do with ...
0
votes
0answers
130 views

502 Bad Gateway from relocated instance on AWS EC2

I tried to move some instance from tokio region (which by the way, it's working normally) to sao paulo region, then I followed this basic steps to perform but when I launch the instance from the ...
0
votes
0answers
48 views

Sitecore and AWS Elastic Load Balancer

My organization is helping to move a sitecore installation from self-hosted to AWS. I'm just a humble system administrator (and one who joined the project half-way through) there is another guy ...
0
votes
0answers
23 views

Wiresharking access to AWS to debug permission problems

I have a plugin which pushes files to S3. It's not my plugin and auditing what exactly it does has proved difficult. I'm trying to enable access logging on the bucket to figure out what exactly is ...
0
votes
0answers
82 views

Weird 502 responses of AWS ELB

My website suddenly failed to work this afternoon, responding every request with 502. I've set up 3 backend instances behind ELB, each with Nginx installed. At first, I suspected there's something ...
0
votes
0answers
30 views

Issue with AWS receiving git commits containing large files

If commits have been made with large files then git push consistently fails with the following message: Counting objects: 36, done. Compressing objects: 100% (31/31), done. Writing objects: 100% ...
0
votes
0answers
40 views

Multihomed FreeBSD10.1 on AWS

I have an AWS t2.micro instance running with two network interfaces. I have set it up to run nginx on one interface and everything else on another. rc.conf # EC2 uses DHCP; the network interface ...
0
votes
0answers
60 views

How to tell if disk volume is instance store or EBS?

I have a number of volumes (same size) attached to a Windows instance in Amazon AWS. One of them is told to be an instance store. How do I tell which one? PS. testing the speed did not help, one of ...
0
votes
0answers
440 views

can't connect aws VPC private instance to internet through NAT

trying to install a LAMP stack on an aws instance in a VPC private subnet using Scenario 2 described here: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Scenario2.html I've set everything ...
0
votes
0answers
170 views

FreeIPA Install on CentOS 7 - “Cannot contact any KDC”

I am trying to install a new stand alone instance of FreeIPA on CentOS 7. I am doing this in an Amazon AWS EC2 environment. The install completes flawlessly every time, however, when I attempt to ...
0
votes
0answers
43 views

Amazon AWS custom metric for Disk usage

I needed to monitor the space utilization for ec2 istances in cloudwatch. I used the scripts "Amazon CloudWatch Monitoring Scripts for Linux" with this command: ./mon-put-instance-data.pl ...
0
votes
0answers
70 views

customize instance store Centos7 AMI

I am attempting to customize a base instance-store Centos7 AMI. Image I am using is: RightImage_CentOS_7.0_x64_v14.1.4_HVM - ami-d34b02e3 (instance store hvm) I start the instance, I customize it, I ...
0
votes
0answers
64 views

Amazon ELB + EC2 Header mismatch

Preamble: I have an AWS Elastic Load Balancer in front of a Single Amazon EC2 instance. I have 3 other EC2 instances sending requests via curl to the Load Balancer. Direct requests to the EC2 ip has ...
0
votes
0answers
35 views

elasticsearch not enabled when installed on additional device

Here's the deal : I'm working with AWS EC2 instances (Centos 7). Elasticsearch is installed from the sources in the folder /app. The elasticsearch service is managed by init.d. The problem is that if ...
0
votes
0answers
152 views

Connecting to Amazon VPC instance's public IP over hardware VPN

I'm trying to configure an AWS VPC with a public subnet and hardware VPN access, but I have a requirement that connections over the VPN must be able to connect to a particular EC2 instance using a ...
0
votes
0answers
6 views

Create alias that fixes (or defaults) some parameters in PowerShell

We manage a few amazon servers that aren't on our AD; I have to supply a couple of parameters the same way repeatedly. We'd like to be able to define Invoke-AwsCommand that can be called like this: ...
0
votes
0answers
29 views

route53 migration using cli53 - how to prepare zonefiles?

I have exported zonefiles from BIND and installed cli53 to import my records to AWS Route53. From what I can gather, I need to rid the files of any SOA and NS references. Right? Does anyone have a ...
0
votes
0answers
24 views

Mount the other half of instance store volume

I have a running c3.xlarge EC2 instance on AWS. As listed in http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#StorageOnInstanceTypes , it should provide 2 x 40GB SSD instance ...
0
votes
0answers
120 views

AWS Linux RHEL instance unable to format and load new storage partition

I have an AWS RHEL instance. Following are the storage devices on it: $lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 20G 0 disk xvda1 202:1 0 6G 0 part / I ...
0
votes
0answers
37 views

Windows instance in AWS Auto scaling, Once autoscaling done i should be part of DC

I’m working on windows technologies last few years, but new to cloud environment. What I’m facing is that, I have DC server, under that a Web server both are in windows 2012. I need to auto scale the ...
0
votes
0answers
102 views

Unable to open redis 6379 for inbound on AWS EC2

I have two servers on EC2. One hosting my php application and other hosting my redis server. I am managing my php session and data on redis server. So on my php server I gave the ip:port as session ...
0
votes
0answers
47 views

Elastic Load Balancer connection draining causes a blank page for some web sessions

I'm running 3 EC2 instances behind an ELB with connection draining enabled (set to 300ms). When I remove an instance from it, I can see fewer and fewer web requests in the server log until eventually ...
0
votes
0answers
88 views

crontab at reboot for EC2 instance

I'm trying to mount an EBS volume after restart. It does not work. I set the mount after reboot, in the following manner: echo "@reboot 'sudo mount $DEVICE_PATH $TARGET_PATH -O noatime,noexec'" | ...
0
votes
0answers
78 views

Using Redis for multiple Instances for session management

Hi We are in the process of implementing AWS opsworks. There will be multiple instances of PHP App Servers and one instance of mysql. We are planning to use redis and phpredis for session and data ...
0
votes
0answers
223 views

'end_request: I/O error, dev xvda1' after rebooting AWS EC2 instance

I rebooted one of our Amazon EC2 instances after having some performance problems and had a look at the Actions > Instance Settings > Get System Log to see this: Amazon Linux AMI release 2014.09 ...
0
votes
0answers
35 views

Logging into an AWS EC2 instance from another machine in EC2

I have a few AWS EC2 instances that can SSH into each other. They are not in a VPC as this is an older AWS account and was active before VPC. One particular EC2 instance (zeta) is not able to SSH into ...
0
votes
0answers
114 views

When using Docker on AWS Elastic Beanstalk, I can't access an RDS instance

When I ssh into the EB instance, I am able to connect to the RDS instance. However, once inside Docker (I have tested this by running bash under Docker), I am unable to connect to it. I am able to ...