Tagged Questions

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

learn more… | top users | synonyms (1)

2
votes
2answers
76 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
28 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. ...
2
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
101 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
62 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
92 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
55 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
32 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
423 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
45 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
63 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
12 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
78 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
17 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 ...
2
votes
1answer
351 views

Will a SSD storage perform like a magnetic for small root volumes in AWS EC2?

I have a t1.micro instance with 8GB of magnetic EBS volume as it's root disk with a LAMP environment on it. I thought that I will upgrade it to t2.micro with 8GB of General Purpose SSD volume. ...
0
votes
1answer
832 views

ssh: connect to host port 22: Connection refused -> AWS

Just moved offices. Our production servers are on AWS and the Security Groups have being updated to reflect our new External IP. I have tried another computer with the same response both Mac OS X. ...
0
votes
2answers
53 views

SES time sync error

My SES setup was running fine for the last 6 months without any issues. All of a sudden it stopped working yesterday and I'm gettinng the infamous time sync error. Naturally I assumed ntpd had ...
1
vote
1answer
97 views

Windows EBS Volume from snapshot at instance launch is OFFLINE

Using Powershell launching a Server 2012 R2 machine. I can launch an instance from the stock Server 2012R2 AMI with a defined new EBS volume for d: drive, and upon boot, is online, and works fine. ...
0
votes
3answers
108 views

Deny connection to and from a specific hostname on Ubuntu/Apache2

My wordpress EC2 server was probably hacked. When running iftop command I can see that my server sends and recieves data from a hostname name "i157panamamails.com". This hostname never goes away and ...
2
votes
2answers
64 views

DNS failure solved by reboot of lighttpd?

I have a run a fairly busy site for 2 years with this setup for the web server: ec2/Amazon Linux AMI 2014.03.2 on a micro instance lighttpd (latest) godaddy dns This morning, the site was down - ...
0
votes
1answer
54 views

AWS EC2 - Will I maintain SSH access launching an instance from an EBS-backed AMI?

I'm using an Ubuntu machine with Amazon's EC2 service. I've taken an EBS-backed AMI of this computer. If my current instance shuts down, when I launch an instance from the saved AMI, will I ...
2
votes
1answer
223 views

Multiple network interfaces, routing configuration. IP rule fails (debian based instances)

I have debian wheezy based instance with 2 network interfaces (Primary, Secondary). My setup flow: vim /etc/network/interfaces auto eth0 iface eth0 inet dhcp auto eth1 iface eth1 inet dhcp ifup ...
0
votes
1answer
131 views

Windows Server system time drifts badly on Amazon EC2 instance

We've been using an EC2 micro instance for a little remote monitoring for the past few weeks, and it's bothered me badly how the system time is never accurate; no matter how much fighting I did with ...
0
votes
1answer
182 views

DNS A record is not working with Amazon Route 53

I have a domain name from MediaTemple that I would like to point to a server EC2 instance on AWS. On my registrar's web site I specified AWS name servers. Using Route 53 I created specified DNS record ...
0
votes
1answer
95 views

Apache config for heartbeat and proxy pass through to ELB

I am running Apache 2.2.15 on Linux in AWS using ELBs. My goal is to provide two functions: 1) Heartbeat page for my ELB to check to see if Apache is running (/healthcheck.html) 2) For all other ...
0
votes
1answer
166 views

How to move RDS database to different VPC

I didn't select a VPC when creating a MySQL RDS database, so it created it inside an auto-generated "default" VPC. I'm now unable to add it to any of my pre-defined security groups, or access it from ...
-2
votes
1answer
57 views

How to get rid of firewall blockage to ssh to my ec2 instance [closed]

I've made my ec2 instance on AWS and I worked on it at home like a charm and everything went fine (connection wise) Today I went to the library and when I tried to ssh into my ec2 using PuTTy as I ...
-1
votes
3answers
56 views

Is it possible to configure inheritance for EC2 VPC Security Groups?

We'd like to be able to access the instances in our VPC from the various public IPs that we have in our corporate network. Is it possible to create security groups (like operator-security-group) and ...
0
votes
0answers
33 views

Conflicting ip routes with local table on attaching a virtual network interface

I have an EC2 instance with these ip rules: $ sudo ip rule show 0: from all lookup local 32766: from all lookup main 32767: from all lookup default I can attach an elastic network interface to ...
4
votes
1answer
69 views

Incredibly high peak of traffic (Network In) on AWS [closed]

I've found something extremely werid on my EC2 instance today; a peak on the "Network In" that goes beyond anything that had happened before, as you can see in the screenshot. Any idea about how to ...
0
votes
1answer
74 views

Nginx1.6.1: Installing from source not running corectly

I just installed Nginx 1.6.1 from source but it didn't seem to installed correctly. Nginx is running if I service nginx status but when I do nginx -v it outputs command not found. Regular HTML page ...
0
votes
2answers
694 views

