Amazon Web Services (aws)

learn more… | top users | synonyms

48
votes
3answers
90k views

How to run sudo command with no password?

How does the ubuntu user on the AWS images for Ubuntu Server 12.04 have passwordless sudo for all commands when there is no configuration for it in /etc/sudoers? I'm using Ubuntu server 12.04 on ...
10
votes
2answers
4k views

Can I use Amazon Glacier as the backup location?

Amazon Glacier storage is attractively inexpensive. Is there a way to make Backup use it as the backup location?
7
votes
1answer
9k views

How to attach new EBS volume to Ubuntu machine on AWS?

Disclaimer: I'm probably missing something obvious, sorry in advance. I need more EBS disk space for my Ubuntu 11.04 server running on Amazon EC2, and decided to create new volume in addition to the ...
7
votes
2answers
5k views

How do I configure my AWS instance to serve a remote desktop so I can use Windows terminal services to access it?

My evil plan is to serve rdp from an AWS ubuntu instance so I can have a permanent xubuntu desktop as I roam from windows computer to windows computer (or any computer really). It is as easy as ...
7
votes
1answer
780 views

AWS Ubuntu Instance - User rights

I am running an instance of Ubuntu on Amazon Web Services, all working pretty dandy. I've got one little snag that i'm trying to find the answer to atm. Amazon forces you to have another user other ...
7
votes
1answer
356 views

Cloud server stuck on dpkg --configure -a

I have an amazon micro instance which runs one or two things for me. The config is minimal, it mainly acts as a host for a java application and couchdb. I tried to install curl today and got this ...
5
votes
3answers
827 views

What are the differences between the Alestic and UEC AMI images?

I am going to be bringing up a lot of AWS EC2 instances, and cannot find out what the differences are between the images provided by Ubuntu UEC at: http://uec-images.ubuntu.com/releases/ and the ...
5
votes
1answer
2k views

Why do tasks on Amazon Xen instance block for over 120 seconds causing server to hang?

I have an Ubuntu Server 11.04 natty in development with a jetty based webserver running on it. Today I had an outage where I couldn't access ssh or the webserver for an unknown period of time, but ...
4
votes
1answer
1k views

