Amazon Elastic Compute Cloud (EC2) is a cloud-based computing platform.

learn more… | top users | synonyms

1
vote
2answers
346 views

Nginx and pagespeed installation issues in ubuntu

I have put my app (implemented a website with the help of angularjs) on amazon EC2 and have installed nginx and thin on it I am having issues with angularjs with respect to performance. So I decide ...
1
vote
1answer
1k views

How to choose the VGA when setting up the X Server?

I have 2 options of VGA: lspci | grep VGA 00:02.0 VGA compatible controller: Cirrus Logic GD 5446 00:03.0 VGA compatible controller: NVIDIA Corporation GK104GL [GRID K520] (rev a1) It's an instance ...
0
votes
1answer
490 views

AWS Elastic Beanstalk Command Line Tool setup

I have the AWS Elastic Beanstalk Command Line Tool running on my Ubuntu 12.04 LTS Virtual Machine but I can only get it to work if i set the location of EB to the exact website folder I am going to ...
1
vote
1answer
67 views

How can I determine the available amount of disk space when using a charm?

When using juju to deploy a DB, how can I determine the available amount of disk space when using the DB charm? Suppose that I'm using EC2 (or anywhere else) to deploy a PostgreSQL/MySQL/WhateverDB ...
2
votes
1answer
130 views

Understanding Ubuntu juju installed in Amazon Cloud

I will explain, what I have: I created an instance from Ubintu juju AMI from community AMIs. I connected to this instance using ssh. I would like to deploy a "charms" here, in my instance. But, When ...
0
votes
1answer
358 views

Default sudo settings did not require password

This is for a 12.04 ec2 instance. In the man pages it says the default should be to require a password when using sudo. I thought by setting the ubuntu's account password (in case it wasn't set) ...
0
votes
1answer
207 views

JFS support missing on EC2 instance?

I just launched new EC2 instances with the Ubuntu precise and saucy AMIs. I installed jfsutils, but I am unable to mount a JFS volume: $ sudo mount -a mount: unknown filesystem type 'jfs' Looking ...
2
votes
0answers
102 views

How to access Amazon EC2 instance from Ubuntu 13.10?

I have an Amazon EC2 (Windows) instance which has been created for me and I have public DNS, public IP and the public key. I would like to RDP to this instance from Ubuntu 13.10. I have recently ...
0
votes
1answer
976 views

Installing Java on EC2 Instance — Unzip error

I've been trying to install java for a while now on my EC2 instance and I'm having no luck. I keep getting the error: sudo tar xf jdk-7u51-linux-x64.tar.gz gzip: stdin: not in gzip format ...
1
vote
0answers
194 views

How to ssh tunnel to ec2 for running a local python script

I can create a tunnel for FF using the below on Ubuntu. Machine is 12.04 in a VBox on a mac host. -i ~/.ec2/aws_development_oregon.pem -C2qTnN -D 8080 ubuntu@test.com But..what I need is for my ...
2
votes
1answer
4k views

Set fully qualified domain name on EC2 instance

I am trying to set a fully qualified domain name on EC2 instance. I have set CNAME entry in Route53, so when I go to sync1.staging1.mycompany.net, it resolves to the correct instance. What I have ...
2
votes
0answers
296 views

Install java on a wine in a linux terminal server