ssh timeout issue connecting to an EC2 instance on OS X

I am new to AWS and not a networking expert but curious to know more about it. I created a VPC with a public subnet only. Then i created an EC2 instance using an Ubuntu 14.04 64-bit pv AMI image ...
0
votes
1answer
33 views

Amazon Security Groups: Change Inbound SSH Port

How can I change the Inbound SSH Port on my Amazon Security Group? When adding a new rule for SSH, the Port defaults to 22 and cannot be edited. Is this possible? Please note: This question is ...
0
votes
1answer
141 views

How to get reverse DNS to work for multiple IPs and domains on Windows Server EC2 instance?

I have a EC2 instance setup running hMailServer. I have a primary IP on the system that I am using for example1.com email. I would like to also add a second domain example2.com using a different IP ...
1
vote
0answers
53 views

Available Instance types for marketplace ami's

I based my autoscaling AMI's on the Turnkey Linux nginx AMI from the marketplace. I am now unable to select any of the newer generation instance types; for instance, my autoscaling uses m3.large type ...
0
votes
1answer
85 views

Setup of high-end web server and DB server cluster on Amazon EC2: Is this how it's done? [closed]

EC2, Amazon's Elastic Compute Cloud virtual machine service, has many configuration options. So, I want to confirm that this configuration is correct for a scalable database and web server backend. ...
1
vote
1answer
83 views

Advice for an EC2 Architecture and Deployment Strategy [closed]

My company is currently migrating several websites and PHP web applications (standard LAMP stack) from three in-house servers to Amazon EC2. Because we had only three servers, we clustered several ...
0
votes
0answers
19 views

Drive Mapped On Amazon EC2 Instance Startup Disconnected After Logon

I am launching an Amazon EC2 instance (Windows Server 2012), and on startup (though User Data field), it runs this powershell script: <powershell> NET CONFIG SERVER /AUTODISCONNECT:-1 ...
0
votes
1answer
58 views

How to monitor an Amazon EC2 instance [closed]

Is there a way to monitor ec2 instances without using cloudwatch? I ask this since ec2 instances are basically VPS's, and using output from commands like top, vmstat, htop in scripts may not give the ...
-1
votes
2answers
105 views

Apache optimisation

I'm trying to set properly an apache installation on an aws instance EC2 m3 Large (with 7.5 Gio or RAM). Once or twice a week, apache crash with the message: [Thu Aug 14 12:38:33.552250 2014] ...
-1
votes
1answer
123 views

Amazon EC2 - HTTPS - Certificate body is invalid. The body must not contain a private key

I'm very new to Amazon EC2. I am trying to setup https for my website, I follow the offical instruction from amazon doc: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/configuring-https.html ...
0
votes
1answer
90 views

Using Cloud Formation provisioned security group with specific subnet

Summary I'm attempting to create an AWS CloudFormation template which contains an instance for which I want to select a particular subnet. If I specify the subnet ID then I get the following error ...
0
votes
0answers
32 views

Any objective VPS performance tools available?

Because: there are so many variables when it comes to VPS hosting (noisy neighbors, SSD/HD, host server specs, number of VPSes on host, etc...) VPS hosts like to use fluffy specs (vCPU) to sell ...
1
vote
1answer
34 views

What happens when I delete the first of several AWS EBS snapshots?

On http://aws.amazon.com/ebs/pricing/ it says: "EBS Snapshots [...] For the first snapshot of a volume, Amazon EBS saves a full copy of your data to Amazon S3. For each incremental snapshot, only ...
1
vote
0answers
79 views

EC2 AMI instance store backup grub utility required

Working on backup of whole ec2 volume and image to upload to s3. Using RHEL7 and it internally uses Grub2 as bootloader. EC2 AMI tools requires grub legacy loader and I'm struck up in this loader. ...
1
vote
1answer
78 views

Pull GitHub repo on Ubuntu server start

I have an autoscaling EC2 group and I have a central config using git between servers. They are set up with keys, so they don't need a password. I want to make sure when an instance gets started and ...
1
vote
1answer
55 views

How can I level out my auto scaling checks?

So, I have been playing around with my auto scaling config and my Cloudwatch alarms to try and keep all my instances purring but not roaring. I can't seem to get rid of a constant yoyo. CPU usage ...
0
votes
2answers
174 views

SSH into EC2 with dynamic public IP address

Typically I set ssh aliases as follows: ssh -i ~/path/key.pem ubuntu@public-host-name.compute-x.amazonaws.com But with EC2 instances, the public-host-name changes whenever an instance is stopped and ...
3
votes
0answers
731 views

xen:balloon: reserve_additional_memory: add_memory() failed: -17

We're running Ubuntu 14.04 on an EC2 virtual machine. I've been seeing a lot of these errors in our kernel log: [ 704.032085] xen:balloon: reserve_additional_memory: add_memory() failed: -17 [ ...