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

EC2 Haproxy stops taking requests

I am using haproxy with Apache to keep alive an EC2 server. Sometimes haproxy stops taking new requests. If I reload haproxy it starts working normally. I have disabled iptables and increased open ...
0
votes
0answers
108 views

Configuring NGINX with SSL and Node.js on CENTOS 6 in EC2

I'm trying to deploy a Node.js web-app on a Centos EC2 instance with an elastic IP. The SSL certificate is already setup and properly configured. I would like to allow only https connection to my app, ...
1
vote
2answers
50 views

how can I add/remove security groups on running ec2 instances which is not included in VPC?

I want to change the security group on running ec2 instance which is not included in VPC. I read that this is possible only if my instance is running in VPC. I tried to create a VPC and include my ...
0
votes
0answers
88 views

systemd-journald: Received request to flush runtime journal from PID 1

I'm using RHEL7 on Amazon EC2 and I'm experiencing issue while booting it up. last few entries from log are: [ 93.000775] systemd-journald[413]: Received request to flush runtime journal from PID ...
2
votes
1answer
52 views

Is it safe to create an AWS EC2 snapshot of a volume that is attached to a running instance?

I'm actually upgrading an instance volumes storage capacity, so I have to create a snapshot of the volume first. It's an 80 gig volume, and I started the snapshot process, but later I noticed that the ...
3
votes
1answer
64 views

How can I get Puppet generated configuration to include internal hostnames of other ec2 instances in my CloudFormation stack?