I have a Windows terminal process (which requires Java). I need to run this in a Linux terminal server (it's an Amazon EC2 instance). I installed Wine, but now I need to install Java. When I try to ...
1
vote
1answer
2k views

What is the preferred way to setup resolvconf on Ubuntu in ec2?

I had been using Ubuntu 10.04.3 or 11.04. In either of these versions, hostnames like ec2-123-45-6-7.compute-1.amazonaws.com would resolve to a private in the 10.0.0.0/8 range. After upgrading to ...
0
votes
1answer
375 views

How to update to 3.12 kernel on EC2?

Updating kernels on EC2 seems a nightmare. I'm on saucy, currently on kernel 3.11.0-14-generic according to uname -a. There's a fix in 3.12 that I need, how can I get it? I tried the instructions ...
2
votes
1answer
1k views

Install Glassfish 4 on Amazon EC2 Ubuntu instance

I have a EC2 instance on AWS running Ubuntu 13.10 and I need to install Glassfish 4 on it. I have found several tutorials on how to install Glassfish 3.x on it, including this one and I tried to just ...
1
vote
1answer
9k views

Yum install fails on Ubuntu EC2 instance

I'm using Ubuntu 12.04.3 on an AWS EC2 instance. This is my first time with an EC2 so it's all new to me. I'm also not the most experienced Linux guy either, so I apologize if this is a stupid ...
0
votes
1answer
295 views

Terminal freezes on running apt-get or vim

I am using Ubuntu 13.04 on my laptop. I ssh to my EC2 instance which is running Ubuntu 12.04.3 and every time I run sudo apt-get update, it prints some lines and then the terminal freezes. ...
1
vote
1answer
3k views

Installing and configuring Snort, Barnyard2 on ubuntu 13.10 in AWS EC2 VPC

I need you help after searching a whole lot and asking AWS my problem is not getting resolved, so I have come here for your help. I have a AWS VPC setup with all ubuntu servers I have a NAT server ...
1
vote
1answer
167 views

Juju boostrap for EC2 fails with access denied, but working credentials

To make a long story short, I'm using s3cmd to manipulate S3 buckets and have copied the access credentials over to my environments.yaml under a new "smlamazon" section, but this fails at bootstrap ...
5
votes
1answer
4k views

Move tmp folder from '/' partition to mounted partition (/mnt)

I have an Amazon EC2 instance which has given me a tiny '/' partition and a large '/mnt' partition. As such, I have moved my mysql data-dir over to the /mnt partition. However I am now having issues ...
0
votes
1answer
123 views

Is it possible to move /boot, /bin, /sbin, etc,?

My client has me working on a project that I'm a little lost on in terms of any kind of sure-fire answer. He uses Amazon EC2 to host his servers -- namely, he utilizes spot requests. If you've used ...
2
votes
1answer
374 views

Juju bootstrap fails with “Temporary failure in name resolution” using Amazon AWS

I have followed the instructions over at https://juju.ubuntu.com/docs/config-aws.html to try and setup myself with a juju environment. It all seemed to setup alright. SSH keys, Gererate config, ...
-1
votes
2answers
313 views

AamazonAWS malware in my ubuntu 12.04 LTS [duplicate]

I need your help. Today I found (using wireshark) many requests are being thrown from my system to some other system and vice-versa. When I did the reverse DNS then I found it is AMAZONAWS malware. ...
1
vote
0answers
142 views

Juju errors when trying to deploy to ec2 [closed]

I am trying to get started with juju on ec2. I have followed the install and configure instructions here: https://juju.ubuntu.com/docs/ and here: https://juju.ubuntu.com/docs/config-aws.html When I ...
3
votes
1answer
293 views

Access key ID error when deploying with juju-core on non-ec2 ec2 clouds

juju-core (1.13) does not support the old pyjuju configuration variables ec2-uri and s3-uri. So I took the Go sources and tweaked a new region in launchpad.net/goamz/aws/aws.go with the necessary API ...
1
vote
0answers
20 views

Ubuntu with unremovable device on Amazon

We are using a 10.04 canonical ubuntu instance image on an Amazon instance store. We recently unmounted a device and detached it from the instance. The problem is that the device still shows up in ...
1
vote
1answer
80 views

How to change phpmyadmin username from root to something else?

I can't seem to find a resource in the internet that explains how to do this from the command line or phpmyadmin. I'm using Ubuntu Server 13.04 in Amazon EC2.
-1
votes
2answers
257 views

Is it safe to remove generic kernel image on EC2?

I was tempted to remove the *-generic kernel image from my EC2 instance since it's not the one running, according to uname. What's running is the *-virtual one. Thing is I'm not sure if it's safe, me ...
2
votes
1answer
869 views

Synchronise clocks on ubuntu running in EC2?

I've got three servers running on AWS EC2 using official Ubuntu AMIs using paravirtualisation. I have noticed their clocks are out of sync by about a minute. NTP is not installed by default in the ...
2
votes
1answer
1k views

Ubuntu not enough space on AWS EC2

I have 25GB volume on EC2. OS is Ubuntu 12.04 LTS. I can connect to it, but cannot even write 1KB. I tried to delete some files and write again - the same result - not enough space. I tried to check ...
1
vote
0answers
63 views

Checking my juju instance through Amazon's AWS console? [closed]

I'm pretty new to juju and I recently followed a few tutorials on how to deploy Wordpress (https://juju.ubuntu.com/docs/getting-started.html) and a sample Ruby on Rails application onto my Amazon AWS. ...
0
votes
1answer
141 views

installing pptpd on ubuntu ec2

I am running this line in ubuntu: sudo apt-get install pptpd and here's the output I get: Reading package lists... Done Building dependency tree Reading state information... Done The following ...
4
votes
1answer
298 views

From a bare minimum Ubuntu to something like an AWS Ubuntu standard image

If I am given a bare minimum ubuntu machine in a private cloud environment with almost nothing installed on it(not even apt-get and ubuntu repositories configured) and the only user is root, what are ...
3
votes
1answer
4k views

Make an Amazon EC2 instance ask for sudoing password

I've launched an Amazon EC2 instance of Ubuntu Server 12.04 and it's all fine except, unlike with my local Ubuntu, the EC2 instance never asks for any passwords when I'm sudoing with the command line ...
3
votes
2answers
381 views

Creating a “deadman” switch using Ubuntu to shutdown EC2 instance

I've put together a simple "deadman switch" using upstart to automatically shutdown my EC2 instances after a period of time. I'm doing this to avoid the dreaded Monday morning blues when you realized ...
4
votes
1answer
377 views

Juju on AWS t1.micro (or other) reserved instances

The smartest (often) way to run instances on AWS is to buy "reserved" instances - for either one or three years. My goal here is to run the WordPress charm on t1.micro instances as per the default ...
4
votes
1answer
181 views

Differences between AWS Ubuntu Image and a fresh install?

I've been using Ubuntu only on AWS for a year now. I'm now trying to set up a virtual environment as similar to my AWS one as possible, and I'm kinda confused. When I spin up an AWS server, the magic ...
1
vote
1answer
2k views

Login to webmin with user has no password (SSH)

I have an simple Ubuntu 12.04 instance running on AWS EC2 I have webmin installed and accessable, but am presented with a login requiring username and password. As part of the AWS install, you don't ...
0
votes
1answer
315 views

Create folders in remote server after ssh login using commands

I need to create folders on the remote server, i try to ssh to the server and then create folders. The logs display that the ssh is successful but it stops after that and the screen stays at the home ...
2
votes
1answer
153 views

juju: deploying lamp charm on ec2 causes instances to terminate

I was running a ubuntu 13.04 instance on ec2. I have juju .7 installed and bootstrapped. when I tried to deploy lamp, it caused the instance to terminate. ubuntu@ip-10-62-73-113:~$ juju status ...
1
vote
1answer
291 views

Where is hadoop-ec2-env.sh in the Hadoop packages?

I'm unable to locate the file hadoop-ec2-env.sh. I've downloaded and intalled hadoop_1.0.4-1_x86_64.deb from http://mirror.olnevhost.net/pub/apache/hadoop/common/stable/ This is the most recent ...
1
vote
0answers
21 views

How do I specify an AMI in Juju? [duplicate]

This solution no longer works How to specify ec2 instance types for different services in a charm? since using the default-image-id option in the environments file has been deprecated.It mentions in ...
3
votes
0answers
643 views

Mail Server: system requirements

I want to create a mail server for personal use. It will be used mainly by me and possibly some family members. The system load will be in the order of 5-10 IMAP mailboxes, all for "human" use: no ...
2
votes
2answers
283 views

Tried to follow the EC2 Juju guide and it fails

I am evaluating Juju and when following the very basic tutorial https://juju.ubuntu.com/docs/getting-started.html, literally following every single instruction to a T, all I end up when trying to ...
1
vote
1answer
894 views

How can I tell if port 465 is open for outbound traffic? [closed]

I have an Ubuntu 12.04 server set up on AWS EC2. I'm trying to configure Railo to use Simple Email Service (SES) via an SMTP call (see "Sending Email with the new SMTP Support for Amazon SES" for ...
2
votes
1answer
126 views

using juju with elastic block storage ( EBS )

Is there a way we can use EBS for ec2 instance with juju. And possibility of scaling the storage after the deployment, Thanks
0
votes
2answers
1k views

How to change the default user name from ubuntu to something else on EC2 AMI

How can I create a new Ubuntu AMI so that when a new instance is created the SSH credentials are copied under a different user than ubuntu (e.g. /home/administrator/.ssh/)? In short, I need to be ...
3
votes
0answers
497 views

How can I monitor cloud-init for errors, and trigger a script when it fails?

I'm using cloud-init to provision servers in AWS, and would like my servers to send an email when they're done (whether they fail or succeed). For successful cloud-init runs, the solution is trivial. ...
9
votes
3answers
3k views

what can be causing /etc/cron.daily/apt to hang?

Lately I've been getting a mail from the server every day, Subject Cron <root@host> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) Body ...
4
votes
1answer
425 views

blocking all outgoing ports and its consequences

Is this the right way to block all outgoing ports? : ufw default deny outgoing But what are the consequences of doing this on amazon ec2? I'm running possibly unsafe perl scripts on my instance and ...