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

Openswan VPN routing issue

I have configured the openswan VPN correctly on an EC2 server ( Elastic IP ), and it shows 2 tunnels up. Given the following setup : MY_PUBLIC_IP: x.x.x.193, MY_ENCRYPTION_DOMAIN: ...
1
vote
1answer
26 views

AWS EC2 instance synchronise Load balancer

I am in the process of deploying a production environment for a website, It runs on AWS. This includes a private VPC with a load balancer and a single EC2 instance running Debian 8.1 However, in ...
1
vote
1answer
50 views

Run EC2 instance into specific non-default VPC in random subnet

I have a problem and I expect that someone help me. I'm working with AWS and I have 2 VPC. The default VPC an another VPC created by me. Each VPC has 3 subnets in differents AZ (eu-west-1a, ...
1
vote
0answers
12 views

Is it possible to get amazon ec2 instances to hibernate? [duplicate]

I've tried hibernating instances on amazon ec2. You get the shutdown signal in Linux, but the aws instance doesn't get stopped, and after a hard reboot it then refuses to boot. The only way out is to ...
1
vote
0answers
23 views

ec2: permission denied when trying to start instance with knife

I am working on getting knife to bring up ec2 instances: I copied the policy from [What permissions in IAM do i need to start EC2 instances with chef knife? I 'attached' the policy to a minimal ...
0
votes
3answers
47 views

How to account traffic on CentOS Linux?

I have an EC2 CentOs instance on AWS with nginx that has been pumping out major outgoing traffic, which of course is pumping up my monthly cost. How can I track down what is sending so much data?
0
votes
2answers
80 views

Using MySQL with Ejabberd

I'm trying to integrate MySQL into Ejabberd but I'm constantly facing problem with it. I'm working in AWS EC2 environment and I have 1 EC2 instance that has MySQL, Ejabberd and latest Erlang (Version ...
0
votes
0answers
78 views

Mail spam error while sending mails using Gmail id via Postfix hosted on Amazon EC2 server

This issue is related to using my own SMTP server to send email by any user mail id like some other mail APIs do e.g; Amazon SES, MailChimp. I am using Postfix as a mail server for my applications. I ...
1
vote
1answer
41 views

Amazon AWS with CentOS 6 HVM: password required with SSH

I am having some strange authentication issues when trying to spin up an Amazon instance using CentOS 6 HVM. For some reason, whenever I spin one up using a security group and a key / pem pair, I ...
0
votes
1answer
40 views

Amazon EC2 Centos instance needs sudo password after update

I've got a terrible problem on a running webserver. It's a webserver running on CentOS, one of the default Amazon EC2 AMI's (images). I've been able to ssh to the server and do my thing until now. ...
1
vote
1answer
90 views

Best practice for managing AWS SSH .pem files within team [duplicate]

We are running a number of environments on EC2 using VPC. In each VPC we have a hardened bastion host configured which is used as the initial SSH entry point into the network. To access hosts within ...
0
votes
1answer
24 views

AWS EC2: Cannot access anything remotely except ssh

I'm quite new to Amazon EC2 and I have a weird problem. I create an ec2 instance, and setup .pem keys to access it with the ssh -i key.pem ec2-user@publicip. Then I do a yum update and try to install ...
0
votes
0answers
76 views

VPC EC2 Instances can PING each other, but not SSH

I've setup an SSH with multiple subnets. I have an instance in my public subnet (Subnet A) built from an AWS NAT AMI. I have another instance in my private subnet (Subnet B) built from a standard ...
0
votes
0answers
44 views

AWS RDS subnet/az requirement doesn't work with virtual UTM

Background: I want to put an AWS RDS instance into a VPC that has a virtual UTM as its internet gateway. Virtual UTM is an normal EC2 instance with 2 network connections, one internal, one external. ...
1
vote
0answers
31 views

Trouble creating ext4 filesystem when trying to mount EBS volume on AWS instance

I'm trying to mount an EBS volume on my AWS instance. Following Amazon's instructions, I get the following error when running sudo mkfs -t ext4 /dev/xvdf: Allocating group tables: done ...
0
votes
0answers
25 views

Is it possible to use an Elastic Load Balancer on an IIS Server accepting BITS Uploads?

I have a website hosted on EC2 using IIS 8.5. I've got a virtual directory with BITS uploads enabled, and everything works over http and now https when my URL points to the instance's public EIP. The ...
0
votes
3answers
62 views

EC2ResponseError: 401 Unauthorized using Saltstack boto_vpc module

I'm trying to create a vpc using Saltstack and boto_vpc module. This is my state: vpc_create: module.run: - name: boto_vpc.create - cidr_block: '10.0.0.0/24' - vpc_name: 'myVpc' - ...
0
votes
2answers
94 views

Amazon RDS instance and hostname resolution

I have a question about EC2 and RDS instances. I'd like to restrict connection to the database only from one particular EC2 instance using MySQL users. Security groups allow MySQL communication from ...
0
votes
1answer
83 views

Amazon Cloud Formation: Import file from S3 bucket

I am struggling to get files from my S3 bucket to my EC2 instance using cloud formation. I have the following files: "files" : { "/var/www/text.txt": { "source": ...
1
vote
0answers
33 views

Why is New-DSComputer failing to join an ec2 instance to the directory services domain?

I have a domain xyz.com in AWS Directory Service, and I am trying to join an EC2 instance to this domain using PowerShell. I can do it manually but I am trying to automate it so that when the next ...
1
vote
2answers
66 views

Is it possible to make a connection between a Linux router and AWS Direct Connect without the need of physical hardware?

We bought one Amazon Direct Connect leased line to connect our datacenter to Amazon EC2 instances. Amazon has configurations for Cisco or Juniper Hardware ...
1
vote
0answers
76 views

How can I chain AWS IAM AssumeRole API calls?

There are a number of AWS accounts which I don't control. I've had the account owners deploy an IAM Role, TrustingSecurityAuditor, into their accounts which grants the right to assume the ...
0
votes
0answers
37 views

How to properly configure security group at AWS?

I'm trying to reach my server's FTP-port by its Elastic IP. I've configured the security group as follows: Inbound Type Protocol Port Range Destination All traffic All All ...
0
votes
1answer
96 views

Port 443 set up SSL on Nginx + Ubuntu + EC2

I've tried everything and I searched Google behind some solution, but can not configure SSL (https) in my Nginx server that is within a Ubuntu 14.04.2 LTS on Amazon EC2. My website works perfectly on ...
-2
votes
1answer
182 views

Does AWS EC2 blocks torrent sites like torrentz.eu? [closed]

Initially when trying ping torrentz.eu, dns was not resolving the torrentz.eu domain name on my AWS EC2 micro instance(Ubuntu), Then I have added google public dns to the resolv.conf. So my instance ...
0
votes
1answer
74 views

Private communications between AWS EC2 instances

I have three EC2 instances with elastic IPs. Each one contains a server. Each server needs that TCP ports 8181, 2181, 2888 and 3888 are opened on each machine. Each server should have the possibility ...
0
votes
0answers
57 views

Cannot access apache2 and tomcat running on my ec2-instance

My ec2 ubuntu instance has apache2 working on port 80 and tomcat working on 8080. I'm not able to access them from my browser, i checked the access.log for apache2 it doesn't show the request coming ...
0
votes
0answers
45 views

Out of space on EC2 instance due to docker logs

I'm still learning docker and AWS, and I've had a docker process running awhile with 50gb EBS storage, and now I'm out of disk space and as a result, docker no longer starts up when I reboot my ...
0
votes
1answer
38 views

Deleted authorized_keys from EC2 but still have PPK file and I'm connected

I just deleted my full ec2-user/.ssh/ folder and I want to recover the keys so I can access my EC2 server without stopping and starting it. I have on my computer a PPK file that has something like ...
1
vote
1answer
150 views

NGINX + uWSGI + Flask. Some requests very slow

We're running a fairly large Flask application and finding that at random times we'll end up with a very slow request (sometimes a minute or more) I presume the issue is related to lazy-loading ...
0
votes
0answers
50 views

How to sync folders between two Windows Servers in Amazon EC2

I have two servers running Windows Server 2012 in Amazon Cloud. One is hosted in EC2 (A) and another - in VPC (B). I have a folder in the same location on both servers. And I need to sync files from ...
0
votes
0answers
33 views

EC2 websites & RDS databases backup

We have some Amazon EC2 machines on which different websites are working, and their database is being pulled from RDS-MySQL, I know for machine I can have images as backup and for RDP-MySQL it has ...
0
votes
1answer
27 views

ElasticCache enpoint to use in code

I have provisioned ElasticCache and launched a Redis cache cluster with Enable Replication option selected in Single Availability Zone, now I see three cache nodes under cache cluster as following ...
0
votes
0answers
22 views

sshfs fails sporadically in ec2

I am running multiple (2-5) Jenkins build slaves in AWS EC2. The master and slaves run Ubuntu 14.04. The slaves scale up and down dynamically. They compile Java/Scala projects build using SBT. To ...
2
votes
2answers
198 views

How to set up a secure Git repository?

I followed this tutorial to set up a git repository on an EC2 instance. http://git-scm.com/book/ch4-4.html. Basically, I add a new git user and include my public key in authorized_keys. After setting ...
1
vote
2answers
64 views

Amazon EC2 - Installed atop / htop but they don't show disk I/O stats

I configured an AWS EC2 with Amazon AMI Linux and installed via yum atop and htop and they work correctly but they don't show any stats for the disk I/O as usual. I tried some startup options with ...
1
vote
0answers
87 views

How to scale up one container using Amazon EC2 Container Service

I am new using Amazon ECS and I would like to know how to set up services in order to scale up / down one container easily. Here is my project architecture: website: container with the website, ...
0
votes
1answer
45 views

EC2 volumes & partitioning

With Amazon EC2 CentOS 7 HVM community image machine just thinking for volumes & partitioning. Would it not be good that I create default 8GB volume sda for root device for all operating system ...
0
votes
0answers
78 views

CentOS 7 mount ebs thorugh systemd unit

CentOS 7 HVM community image is not mounting the drive if as recommended we do it via rc.local(since doing it via /etc/fstab entry may halt the machine and make it not reachable if any issue occurs in ...
2
votes
1answer
59 views

EBS volume mount point should be disk or partition

With community CentOS 7 HVM image, after adding another EBS volume to my EC2 instance, lsblk command shows this NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 8G 0 disk -xvda1 ...
1
vote
1answer
63 views

How do you find which Amazon AWS EC2 instances are not covered by a Reserved Instance reservation?

Let's assume that I have 20 running EC2 instances and 10 active Reserved Instance reservations. Using the AWS Console or AWS CLI, what is the fastest way to determine which of the running EC2 ...
-1
votes
1answer
49 views

Can't connect to my Amazon EC2 instance either via SSH or via browser

So I just launched my ec2 instance : t2.micro with Ubuntu 14.04 OS. The security group has settings enabled for letting in inbound traffic from SSH ( port 22 ) and HTTP ( port 80 ). But when I try to ...
0
votes
1answer
84 views

AWS CloudWatch — Signature Expired

Everything is going fine, except one of my instances gives me the below error: ubuntu@my-host:~$ /etc/aws-scripts-mon/mon-put-instance-data.pl --mem-util --disk-space-util --disk-path=/ ...
0
votes
1answer
144 views

Elastic beanstalk not support on custom AMI

I have launched a default Amazon ElasticBeanstalk image(php) in EC2 .I can able to deployed application on Apache.I am trying to use a custom AMI in AWS Beanstalk and does not get deployed on the ...
0
votes
1answer
49 views

Find minimal policies in AWS that user needs

I try to use AWS EC2. There is a command $ aws ec2 describe-instances That answers: A client error (UnauthorizedOperation) occurred when calling the DescribeInstances operation: You are not ...
0
votes
0answers
42 views

attached volume of a FreeBSD amazon ec2 instance does not show up

I have followed the steps in the documentation, created a new EBS volume and attached it to the instance (I only have one). I rebooted and tried shutdown/start, but the device does not show up inside ...
1
vote
1answer
25 views

Cannot access virtual directories on Drupal 7

I have installed Drupal 7.37 on AWS EC2 Linux instance. It was working perfectly until I reinstalled httpd24 and PHP 5.5. Since then, the main page loads perfectly but I cannot access my virtual ...
0
votes
0answers
16 views

With PROXY support enabled in ELB, are occasional non-PROXY connections to the EC2 instance still possible?

We have PROXY protocol support enabled on our ELB but we seem to be occasionally getting non-PROXY TCP connections to the EC2 instance behind the ELB. The instance's Security Group only allows ...
0
votes
1answer
75 views

EC2 Network Interface with secondary Private IP, not showing on Interface in Windows

I have a windows server 2012 r2 instance on EC2 under VPC, I have two Network Interfaces. The Primary Private IP is shown in windows for both. I have a secondary IP address on one of the network ...
0
votes
1answer
162 views

Can I use IAM Roles for Ansible

Apparently the AWS Access Key and Secret Key are optional parameters for the AWS Cloud Modules, however the places where the ansible would pick up those values are from Environment variables. Can we ...