Questions tagged [amazon-ec2]

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

EC2 is a central part of Amazon.com's cloud computing platform, Amazon Web Services (AWS).

EC2 allows users to rent virtual computers on which to run their own computer applications and allows scalable deployment of applications by providing a Web service through which a user can boot an Amazon Machine Image to create a virtual machine. Amazon calls these virtual machines an "instance", containing any software desired.

A user can create, launch, and terminate server instances as needed, paying by the hour for active servers, hence the term "elastic". EC2 provides users with control over the geographical location of instances that allows for latency optimization and high levels of redundancy.

486 questions
28
votes
2 answers

Ubuntu 12.04 on Amazon EC2: /dev/xvda1 will be checked for errors at next reboot?

I'm running the lastest Ubuntu 12.04 AMI (ami-a29943cb) from Canonical on Amazon EC2 and quite often when I log in I get the message: *** /dev/xvda1 will be checked for errors at next reboot *** I have read a bunch of documentation on this and seem…
cwd
  • 1,603
8
votes
2 answers

How to update a running instance on ec2 without losing data?

when i try to connect ubuntu on ec2 I get the following message New release 'natty' available. Run 'do-release-upgrade' to upgrade to it. But when i try to run this command I get this message: This session appears to be running under ssh. It is…
JP.
4
votes
2 answers

Is my Amazon EC 2 running Amazon Linux or Ubuntu?

I am a little confused here. I created a Amazon EC2 instance with Ubuntu Linux 64-bit 12.04 LTS, now when I SSH into it I get the following but on Amazon Management console I get the following What is wrong here?
2
votes
2 answers

How do I install ec2-api-tools in 14.10 utopic?

$ sudo apt-get install ec2-api-tools Reading package lists... Done Building dependency tree Reading state information... Done Package ec2-api-tools is not available, but is referred to by another package. This may mean that the package is missing,…
1
vote
0 answers

Steps to debug failed systemctl service response

I have a Hybris server on an AWS EC2 instance. When I try to start the server using systemctl start hybris.service I get the following error: Job for hybris.service failed because the control process exited with error code. When I try to navigate…
0
votes
1 answer

'101: Network is unreachable' error when I ran sudo apt-get update on Ubuntu 16.04

I launched an EC2 Ubuntu 16.04 server. It is contained in a VPC which is connected to a private VPN. To SSH into the server, you have to connect to that VPN which is also on AWS before having access to the server. After setting everything up and…
0
votes
1 answer

How do I find out what Amazon has stored?

I would like to control/recover/delete files on Amazon. How is this done?
0
votes
1 answer

Tool to fire up EC2 instance and SSH in?

It's a fairly common thing that I want to fire up a clean EC2 instance of a particular version of Ubuntu (usually lucid or precise) and then SSH in to that instance once it's up. I've got some Python code that I use to do it for projects…
jml
  • 1,005
0
votes
0 answers

Cannot load modules/libphp7.so into server: /etc/httpd/modules/libphp7.so: undefined symbol: unixd_config

I'm using linux (ubuntu) ec2 instance and I've installed php 7 and httpd but when I run the following command service httpd start I get the following error Starting httpd: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax…
-1
votes
1 answer

Ubuntu best practices in AWS

Can have someone help me on how to secure the ubuntu ec2 instance in AWS?