Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [amazon-ec2]

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

0
votes
0answers
30 views

SSH connect to a server: “Permission denied (publickey).”

I'm trying to connect to a remote AWS (Ubuntu) server using SSH and keep getting this error msg: Permission denied (publickey). On my local machine, under ~/.ssh/config I have this set: Host ...
0
votes
0answers
13 views

Not able to ping from AWS EC2 instance

In my AWS EC2 instance, I hosted my website few days back. The website has apache, php, mysql and elasticsearch installed. Few days back I updated my site with SSL certification. I configured a ...
1
vote
1answer
39 views

Why does changing a device UUID prevent boot?

While trying to recover my ec2 instance, I noticed I could not mount the root volume of that instance on other machine without generating a new UUID using xfs_admin -U generate /dev/xdfg. (This is ...
0
votes
2answers
47 views

Purchase SSL/TLS and installing on AWS EC2 [closed]

I wondered while I was searching for a good provider where I can buy an SSL/TLS Certificate, because on some sites (RapidSSL) certificates are really cheap (14$/yr) and on other sites (Digicert) are ...
0
votes
2answers
92 views

Server refused our key - AWS

I am getting following error since last few days. Using username "centos". Server refused our key centos@ec2-xx-xxx-xxx-xx.ap-south-1.compute.amazonaws.com's password: It appeared after I ...
0
votes
1answer
53 views

Access secondary EBS volume and change permission of /.ssh directory - AWS

I have attached an EBS Volume(Centos based) with a new EC2 instance(Amazon Linux) as a secondary volume. The purpose of attaching it as a secondary volume is- I want to fix permission of /.ssh ...
0
votes
0answers
46 views

Cuda 10 on AWS: Nvidia GPU unclaimed after restart

I have installed CUDA 10.0 and the associated version of cuDNN on AWS (p2 and p3 instances), running with Ubuntu 16 (I use the AWS Deep Learning image, which comes with multiple older versions of CUDA ...
0
votes
0answers
14 views

How to install SSL on apache2 in EC2 instance [duplicate]

I'm trying to configure my SSL configuration on Amazon Web Services (AWS), I took the certificate through my certificate manager, I installed load balancer and it is working perfectly fine pointed to ...
0
votes
1answer
85 views

How do I install CUDA on an EC2 Ubuntu 18.04 instance?

I've read quite a few guides around the web, gists, and other posts on this exchange and I cannot find anything that works. Every time I get to nvidia-smi it returns that it cannot communicate. ...
0
votes
0answers
30 views

Give my user and wwwdata group full permission to folder and its content

I'd like to know if it's possible to give a folder ("tmp") full (rwx) permission to my user ("ubuntu") and www-data group. I tried with: sudo chown -R ubuntu:www-data /var/www/wondermap/html/tmp ...
0
votes
1answer
29 views

Create Automatic EBS snapshot

I was looking to setup automatic EBS snapshot at a particular time interval (let say once every week), for this I did Google and found that this task can be done using shell script and I found the ...
0
votes
1answer
70 views

Cannot access internet from my Ubuntu 16.04 AWS EC2 Server after some security updates using Webmin interface

All was working perfectly until the update. Today I thought that some security updates of packages will be better for our server security. So, I have updated only security updates using Webmin(webmin....
0
votes
0answers
19 views

bad request when open php folder on apache

I'm working on ec2 ubuntu instance. I've installed apache and php56 on it but when I try to access a folder like that http://domain/foldername I get bad request enter image description here how to ...
0
votes
0answers
24 views

How can I join a single AWS EC2 as worker node to my docker swarm running on my local PC?

I initialized a docker swarm on my local PC (Ubuntu 18.04.1 LTS, Docker 18.09.0) with advertised IP-address and tried to join my launched AWS EC2 (Ubuntu 18.04.1 LTS, Docker 18.09.0, in- & ...
0
votes
0answers
45 views

Error loading gnome-control-center through VNC connection

I have setup ubuntu desktop on an AWS EC2 instance with the following config file: #!/bin/sh export XKL_XMODMAP_DISABLE=1 export XKB_DEFAULT_RULES=base export XDG_CURRENT_DESKTOP="GNOME-Flashback:...
0
votes
0answers
30 views

Can't connect to source After install VNC and viewer

this problem is no update no connect to any sources appear after install VNCserver and vncverwer connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.161), connection timed ...
0
votes
0answers
24 views

gnome-panel not getting displayed on aws ec2 instance

I followed this youtube guide for displaying the GUI of my aws ec2 instance: https://www.youtube.com/watch?v=9BAoJ7JZHr0 The connection through VNC Viewer is established successfully but the desktop ...
0
votes
0answers
177 views

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 ...
1
vote
1answer
127 views

Why does AWS's Ubuntu AMI come with an “ubuntu” user instead of just allowing root login? [duplicate]

AWS's Ubuntu image gets bootstrapped with your credentials being added to a user called ubuntu. After the machine comes up, you can SSH into your new box with the ubuntu user. This user is a sudoer, ...
0
votes
1answer
61 views

Cinnamon crashing on Ubuntu 18.04 EC2 AWS instance

I have an issue with Cinnamon on Ubuntu 18 - EC2 AWS. Cinnamon is crashing whatever I do, see picture bellow: $ sudo apt install cinnamon-desktop-environment lightdm $ sudo apt install tightvncserver ...
0
votes
2answers
302 views

Have Ubuntu Desktop on EC2 with the same GUI as Ubuntu 18.04 LTS on a PC

I am new to Ubuntu and not very much familiar with all the details. I followed the instructions here to create a GUI for an EC2 instance: https://medium.com/@s.on/running-ubuntu-desktop-gui-aws-ec2-...
1
vote
2answers
43 views

Partition not reflecting correct size after growing disk space on EC2

I have an EC2 hosted at Amazon Web Services. Initially my mounted volume was 8 GB and then I increased it to 16 GB. I went SSH'd into my Ubuntu Server and increased the partition size from 8 GB to 16 ...
2
votes
2answers
55 views

Strange symbols in front of suspicious services

I have an EC2 instance running a postfix-dovecot email server. I use an AWS security key to access this EC2 and I consider the security pretty tight. When I run: systemctl list-units --type service --...
0
votes
1answer
22 views

placed conf file in sites-avaialable, document file is there in /var/www/html, enabled site, made entry of domain name and ip in /etc/hosts

I have an aws EC2 instance ubuntu18.04. To host a site i made a conf file in sites-available, placed the document in /var/www/html, has enabled the site with a2ensite and made the host entry in /etc/...
2
votes
1answer
282 views

Unable to use livepatch on new Ubuntu 18.04 instance on AWS

I just tried to install livepatch on my EC2 Ubuntu 18.04 LTS instance running on AWS. Here's the error message I got: 2018/10/12 15:24:29 cannot use livepatch: your kernel "4.15.0-1021-aws" is not ...
0
votes
0answers
50 views

Amazon EC2 / Ubuntu / Restricting user to multiple folders inc. /var/www/html/

I'm trying to give access to our test environment to a contractor but our server has sensitive data on it. I've created a user (contractorsaccount), I've added the user to a new group called ...
1
vote
0answers
12 views

EC2 instace setup with RDS

i have created and EC2 instance and select Ubuntu 16.04. Then setup a RDS instance. i have also installed phpmyadmin on EC2 and that is working fine with localhost and credential i have provided. ...
0
votes
1answer
232 views

Postfiix startup issue ubuntu server after upgrade to 18.04

What started as a suspected internet issue now looks like an issue with postfix Hopefully someone can help me fix? I seem to be having some random connection issues with my amazon AWS I upgraded 2 ...
0
votes
0answers
21 views

Which mysql-server is my server using? [duplicate]

I have ubuntu 14.04 on my aws ec2 instance. I ran following command to find out the mysql-server installations and I got multiple results : dpkg --get-selections | grep mysql Now I would like to ...
0
votes
0answers
169 views

No desktop icons using vncserver

I have followed the instructions here: https://medium.com/@Arafat./graphical-user-interface-using-vnc-with-amazon-ec2-instances-549d9c0969c5 to setup vncserver on my Amazon AWS Ubuntu VM, and the ...
0
votes
0answers
573 views

Cannot change file permission after chmod 400

I am about to prepare for using AWS Jupyter Notebook. However, when using SSH to connect AWS, warning message of unprotected private key file prompted out. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...
0
votes
1answer
217 views

Moving ssh keys to a root-owned location

I found one article where the mentioned about public key - AUTHORIZED KEY location in ubuntu linux system AUTHORIZED KEY LOCATION When a user tries to log in using key-based authentication, the ...
1
vote
1answer
687 views

Unable to login through ssh. Permission denied public key

Hello I used to login from my terminal to my ec2 istance using this command ssh -i mypemfile.pem ec2-user@my-ip I have changed just the directory permission of my folder and and did this sudo ...
0
votes
0answers
667 views

Gnome panel and terminal not working on VNC

I have an Ubuntu 16.04 instance on AWS EC2. I've installed vnc4server, ubuntu desktop and gnome panel to remote GUI. The first time I connected everything was Ok but after I restarted my instance, ...
0
votes
0answers
185 views

AWS Permission denied (publickey) after installing SquirrelMail

Yesterday, after configuration of SquirrelMail, I am not able to login into AWS using .pem file. Log is as below. Also there are many user directory in /home after creating email accounts for users ...
1
vote
0answers
460 views

Upon boot resolv.conf is empty, but then eventually is populated; why?

I have a few 17.10 instances running in Amazon EC2 on a VPC. When I freshly reboot a server (unsure if it happens on a cold boot, I have not tested), the /etc/resolv.conf file shows as empty: # ...
0
votes
0answers
33 views

YARN in EC2 cluster cannot create /logs directory

I have created a 3 instance cluster for Hadoop 2.9.1 and configured all the properties as mentioned here. When I start-all.sh, the DFS starts without any issue however for YARN I get the following ...
0
votes
0answers
68 views

django on aws ec2 gives Bad request(400)? Log shows caught sigterm shutting down?

I have running a site on apache2 using Amazone EC2 machine Ubuntu14.04. It was running fine till i restarted my apache2 server. I was just studying the aws EC2. I have run the sites successfully and ...
0
votes
1answer
19 views

How do I get Landscape to apply USNs to client?

I'm testing out an LDS system on AWS, and one of my client machines, another EC2 instance running 16.04, which has its security group configured to allow HTTPS and HTTP from my server's elastic IP, ...
2
votes
1answer
169 views

Issues with libs on Ubuntu 16.04 (On Amazon EC2 Instance)

I ran the AWS Inspector on an EC2 instance that runs Ubuntu 16.04 (kernel 4.16.0), some issues found and i did not manage to fix them even after doing the required actions. Here are the errors: ...
0
votes
0answers
19 views

Make Ubuntu 16.04 server ask for a password when logged in

I have an ec2 instance created with AWS. I want to make it protected by prompting a password whenever a user log in.
0
votes
0answers
20 views

How to change Key file in Amazon EC2 [without shutdown or IP change]?

I've shared the FTP details (key files, IP & Username), so now i would like to change the Key file. Ubuntu Version - 16.04 Please suggest. Thank you
2
votes
1answer
744 views

Compressing folder on aws instance creates a duplicate

I have a web app in this path var/app/current I use this command to zip everything including hidden files like htaccess zip -r yourfile.zip * .* It generates the zipped file which contains the web ...
3
votes
0answers
256 views

How to get the quota kernel modules on the AWS kernel?

I can't seem to be able to install the quota modules for the Ubuntu 16.04 AWS kernel. I've started the official cloud image (ami-e5d9439a from Ubuntu's Cloud Images site). Checking for the kernel ...
0
votes
0answers
556 views

ssh_exchange_identification: Connection closed by remote host

I am new to servers, so pardon if it's a silly question. I bought a new Mac and downloaded my ssh key pair file for Amazon AWS EC2 from my dropbox. I've tried to connect to server as usual: ssh-add ~...
0
votes
0answers
187 views

How to disable Multi-Queue IO for EBS Volume in Ubuntu 16.04

I have a EC2 instance in AWS running under Ubuntu 16.04, kernel version/build is 4.4.0-1052-aws with some EBS-Volumes attached (/dev/xvd*, driver is xen-blkfront). By default Multi-Queue is enabled ...
0
votes
0answers
579 views

apt-get not working on EC2 Ubuntu 16.04

I have created an EC2 instance with Ubuntu 16.04. I have set up NACL with the following inbound and outbound rules: Inbound Rules: 1 SSH (22) TCP (6) 22 0.0.0.0/0 ALLOW 2 HTTP (80) TCP (6) 80 0.0.0....
11
votes
3answers
7k views

Ubuntu 18.04 LTS release on AWS

Does anyone know when Ubuntu 18.04 LTS will be deployable on AWS Market Place ?
3
votes
2answers
4k views

Official Ubuntu 18.04 image for AWS

I was waiting for release of Ubuntu 18.04 to upgrade my old server and want to create a fresh EC2 instance from Ubuntu 18.04. It's not available yet in "Quick Start" (official AMI) page. But I ...
0
votes
0answers
231 views

Does issuing “apt-get update” command on AWS EC2 ubuntu 14.04 machine upgrades PHP version from 7.1 to 7.2

Please let me know if issuing "apt-get update" command on AWS EC2 ubuntu 14.04 machine upgrades the PHP version from 7.1 to 7.2? I assume that the command only updates the OS variables but not the ...