“Could not open display `(null)'” error. How can I fix this?

I'm trying to run an appliaction, but when I run it I get a Could not open display `(null'). Error. Why is this? Specifically I was trying to run scratch (which I installed via aws): ...
4
votes
1answer
100 views

How to add Landscape monitoring to machine 0 in juju

The Juju Landscape charm supports adding relations to services, but there is no visible service in machine 0 to add a relation to. How to add it to Landscape then?
4
votes
2answers
577 views

Ubuntu Jeos like minimal image for server with JRE

I need to create minimalistic server appliance for running on amazon ec2 (ami). I tried debootstrap. its coming upto 200+ MB , its same with vmbuilder also. Are there any ways of getting it down to ...
3
votes
1answer
562 views

How can I use an existing S3 bucket in Backup?

I have an existing Amazon S3 bucket in the Oregon region. How can I use it as the backup location in Backup? Details I've enabled the Amazon S3 backup location, but I don't see a way to specify ...
3
votes
1answer
3k views

How do I get a list of Amazon regions via the command line?

I'd like to see how I can get a list of regions from AWS on the command line so I can quickly look things up, how can I do this?
3
votes
1answer
3k views

“Server refused our key” when logging into Ubuntu on EC2 as a different user

We created an AWS micro instance running Ubuntu 10.04, and we can putty in as the "ubuntu" user using the key pair just fine. Now I've created two new users, but when I try to putty into the instance ...
3
votes
1answer
3k views

How do I set up an SSH SOCKS proxy with Gnome SSH Tunnel Manager?

Generally I use this command to create a local Socks proxy via SSH Tunneling ssh -ND 7777 -i google.pem ubuntu@107.20.x.x Then i configure my applications to use Socks proxy on localhost (i.e. ...
3
votes
1answer
233 views

Can juju be used in other region than the US?

Is there a way to bootstrap and/or deploy a server in Amazon EC2 not in the US region ? In juju's constraints, it seems that we can only choose region a, b, c or d which are in the US. Thanks for help ...
3
votes
1answer
1k views

How to check if Openfire is running?

I know that Openfire 3.7.1 is installed because when i run; apt-cache policy openfire That confirms it. But when I try; /etc/init.d/openfire start The line resets like a successful command. If I ...
3
votes
1answer
434 views

Is it possible to install a newer version of cloud-init on Lucid?

I'm using EC2 user-data to configure certain services before they are launched on newly spun up instances. I've been using #cloud-boothook as the beginning of user data, and it worked like a charm on ...
2
votes
1answer
874 views

ElasticFox on Firefox 4

How are you supposed to install the ElasticFox add-on on Firefox (4.0.1) on latest Ubuntu (11.04)? (ElasticFox is an extension for Amazon EC2 management.) Going to Tools -> Add-ons and searching for ...
2
votes
1answer
89 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 ...
2
votes
1answer
206 views

Expanding an encrypted xfs volume

I am working on expanding a currently attached volume to one of my Ubuntu Amazon AWS servers, but I am having some problems. I already created a new volume from a snapshot, then attached the newly ...
2
votes
2answers
4k views

How to log in to Skype via command line

I am aware of how to install Skype via command line - by adding the Canonical Partner repo and using apt-get. However, how can I log in via the command line? There are two reasons I want to do this. ...
2
votes
0answers
16 views

Amazon aws type keys generation

There is perfect security model when connecting to Amazon AWS instance. But I would like to be able to make such key my self for custom user. To be clear it will be user with git repository, but it ...
2
votes
1answer
229 views

What is skew value in Mongo DB Database replication?

I have just started the three MongoDB replica servers. I do not understand what is this screw value what it should be on which server? Which values should I monitor I have taken 2 screenshots ...
1
vote
1answer
1k views

Configuring Postgresql 9.1 and PostGIS 2 on Ubuntu 13

I'm following this manual to Configuring Postgresql 9.1 and PostGIS 2 on Ubuntu 13 in Amazon AWS, when executing sudo apt-get update I get lot of errors and warnings for example: Err ...
1
vote
1answer
230 views

Juju and no default VPC on AWS

I'm trying to use Juju with AWS but when I bootstrap it says that it cannot set up groups: "No default VPC for this user (VPCIdNotSpecified)". I have no default VPC on AWS and it appears it's not ...
1
vote
1answer
19 views

Why do Ubuntu AMIs only have 8gig on root

I've created an EC2 instance from an Ubuntu AMI but the instance storage is split, with 8gig on the root and the rest mounted at /mnt Why is this? How do I get it all mounted on the root?
1
vote
1answer
501 views

How do I configure matplotlib to work on EC2?

We are trying to set up a virtual development / research cloud environment for our students. Students need to be able to log-in, launch python IDE, and plot some graphs for their homework. We are ...
1
vote
1answer
1k views

mysql show databases not showing databases that are in /opt/bitnami/mysql/data directory

and thank you for taking the time to look at my question. I have an ebs-backed ec2 ubuntu server which is running but unreachable. ** There are very stupidly no recent backups ** I made a snapshot ...
1
vote
1answer
3k views

Add user to an AWS instance

I'd like to add a user to my AWS instance and ssh in as that user with the existing keypair. Right now I can log into my AWS instance as root: ssh -i ~/path/mysshkeypair.pem ...
1
vote
0answers
104 views

PPTP connection failures with client VPN

I'm running trusty on AWS and am trying to connect to a client's VPN. They use Softlayer, whose docs recommend connecting with PPTP. I've been able to connect successfully, but the connection is very ...
1
vote
0answers
534 views

SSH connection failing since I changed server port number

Yesterday I changed the default ports on the server from 22 to 1993 then restarted but now I can't connect at all. I used ssh -i keyname.pem ubuntu@remotehost to connect then sudo vi ...
1
vote
1answer
124 views

Ubuntu EC2 compatible kernels

I am trying to create an Ubuntu 13.10 64 bit AMI with the paravirtual type of virtualization. I have not had problems with the hvm virtualization. I can't figure out what kernel I need to use. For the ...
1
vote
0answers
278 views

Can't mount xfs filesystem after reboot

I have an amazon ec2 instance running Ubuntu 12.04. It has an attached EBS volume formatted as XFS. It's worked fine for a long time. However, after a reboot today, the volume is no longer being ...
1
vote
0answers
22 views

EC2: Should I restart when I get a “*** System restart required ***”? [duplicate]

When I log into my machines after an apt-get upgrades, I often get this message: System load: 0.06 Processes: 86 Usage of /: 28.3% of 7.75GB Users logged in: 0 ...
1
vote
0answers
97 views

How To Set FQDN From Bash Script

Is it possible to set the fully qualified domain name from a bash script? I am using Ubuntu 12.04 LTS. I have an autoscaling group on Amazon and I am using Puppet for configuration. For example, I ...
1
vote
1answer
2k 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
6k views

Filezilla question permission denied file transfer failed

I'm using amazon web services to host my Ubuntu Lamp stack and I'm new to this (of course). I installed LAMP and wordpress to use for my website using this tutorial: ...
1
vote
1answer
553 views

Install LAMP and Zend Framework on Server Version (EC2)

Does anyone have a good step-by-step guide to setting up a server version of Ubuntu as a LAMP server? Preferably with Zend Framework installed? I have been working on a local workstation with the ...
1
vote
0answers
359 views

Reuse device name for EBS volume in Amazon EC2 instance [closed]

I'm running an Amazon EC2 instance (Ubuntu Server version: 11.10 (64 bit)) and am having problems with re-attaching EBS volumes to previously used device names. For example, I launch the instance and ...
0
votes
3answers
3k views

unable to do apt-get upgrade or update: Not Found

When I do sudo apt-get upgrade or update, I get the following: Err http://security.ubuntu.com/ubuntu/ saucy-security/main apport all 2.12.5-0ubuntu2.1 404 Not Found [IP: 91.189.91.15 80] Err ...
0
votes
1answer
691 views

Backup Failed, need help not failing

Backup (Deja Dup) failed to do an initial backup to my Amazon S3, and despite my best Googling efforts, I could not find a solution : ( Here's the error message: BackendException: Error uploading ...
0
votes
1answer
1k views

Ubuntu AMI with swap for micro instance

The default Ubuntu AMI does not have swap enabled, but it is not suitable for production use as the machine just crash when it is Out Of Memory. Are there existing images with swap enabled so I can ...
0
votes
1answer
360 views

Cant access ephemeral storage on Amazon ubuntu instance

I want to utilise my ephemeral storage as mentioned in this question but I seem to be falling at the first hurdle. I can't even see /mnt: ~$ df -ah Filesystem Size Used Avail Use% Mounted on ...
0
votes
1answer
117 views

Off Site backups to VPS/Amazon Web Services/Rackspace

Has anybody here ever gone down the line of using hosted services such as AWS or Rackspace to backup files off site? Was thinking of using Duplicity setup on a server and enable backups using GnuPG ...
0
votes
1answer
55 views

I would like to set up a ubuntu OS on Amazon web server, how do I do this

I am trying to set up a virtual OS (ubuntu, windows) on amazon web services to run apps 24/7 and to have anytime I log in on the internet. Is this a possibility to do and if so how?
0
votes
1answer
220 views

How do I run and Ubuntu desktop in EC2?

we have implemented a cloud using the ubuntu server and amazon ,we installed the uec image given by amazon of ubuntu 9.04 ,we were successfull in accessing through the terminal by using it as ubuntu@ ...
0
votes
1answer
2k views

How to open TCP port 7777 in control panel?

I am initiating file transfer using tcp on openfire server. But I am not able to open the port number 7777, from which I need to send files. I changed the security setting in the admin console panel ...
0
votes
0answers
19 views

security updates

I am using ubuntu14 in aws amazon to run my project on browser. But there is a major problem that I am facing. Every time when I login to the server using putty, I get security updates & upgrades ...
0
votes
0answers
15 views

How do I check the IaaS image hasn't been compromised?

We are deploying in Chinese datacentre, it took us a while to get our account approved with Aliyun (some kind of Amazon AWS). We are protecting all in and out data transfer but what guarantees that ...