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 EC2 (Elastic Compute Cloud) is a web service that allows users to rent virtual computing capacity on which they can run their applications. Web service questions are on topic here only if the question is about the operating system or using a PC application hosted there. Otherwise, other ...

0
votes
1answer
16 views

Return to ec2-user from a custom user

When creating an ec2 instance I use a bootstrap script. On the instance I install and configure an nginx web server. For security reasons, I need to create a new user (www-data). The www-data user ...
0
votes
1answer
20 views

How to create bootable image of the entire OS for creating new EC2 instance?

I have a Linux OS installed on my local desktop. Is it possible to create a disk image of the entire OS (including all installed software and libraries and user files) and use it to create Amazon an ...
0
votes
0answers
61 views

Putty closes by immediately after authentication, Cygwin-SSH on the server

I have installed OpenSSH with CYGWIN on Windows Server 2012 R2 server on Amazon EC - I wanted to create my SSH instead of creating instances in the admin dashboard. My SFTP connection with the ...
0
votes
1answer
36 views

Directories missing when connecting to EC2 via FTP client (Transmit)

I successfully connected to my EC2 instance via Transmit (SFTP protocol, ec2-user and pem key). However, while I do have access to the instance after logging in I cannot see nor access any directories ...
0
votes
1answer
50 views

Sudden ssh connection loss on Amazon Linux

Periodically the ssh connection with amazon linux gets stuck and I can not connect anymore. Having to restart the instance ec2 for the connection to return to normal. This is not an idle connection. ...
0
votes
1answer
41 views

sudo python vs python

I have an instance in EC2 running Linux. I am trying to use the AWS Python DAX Client. The Dax Client is operating at the TCP level. I am running one of their example sample code https://github.com/...
0
votes
0answers
53 views

Architecture for Video Rending using FFMPEG on ECS vs Lambda

I have written an AWS lambda function to use ffmpeg and render a image, and an audio clip into a mp4 video. That works, but I've been running into limitations of Lambda even with max memory and ...
1
vote
1answer
70 views

When does ec2 switch between public DNS and public IP?

I have an application using Django, in Django config there is a list of ALLOWED_HOSTS. The application was working fine with the IP xxx.xxx.xxx.xxx in the ALLOWED_HOSTS list. It then threw the ...
0
votes
1answer
40 views

Why would a command line program need user input when it's not specified in the source code

Why would a program that is run from the command line wait for user input (pressing Enter) if it wasn't programmed to do so? I was using an AWS EC2 instance to run a computationally intensive program ...
0
votes
2answers
280 views

console-setup causes apt-get update to hang

I want to automatically install apache2 on my EC2 instance during first load. I am using the base Ubuntu 16.04 LTS image: ubuntuhttps://superuser.com/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-20180522 (ami-...
0
votes
0answers
39 views

How could I list all users with admin priviledges on CentOS?

I did the following commands: sudoers users list: for USER in `cut -d: -f1 /etc/passwd`; do sudo -U $USER -l; done | egrep -A 1 'may run' users on root group: getent passwd | grep -ve 'nologin' ...
0
votes
1answer
56 views

Extracting system info in one go from ec2-instances

I have almost 150 ec2-instances in an account. I want to extract some system info from each instance. I am aware that I can individually login into each system and get the information using the ...
0
votes
0answers
123 views

unable to connect to AWS EC2 server from putty from work place

Hi I'm trying to connect to AWS EC2 instance using putty by giving authenticate PPK file. getting an error unable to connect to server name host not found, i'm trying to connect from work place, is it ...
1
vote
0answers
195 views

AWS - Cannot ping/ssh my machine from AWS EC2 instance

I have created an AWS T2 instance. I created security groups to allow all traffic on all ports only from my local machine's IP. So when I try to ssh from my dev-machine with the pem file (ssh -i ...
0
votes
1answer
30 views

EBS - Volumes Usage is higher than what i actually see

I have an Amazon Free Tier account It's showing that i am using 25.75 GB, I only have a single EC2 instance running, what is this "EBS - Volume" I have a 30GB disc attached to this instance and as ...

15 30 50 per page