I have a stack generated by AWS CloudFormation that includes an EC2 instance (running Ubuntu 14.04) and an RDS (database) instance. They are both inside a VPC, which includes a puppet master (not as ...
0
votes
2answers
39 views

Changing ec2 instance type, any side effect?

Hello there i am trying to upgrade ec2 micro instance to small instance. I am going to upgrade it with this. But i assigned elastic ip, lot of alarms, load balancer and mounted s3 on it. I knew that ...
0
votes
0answers
45 views

amazon ec2 ftp RETR hangs

The problem is with an Amazon ec2 instance "Red Hat Enterprise Linux Server 7.0 (Maipo)" (kernel 3.10.0-123.6.3.el7.x86_64) When attempting to RETR a remote file the FTP client hangs indefinitely. I ...
0
votes
1answer
86 views

Amazon EC2 ephemeral drive permissions for SQL Server tempdb

I have an Amazon EC2 instance which is used for long SQL Server queries but is stopped in between. I use the SSD ephemeral drives for tempdb but whenever the instance is started from a stopped state, ...
0
votes
1answer
13 views

Amazon CloudWatch Monitoring Scripts different from df command

Hello there i have a ec2 on aws and i installed Amazon CloudWatch Monitoring Scripts in it. It is working great but i have 1 issue when i run df command on ec2 it showing it's / disk usage 70% but ...
0
votes
0answers
33 views

EC2 Create new Linux user(s) with their OWN Key Pairs?

In EC2, i spinned a CentOS v6.5 instance, and i got a Key Pair as well (of course). But the problem is, i hoped it would be like as usual before that it would creates the ec2-user user, so that i can ...
-1
votes
1answer
20 views

How to turn amazon ec2's status to failed

i'm want to change ec2 instance status to failed to test status check alarm is working. Also i wanted to it should be easily repaired after that. Because i thought changing network setting will do the ...
0
votes
0answers
28 views

adding per-boot script via user data

I am passing cloud config via --user-data-file argument when starting ec2 instance from canonic ubuntu images. It works well but the problem is that some of its commands need to run every boot (i.e. ...
0
votes
1answer
110 views

Is it possible to get metadata about the Elastic Beanstalk environment from the EC2 instance

I'd like to be able to extract information about the current elastic beanstalk environment from my EC2 instance, so that I can include this information in error emails sent from my servers. For ...
1
vote
1answer
152 views

SSL termination point for AWS EC2? ELB or NginX or..?

I have a number of stand alone java web applications that currently run on different ports and URLS. I would like to expose all these apps behind a single port(443) and map the different public URLs ...
0
votes
0answers
64 views

Dedicated per region fee for Amazon EC2 dedicated instances

I'm sorry if this isn't the right forum for this question but I read the rules and it didn't seem to imply I can't ask this... Anyways I'm looking to get some EC2 dedicated instances because I will ...
1
vote
1answer
167 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 ...
0
votes
1answer
233 views

Can't access site on EC2 instance via public ip

I have Amazon EC2 micro instance with window 2008 server and deployed one sample web application over there which uses java and deployed on tomcat 7 server. I am able to access it locally on ...
0
votes
1answer
99 views

What is the easiest approach to get freeRDP installed onto Amazon Linux?

What is the easiest approach to get freeRDP installed onto Amazon Linux? I've tried using RPMForge but am not having luck. Getting errors that dependencies like libpulse.so.0 are missing. Would ...
0
votes
0answers
42 views

Install tuleap on amazon ec2 linux AMI

I'd like to know if it's possible to install tuleap on amazon ec2 linux ami. I searched the net unsuccessfully and when I try to install tuleap with yum, I got confilcts error (with httpd24, ...
0
votes
1answer
63 views

Configuration for Ubuntu SELinux with sshd

I am trying to set-up SELinux in an Ubuntu Trusty server, who is an Amazon EC2 instance. I followed the Debian documentation about installing SELinux. The installation work well as seen by : ...
0
votes
1answer
51 views

CDN and TTL on local EC2 files

I Have a file in CDN and I need a local copy of it in all of my EC2 instances. I like to set a TTL on the local copy of 5 minute, and have one of the following: Have it Fetch automatically as soon ...
0
votes
2answers
54 views

Remote port forwarding through EC2 not working, though address is in use

I have a remote machine running a server which I'd like access to locally. However, I can only SSH into the machine, not use any other ports. I booted up an Amazon EC2 instances and opened all its ...
0
votes
2answers
198 views

Upgrade R to 3.1.1 on ec2 via yum

I have an ec2 instance with an older version (3.0.2) of R that I'm trying to update to the latest (3.1.1). This is not available in the default yum repo, but is available under EPEL. The installed ...
0
votes
4answers
359 views

EC2 instances in VPC and access to the Internet

I am playing a bit with AWS. I created one VPC (with 10.1.0.0./24 net) and two EC2 instances attached to it. One EC2 has 10.1.0.4, second 10.1.0.5 . I allocated one Elastic IP to VPC and associated it ...
0
votes
1answer
1k views

upgrade CentOS from 6.5 to 7 in an EC2 Instance

How can I upgrade CentOS from 6.5 to 7.0 under Amazon Web Services EC2 instance? I have added the redhead upgrade tool to my repository and installed it, called the preupg and then imported the ...
0
votes
1answer
109 views

EC2 firewall not allowing a certain ip address to SSH into any instances regardless of it being added to security group

My security group settings are accurate. I have tried adding the specific ip address that I am trying to connect from and also connections from all ip addresses (0.0.0.0/0), but my connection attempts ...
4
votes
2answers
136 views

Can more than 1 user log onto a single AWS Linux EC2 instance? (Beginner) [closed]

Sorry, I'm a complete newb to AWS. Taking the AWS Essentials course at end of the month. I have a very basic question: can 2 or more different AWS account holders log onto a single AWS Linux EC2 ...
-1
votes
1answer
127 views

Striving to make a RoR app (passenger, nginx) work on EC2

I've installed RoR, ruby, passenger and nginx on EC2 Ubuntu instance. Now I'm striving to make it work and be accessible only for the ec2's address which looks this ...
0
votes
0answers
46 views

Rails environment variables at EC2

I have a Rails app which I want to deploy to EC2 instance. I know how to set the environment variables at Heroku. But how to do that at AWS EC2? I need that because I have to connect to MongoDb and ...
0
votes
1answer
113 views

Connecting to MongoDb at EC2 - how do I know username, host, port, ect?

I manually installed MongoDb on EC2 micro instance using this http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ Now I need to connect to it from a Rails application. Where do I find ...
0
votes
3answers
110 views

Exim won't start - Error loading lookup module mysql.so

I had to change the root password for MySQL on a server. Exim also uses MySQL for users etc. I didn't think Exim/Dovecot used that password, but now things are not working well and I'm pretty sure ...
0
votes
0answers
27 views

Amazon EC2 - set Windows services log on user to another instance user

I have a master "share drive" on a single Windows Server 2012 instance that many secondary instances are mapped to with full control. I have a service that I need to set with administrator rights to ...
0
votes
1answer
87 views

Solution for PHP / MySQL website loading fast in multiple regions [closed]

I host am ExpressionEngine based website on a single Amazon EC2 instance in the US East (Virginia) region. I use Ubuntu. The website allows members to post their content, and displays it for other ...
0
votes
2answers
115 views

crontab fails, cannot find aws executable

I am trying to run a backup script on my ec2 amazon server (ubuntu 14.04), to automatically create a snapshot of amazon ebs volumes. Therefore I am using the aws-missing-tools script: ...
2
votes
2answers
131 views

Static IP in AWS but with possible Load Balance feature

I am playing a bit with AWS. My goal is to setup infrastructure, which will have static IP on outgoing connections (requirement from payment provider which solution has been implemented in our app) ...
0
votes
1answer
31 views

Setup SaaS test environment with EC2 and Nginx

I need help to setup a test environment under Nginx that is able to target a specific EC2 instance. I am using Amazon's Elastic Load Balancer and auto scaling to manage my EC2 production instances. ...
5
votes
2answers
2k views

How can I check /dev/xvda1?

On login to EC2 (Ubuntu) instance, I see *** /dev/xvda1 should be checked for errors *** I can't fsck /dev/xvda1 because it is mounted, and sudo umount /dev/xvda1 fails because it is in use. lsof ...
5
votes
3answers
114 views

Automatically mount volume on EC2

There is a procedure given by Amazon to make a volume available for use that has been attached as a block device. Given that I am attaching an EBS volume that is already ready to be used, is there a ...
0
votes
2answers
69 views

Ubuntu EC2 server not accepting key following OpenSSH upgrade

I've just upgraded OpenSSH on an EC2 Ubuntu instance. sshd -V now gives: OpenSSH_6.6p1 previously showed: OpenSSH_5.9p1 Debian-5ubuntu1.3 However, I can no longer log in with the .pem file from ...
0
votes
2answers
118 views

Stagger automatic windows updates for ec2 instances

I have several Windows ec2 instances that are controlled by an ELB (Elastic Load Balancer). These instances are scheduled to install any new windows updates once per day during non-peak hours. ...
0
votes
1answer
62 views

how to get rid of the “www” in the url with AWS EC2 and Route 53 services.

I'm having a hard time figuring out how to get rid of "www" in the url. I am looking for giving access to the website when you type down mywebiste.co as well as redirecting www.mywebsite.co to ...
0
votes
1answer
35 views

Any way to set a private ip within vpc?

I've tried using the --private_ip_address but nothing. Anyone knows if there is an option to set up a specific ip address inside of a vpc? I don't want to setup an elastic one. I have a vpn connection ...
0
votes
1answer
628 views

Server refused our key (AWS) - Putty

I've just signed up to AWS and launched EC2, downloaded key (.pem) file then generated ppk file using puttykeygen. Using this ppk file I've tried to log in to the server via SSH using Putty but it's ...
0
votes
1answer
60 views

How can I create redundant EC2 instances when also using EBS?

I am searching for a host for a web application that must interact with a few terabytes worth of files. One solution I'm considering is to host the application on Amazon EC2 with multiple EBS ...
0
votes
1answer
73 views

Issues with LDAP authentication over SSL (ldaps)

I'm trying to setup an LDAP server with ldaps support. The server is hosted on ec2 and it has a domain name on route 53. I got an SSL certificate for the route 53 domain (say example.com). When i try ...
0
votes
0answers
10 views

Revert EC2 aliases to default

I have an EC2 instance that I have updated aliases on but I now wish to revert to the EC2 defaults. Basically I created a .profile file and ran source .profile before realising this could potentially ...
0
votes
0answers
13 views

Launch EC2 instance with Logical Root Volume

I need EC2 instance on Amazon Web Services with CentOS 6.5 where the root partition will be Logical Volume. Is there some specific AMI or some available option for choosing before launching the ...
1
vote
2answers
115 views

Deleting a Key Pair for AWS EC2 Instance with EBS

I have an AWS EC2 Instance using EBS and I want to stop the use of the current private key, and use a new one. As I understand it, merely deleting the key pair on the AWS Console just deletes the ...
0
votes
1answer
18 views

Can I search on Date “Today” in Amazon AWS EC2 Mangement Console

I am trying to get a list of instances in the Amazon AWS EC2 Mangagement Console which is filtered on Launch Time before today. With the new Management Console update it's easier than ever (see ...