Questions tagged [aws]

Amazon Web Services (AWS)

Filter by
Sorted by
Tagged with
-2
votes
0answers
20 views

Cyberduck does not remember my credentials

I'm using Cyberduck to get a listing/upload/download from S3. The problem is that it prompts me for the Access Key ID and Secret Access Key on every single operation, despite being instructed to save ...
1
vote
2answers
28 views

How to install aws cli?

What is the best way to install the aws cli? There are a few conflicting resources about this online.
0
votes
1answer
12 views

Can't read and change original pg_hba.conf in PostgreSQL 12

I can't to connect to aws remote ubuntu server where installed postgresql. And i want to connect from my pc to postgres on ubuntu i cant do that: Unable to connect to server: FATAL: no pg_hba.conf ...
0
votes
1answer
31 views

Error with AWS EB CLI after upgrade to Ubuntu 20.04

I realise that I could have easily waited for July 2020, but I upgraded to Ubuntu 20.04 today. I upgraded from 18.04 to 19.10 to 20.04. Everything I've tried so far has worked fine except for AWS EB ...
0
votes
0answers
53 views

My Ubuntu Server is opening my wordpress website with /wordpress after domain

I have 2 ubuntu servers 1 in HostingRaja and 2nd in AWS. I recently installed wordpress in AWS Ubuntu server, but when I opened the public IP in browser it was showing the apache2 default page and ...
0
votes
0answers
11 views

How to output username and ip address in bash prefix when logging into AWS EC2 with ssh?

By default, when creating an ubuntu 18.04 EC2 instance, and logging in with ssh, my bash prefix shows my username and ip address like so: ubuntu-12.123.123.123$. After deleting the default ubuntu user ...
1
vote
0answers
135 views

Tiger VNC Configuration Help (Ubuntu Server 20.04, Ubuntu Desktop DE)

I'm trying to configure Tiger VNC on Ubuntu Server 20.04 via PuTTY. I installed Ubuntu Desktop to use as my desktop environment, but am unsure how to configure the VNC specifically using this DE. Any ...
0
votes
0answers
76 views

urllib.error.HTTPError: HTTP Error 404: Not Found , code runs correctly in my local machine but gives 404 error in Ubuntu

