Amazon Elastic Compute Cloud (EC2) provides self-service, on-demand, pay-for-what-you-use computing infrastructure resources.

learn more… | top users | synonyms (1)

0
votes
3answers
146 views

Disable NOPASSWD sudo access for ubuntu user on an EC2 instance

How can I disable the passwordless sudo access for the default ubuntu user on an EC2 instance? Is it safe to do it?
0
votes
0answers
18 views

EC2 Windows instance stops responding for days at a time [on hold]

We run a Mac/Linux environment but need to run a few speciality applications on a Windows machine, so we've got a Windows instance at Amazon EC2. It periodically stops responding to ping and RDP for a ...
0
votes
1answer
64 views

SSH “operation timed out” on ec2 instance

I have performed the following steps: Clicked on existing instance > Actions > Launch more like this Kept all the settings the exact same aside from selecting a different instance type (same key ...
0
votes
1answer
11 views

Unable to connect via RDP to Windows Server instance on AWS EC2

Below is a link to the instructions that allow you to connect to your AWS EC2 virtual private server, for an instance based on a Windows Server template during the AWS EC2 instance wizard. So far, ...
0
votes
2answers
24 views

Apache server config redirect from IP to domain name EC2

I am running an apache webserver on a linux EC2 instance. The problem is that you can access the server using the IP address, DNS and the domain name. This causes a problem for SEO and I want to tidy ...
3
votes
5answers
6k views

S3fs performance improvements or alternative?

I've been trying to use s3fs on an EC2 server but it's really slow. I spent the last 5 hours uploading 100MB of small files. Is there anything I can do to improve the performance or is it something ...
0
votes
1answer
2k views

Unable to ssh EC2 using password - “Disconnected: No supported authentication methods available (server sent: publickey)”

I have followed the following steps https://coderwall.com/p/j5nk9w This is what I did 1) $ sudo useradd -s /bin/bash -m -d /home/newuser -g root newuser Entered the Password for the newuser 2)$ ...
0
votes
0answers
19 views

forward subdomain with route 53 to ec2 instance with node js

I have node js serving both root site (non prefix) and app.mydomain with node js subdomain npm . how can I point to both of them using Route 53? as for now the root domain get request's from Route 53 ...
0
votes
1answer
897 views

How do you get multiple ports working with nginx proxy_pass and Node Express?

I have multiple node instances running each on a different port. (8000, 8001, etc.) I also have nginx running on port 80. What I am trying to do is allow a user to enter my site via a single domain ...
0
votes
1answer
30 views

Does AWS EC2 have secondary disks scattered across the cluster?

I am using AWS EC2 Linux m3.xlarge to run a program called "Smart Information Retrieval System" which performs many I/O operations to/from the disk. I have tried running the same program on my laptop ...
1
vote
1answer
27 views

AWS Ubuntu 14 - Can't SSH After Reboot

Had an issue where an instance became unresponsive and was forced into a reboot. After the reboot I could ping the server but could not SSH into the server. Ultimately I created a new instance and ...
4
votes
2answers
8k views

Enable Password Login for SSH on Amazon Linux AMI

I wan't to be able to login via ssh with a password and not the key file. Yeah I know it's totally insecure but at this point in the config I was turning variables off and on left and right trying to ...
12
votes
5answers
15k views

How do I Install Intermediate Certificates (in AWS)?

I have installed private key (pem encoded) and public key certificate (pem encoded) on Amazon Load Balancer. However, when I check the SSL with site test tool, I get the following error: Error ...
1
vote
0answers
14 views

jboss cluster in ec2 with s3ping

Am trying to get s3ping discovery method working in wildfly 8.0.0. I am using default Amazon Linux AMI and using chef to launch instances in ec2 based on this tutorial ...
-1
votes
1answer
44 views

How to run a shell script on all amazon ec2 instances that are part of a autoscaling group?

Can anyone please tell me how to run a shell script on all the ec2 instances that are part of a auto scaling group. The scenario is that i have a script that i want to run on many ec2 instances that ...
1
vote
1answer
28 views

Locating bandwidth bottleneck

I am using FFMPEG to encode a video stream that is sent to a server at EC2 through ELB. I was only able to get about 2Mbps/15fps throughput to the EC2 instance. Through process of elimination, I ...
0
votes
0answers
19 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
2answers
3k views

EC2 instance always ask me to enter passphrase for the pem during connection

The pem file is generated by AWS console I was able to connect using the EC2 remote web interface, using the same pem file The permission of pem is 600 already Error.. ssh -i ~/test.pem -v ...
-2
votes
0answers
17 views

/dev/xvda1 full , though there is no temporary files [migrated]

I have AWS ec2 micro instance, suddenly it shows memory full. I have checked the folder using df -hcommand. The result is displayed below. Filesystem Size Used Avail Use% Mounted on /dev/xvda1 ...
0
votes
2answers
262 views

How to create a smaller disk size Windows instances on Amazon EC2?

Does anyone know how to create smaller disk size Windows instances on Amazon EC2? Their default is 30 GB, and I have to pay $0.10/GB/month for EBS storage, which means that for each Windows instance I ...
3
votes
2answers
3k views

Is it possible to create an EBS AMI for windows EC2 instance?

We have a Windows server (EBS backed) running in EC2. We make regular snapshots for data backups. I'd like to create a new EC2 instance from one of these snapshots. Yes, I realise this is the same as ...
-1
votes
1answer
20 views

amazon ec2 linux redhat server install unar package

I'm just trying to install unar package for the purpose of uncompress compressed files. What I've tried is sudo yum install unar But it shows "No package unar available". I googled and downloaded ...
0
votes
4answers
37 views

How to mirror AWS EC2-Instance data?

Can we mirror one EC2-Instance data to another? For example let consider following scenario: I’ve ELB connecting with two EC2-Instance. Instance A Instance B In the instance A I’ve created simple ...
1
vote
1answer
259 views

Any way to block IP address host header spoofing?

I have already added the following the following to my nginx config to deal with spoofed domains: if ($host !~* ^(.*example.org|\d+\.\d+\.\d+\.\d+)$ ) { return 444; } Right now ...
-1
votes
1answer
53 views

Why the latency increases on highload? [on hold]

We have a system built on AWS. We use Beanstalk, we have autoscaling, our database (mysql) is hosted on RDS. We use apache and php. We wanted to test our system on highload. So, we chose large ...
0
votes
1answer
27 views

Having trouble ssh into ec2 instance with elastic ip address

I have a new ubuntu EC2 micro instance in a VPN with what i think should be access from the outside world to ssh. $ ssh -i ./sendy.pem ubuntu@52.5.229.252 ssh: connect to host 52.5.229.252 port 22: ...
0
votes
1answer
15 views

Ansible EC2 Hosts Script Missing Instance

For some reason, ansible's ec2 hosts is missing instances. ec2-describe-instances returns the correct instances, but /etc/ansible/hosts does not: [root@or-manage ec2-user]# ec2-describe-instances | ...
-1
votes
0answers
13 views

Stop sending all ec2 instance package upgrade email to client

Our client (he is non technical person) keep getting daily email for package upgrades/updates happening on his ec2 instances of his. something like this Unattended upgrade returned: True Packages ...
0
votes
0answers
16 views

can't ssh on ubuntu, ec2 suddenly. stuck on “Sending env LANG = en_IN”

Suddenly I am not able to ssh (with pem file passwordless login & with password both) My pem file has not been changed, It was working fine till yesterday. Here is ssh -v output ...
0
votes
0answers
16 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 ...
-3
votes
1answer
24 views

How to upgrade PHP version in multiple AWS EC2-Instance?

Can we upgrade versions in multiple EC2-Instance at the same time? For example let’s say I’ve ELB connecting with two EC2-Instance. Instance A (running PHP 5.3) Instance B (running PHP 5.3) Here ...
0
votes
1answer
142 views

PHP version conflict in Amazon Linux EC2 instance

I've lunched a fresh instance from the AWS -> EC2 console panel. After that when I logged into the instance via SSH and executed the following line: (note I executed first the sudo yum update before ...
4
votes
3answers
3k views

Can't change assigned key pair on amazon ec2 instance

I can't seem to find the option to assign a newly created key pair to an amazon ec2 instance after deleting away the original key pair. I wanted to "deny" the first key pair from access to the ...
0
votes
0answers
18 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, ...
1
vote
2answers
170 views

AWS Custom AMI not running userdata script

We bake AMI's and lately I have wanted to run some user-data scripts to notify cloud formation when the instance is done booting and put it into service. I am using cfn-signal to do this. On the ...
1
vote
3answers
489 views

Shared encrypted filesystem for ec2 instances

Me and my company intend to start using ec2 for distributing some cpu-intensive pieces code, involving a few 10s of gb of data, however I have some concern about the protection of the intellectual ...
0
votes
1answer
43 views

t2.micro EC2 Ubuntu, t2.micro RDS MySQL. Server crashes after DB reaches ~60 connections [on hold]

So I have the following setup: Server - t2.micro ECU Ubuntu instance Database - t2.micro RDS MySQL instance. The stack is a basic LAMP stack with default Apache settings. I am basically running ...
-2
votes
0answers
28 views

EC2 - Lamp Memory Usage Issue [closed]

I have the latest Amazon Linux AMI running on a medium instance with 4gb of Ram. LAMP server is setup with a single Wordpress instance. I am having memory issues that I can't seem to pinpoint my ...
1
vote
2answers
63 views

Can we launch website without AWS Load Balancer?

I've requirement that I want to publish a small web CMS in a CLOUD environment. Therefore I thought since I've a AWS account and go for it, but my client does not want bear any high cost. So I'm ...
1
vote
1answer
332 views

The site is using outdated security settings that may prevent future versions of Chrome from being able to safely access it

We're using an AWS ELB to do SSL termination and are having an issue where Chrome is displaying "https" in red with a strikethrough. It says "The site is using outdated security settings that may ...
0
votes
2answers
1k views

cannot connect to MS FTP 7.5 on Windows 2008 on Amazon EC2 instance

I have just installed the MS FTP 7.5 upgrade on my Windows 2008 Server (Service Pack 2) running on an Amazon EC2 instance. In the FTP Firewall Support settings for the server in IIS Manager I have ...
0
votes
1answer
33 views

AWS DNS Error - SERVFAIL

So I have followed the configuration guide provided by Amazon (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/CreatingNewDNS.html), but I cannot get the URL/Domain to be send out to the name ...
1
vote
1answer
1k views

How to configure network on EC2 instance launched by Vagrant?

This is my AWS setup: 1 VPC with: default public subnet, 10.0.0.0/24 1 EC2 micro instance, private 10.0.0.172 and public Elastic IP 1 RDS instance, running MySQL The EC2 instance has network ...
0
votes
1answer
42 views

Naked domain not working on VirtualHost for EC2

I am using AWS EC2 and I am redirecting example.com domain to a directory in EC2 with the following virtual host: NameVirtualHost *:80 <VirtualHost *:80> ServerName www.example.com ServerAlias ...
0
votes
2answers
30 views

Creating an AWS disk that I can access from separate servers

I would like to use a load balancer to rotate traffic between two separate servers. These servers will need access to a single data store (to save files, documents, images, etc.). Is it possible to do ...
1
vote
1answer
988 views

Open ports between Elastic Beanstalk and one EC2 instance on AWS

I currently have the following setup: An API (Node.JS) running using Elastic Beanstalk, which is currently only running one EC2 instance A MongoDB instance running on a seperate EC2 instance ...
1
vote
2answers
2k views

How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. So, there is a NAT server in public subnet which forward all ...
4
votes
2answers
3k views

Assign multiple Elastic IPs to EC2 instance

When I try and associate a second Elastic IP to a small EC2 instance, the currently assigned Elastic IP is disassociated. Do I need to use a VPC?
8
votes
5answers
4k views

How to move S3 bucket to different location

We use S3 for storing millions of entries in our webapp, now we move the whole thing to EC2, EU servers, and we also want to move that S3 data to EU. But the bucket we use is in US, and there seem to ...
0
votes
0answers
37 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 ...