File "Humo.py", line 236, in <module> bot.polling() File "/home/ubuntu/.local/lib/python3.6/site-packages/telebot/__init__.py", line 196, in polling self.__threaded_polling(none_stop, ...
0
votes
0answers
30 views

How can I move var to an EBS service on Amazon AWS EC2?

I have an EBS configured and attached to an EC2 instance. I attached the volume to the instance and then proceeded to follow the instructions here and here. Once I got to this part: sudo shopt -s ...
0
votes
0answers
71 views

Building an AMI with Ubuntu 18.04 and ubuntu-desktop results in an unreachable AWS instance

I'm using packer to provision a custom AMI starting from "Ubuntu Server 18.04 LTS (HVM), SSD Volume Type" (ami-03ba3948f6c37a4b0). Based on a fair amount of trial and error, it seems I can provision ...
0
votes
0answers
16 views

AWS EC2 - Apache2(Ubuntu) does not update webpage after editing file

I've just recently installed Apache2 with a LAMP stack on an Ubuntu 18.04 image on a EC2 instance. After installing everything I cloned a git repo of a project website for one of my courses and begin ...
0
votes
0answers
38 views

Not able to make SFTP changes in MobaXterm

I am new to this SSH thing, I am learning new things. I have using lightsail on AWS. I have installed Ubuntu 18 OS, with apache on it. I have logged in using Private SSH Key from AWS (.pem). I am ...
0
votes
1answer
49 views

How can I run (execute) many files with the same filename wild card using one command?

I am using a desktop Windows program that copies multiple Linux ASCII text job files to an AWS CloudFormation (EC2, Linux), as well as copies data to sub-folders. All of the ASCII text "job files" ...
2
votes
0answers
43 views

Nautilus “Connect to Server” is much slower than the terminal's SSH

In both machines I usually operate on, one at home and another at work, Nautilus seens to work pretty fast when it comes to my local files. However, as soon as I connect it using the SSH option on ...
0
votes
0answers
24 views

debootstrap very slow in Amazon EC2

For some inexplicable reason, running debootstrap is extremely slow in Amazon EC2 instances. I've tried it on various instances and at various times. It feels like Amazon's IP addresses are maybe ...
0
votes
0answers
14 views

I have installed ubuntu desktop in my EC2 ubuntu server but I dont know how to run it

I have runned the next command in ubuntu server in order to use the ubuntu desktop: sudo apt-get install ubuntu-desktop But the terminal says that is instaled How can I run the Desktop?
0
votes
0answers
81 views

postfix/postfix-script: fatal: mail system startup failed

I am using 16.04.4 LTS (Xenial Xerus) as an instance on AWS EC2. I have set up AWS SES (Simple Email Server). When I run sudo postfix start; sudo postfix reload I get postfix/postfix-script: ...
1
vote
1answer
51 views

Desktop in AWS ubuntu bionic instance

I've created a EC2 instance in AWS with Ubuntu 18.04 bionic, and I'm connected with it using Putty Successfully. But I only can see (use) the terminal and don't know how to deploy (either download ...
0
votes
0answers
34 views

owncloud on public ip of AWS EC2 instance

Am trying to access owncloud web interface in an AWS EC2 instance but when i try to setup the configuration and connect to database in a separate private subnet i get the following error from the ...
2
votes
2answers
77 views

How to make AMI images of Ubuntu from instance-store, when Amazon requires Grub, but Ubuntu blocks it?

Ubuntu only has HVM images for Amazon (https://cloud-images.ubuntu.com/locator/ec2/) According to Amazon, you cannot create AMI's at all if you're using grub v2, and starting with an HVM: "GRUB ...
1
vote
2answers
40 views

Setup ping reply

I have Ubuntu machine running on AWS cloud. System not replies to ping from Interet side. How to enable this? I have Enabled UDP port 7 in inbound rule, but this not helped. Content of /etc/ufw/...
0
votes
0answers
22 views

aws documentDB timeout when using aggregate

At this moment, I have an aggregate query on 2 of my collections. But I'm having timeout issue even if I have excellent server resource (6cpu/64g mem) So my order table is just around 300k records ...
0
votes
0answers
31 views

Files disappear when copied to mounted davfs drive, but I can see them from other devices

I have an aws Ubuntu and I mount an external drive to it, like this: sudo mount -t davfs -o noexec http://www.whatever:port//folder/another_folder/another_folder2/ /mnt/another_folder2 After then I ...
0
votes
0answers
175 views

Stuck after reboot - stop on “Reached target Cloud-init target” - EC2 AWS

I have reboot my EC2 instance on AWS and now it stuck on "Reached target Cloud-init target". I cannot access the instance via putty because it gives time timeout. I have reboot again and again and ...
0
votes
0answers
34 views

Why is apache2.conf.swp inside /var/tmp more than 6GB?

I recently created my AWS instance with UBUNTU setup. The website is all live and was running fine for a day or so. However after a day when I open, it kept loading for several minutes. So I somehow ...
0
votes
0answers
235 views

Multi php version using AddHandler via htaccess

I'm using AWS ubuntu instance with webmin installed. Some of my old projects (joomla 2.5) support upto php5.6 only so I have installed php 5.6 by following https://vitux.com/how-to-install-php5-and-...
0
votes
1answer
62 views

Bulk download files from AWS server

I would like to download all the files for a MOOC course. I believe the directory the files are in has private access, while the files have public access. The server is an AWS server so I understand ...
1
vote
1answer
154 views

how to change display name or nickname of ubuntu server? (AWS EC2)

I'm wondering how I can change the displaying name when I log into my server. So for example I SSH into the server and it display my username @ ec2 instance ip. example: username@ip-10.0.0.129 what ...
0
votes
0answers
25 views

Impact of changing swappiness at runtime

On one of my aws ec2 m4.10xlarge instance running Ubuntu 16.04 LTS with 160 GB memory, I want to change the swappiness from the default 60 to 10. Does changing this at runtime using sysctl -w vm....
1
vote
0answers
37 views

Ubuntu 16.04 Kernel updates

How are kernel updates applied for Ubuntu 16.04 AWS Image? If we are running v4.4, do we need to apply security updates for 4.4, OR our system is still vulnerable as the latest available kernel ...
1
vote
1answer
85 views

Unmounting and detaching volumes on AWS ec2 instance not working?

Hello good Ubuntu community! I have an EC2 instance that I'm working with on Ubuntu 16.04 LTS w/ three volumes attached. Device xvda is the normal production volume with all current live data, and ...
1
vote
1answer
63 views

Where can I find release notes/changelog for ubuntu AWS AMIs?

How can I find changelog between two AWS ubuntu images released in this site? https://cloud-images.ubuntu.com/locator/
0
votes
0answers
26 views

Is there any way to login with SSH public Keys to my ubuntu server (which is joined to AD domain using realm)?

I have joined a ubuntu server (18.04, which is already installed with LDAP and authenticating with LDAP) to AWS Simple AD domain. After successful joining via realm, I am able to see my domain users ...
0
votes
0answers
218 views

Migrate linux to AWS error grub

I'm trying to migrate ubuntu 18.04 hosted on AZURE to AWS using Server Migration Server. In step 4, creating the AMI, the following error appears. ClientError: Multiple different grub/menu.lst files ...
0
votes
0answers
112 views

Xrdp login session terminated after login on AWS EC2 Ubuntu 16.04

I connect my instance based on Ubuntu v16.04 on AWS EC2 using PuTTY on Windows 10. In order to use GUI environment on my instance of EC2 Ubuntu, I followed all the instructions referencing "https://...
0
votes
2answers
41 views

Using scp betweeen two machines with same PEM key

I'm trying to use scp to copy a directory between machines. I'm logged into the destination box 10.10.10.98 as ubuntu. (IPs are not real). I want to copy the theme directory my-theme from another box, ...
3
votes
1answer
529 views

How to update binutils to pick up security patches on Ubuntu Xenial

I have several servers running with Xenial (16.04 LTS). I ran a security scanning tool (AWS Inspector) that shows a list of unpatched CVE vulnerabilities on the server. A lot of them relate to ...
0
votes
1answer
713 views

AWS on Ubuntu WSL

I'm using Ubuntu WSL and I installed AWSCLI but since it's also installed on Windows, Ubuntu throw an error since it's trying to use the Windows version one... /mnt/c/Users/jonathan.lafleur/web ...
0
votes
2answers
167 views

How do I create alias for AWS or create SSH config file for connecting Amazon using SSH?

I'm trying to create an alias for Amazon AWS. I have tried alias amazon="ssh -o IdentityFile=~/home/user/Desktop/AWS Machines/file.pem dns.compute.amazonaws.com" But getting ssh: Could not resolve ...
1
vote
1answer
61 views

apt configuration for bionic hosts in EC2

We have an apt repository hosted in an S3 bucket, which we use to deliver packages to workloads in EC2. On xenial, we have had no problem, however using the same configuration on bionic, we are now ...
0
votes
2answers
94 views

settingup juju in aws cloud, we are getting away from Maas

I got my server in aws and machines also in aws cloud. How can I setup juju where juju can use the server in aws for data and spin machines? should i need to install juju in one of the machines as ...
0
votes
2answers
806 views

Getting Active: active (exited) status on code deploy agent aws

I installed Code Deploy agent on my ubuntu server. Ouput of sudo service codedeploy-agent status : Active: active (exited) since Sat 2019-07-20 18:16:37 UTC; 4s ago Docs: man:systemd-sysv-...
1
vote
1answer
528 views

Permission denied: SCP from remote to local

I have been trying to copy a folder from my remote server to my local and saw a lot of other questions and tried quite a few solutions there however no joy for me. This is my command: scp -r -i /...
0
votes
1answer
59 views

Lightsail Domain requests timeout but IP works just fine

Previously asked here but got no responses and was wondering if any of you would be able to answer my question or experienced similar problems. I'm able to access my site via its IP address but not ...
0
votes
1answer
34 views

How to increase python output lines in terminal ubuntu from an AWS instance?

I have an AWS instance which I have connected to via ssh. I want to run my program $python3 -m program.py which works perfectly in the terminal. But it only displays about 20 lines of output, and ...
0
votes
0answers
35 views

How i connect my home ubuntu server with any domain and access outside network

I have an old computer and i have converted into ubuntu server i have installed openssh apache2 and php .I can access it on the network but now i am find a way to connect my server with my domain and ...
1
vote
1answer
722 views

How to fix this compilation error of pngquant: “fatal error: uapi/linux/stddef.h: No such file or directory'”?

(Existing answers do not address this particular situation) Currently the error message is: In file included from /usr/include/stdio.h:33:0, from pngquant.c:37: /usr/src/linux-aws-...
0
votes
1answer
113 views

Which image should I use on AWS China?

I want to run Ubuntu on EC2 in AWS china The ubuntu Amazon EC2 AMI Locator does list some AMIs in the china regions... but they don't seem to be available. Are there any official Ubuntu AMIs pushed ...
1
vote
1answer
876 views

Permission denied (publickey). AWS: Ec2 Connection Error on Ubuntu 18

A while ago i was able to connect to my server using SSH and suddenly it stopped working. I am trying command: ssh -i "mykey.pem" ubuntu@server-ip and Ec2 throws back an exception Permission ...
0
votes
1answer
107 views

Configuring ISCSI timeout settings for AWS Storage Gateway volume gateway

I have an EC2 instance which is configured to attach to an volume gateway volume configured using the AWS Storage Gateway service. The instance connects to the iSCSI interface provided by the volume ...

1
2 3 4 5 6