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 sites on the network may be more appropriate
655 questions
0
votes
0
answers
38
views
Remote desktop in headless aws ec2 instance
How can I connect to a headless instance with fractional GPU (g6f) using grid drivers? I usually install Sunshine after logging in with nomachine.
I tried with Debian 13, following the steps to ...
0
votes
0
answers
56
views
How to connect to my Windows 10 machine through VPS?
I have a Windows 10 machine at work and I also have an EC2 machine, I wanted to know how I can connect to my Windows via my EC2 machine. I need to have shell access from my windows on my EC2.
I've ...
0
votes
1
answer
669
views
tmux session not accessible on AWS EC-2 (amazon linux) but the script that was started in the tmux session continues to run
I install tmux on my EC2 instance using:
yum install tmux
then i start a tmux session using:
tmux new -s bot
within this session, i run a python script using:
python myscript.py
this script runs ...
0
votes
0
answers
170
views
unable to login via putty ssh to my ec2 linux instance in aws : no supported authentication methods available
i am new in aws,
i created two linux instances : amazon linux and ubuntu linux
I downloaded RSA ppk key pairs + imported to putty, however I am unable to login via putty,
i get this error
no supported ...
-1
votes
1
answer
254
views
can't docker-compose up all at once on ec2 t2.micro
I have 3 services in my compose.yaml, 2 web apps and nginx proxy manager,
on ec2 if I call sudo docker-compose up it will eventually freeze and the instance will become unresponsive ( I have to reboot ...
1
vote
1
answer
486
views
use aws instance connect without port 22 open from anywhere
Right now I can connect to my ec2 instance using aws instance connect (via the browser, aws console site), if I have in my security group port 22 open from anywhere,
I tried to specify instead of 0.0....
0
votes
1
answer
3k
views
How to Automatically Run Script on AWS EC2 Instance Startup?
I would like to create a Python script and run it on an AWS EC2 instance (t3.micro with Windows). I want the script to start automatically when I turn on the instance. Do you think if I set it to ...
-1
votes
1
answer
236
views
EC2 Ubuntu instance with 30GB free space on attached volume says no space left on device
I have an EC2 instance on AWS with 30GB volume attached. When running docker to build an image though, I am encountering this issue of no space left on device.
Actually, running df -h I can see /dev/...
1
vote
1
answer
753
views
Troubleshooting AWS EC2 instance reboot
The company I work with has an AWS EC2 machine which has rebooted yesterday.
I looked at various files in /var/log, but didn't find anything which could give reasons as to why or who has rebooted the ...
0
votes
1
answer
495
views
How do I source an external script in /etc/sysconfig/httpd?
Let's say I have set EnvironmentFile in /usr/lib/systemd/system/httpd.service as follows:
…
[Service]
..
EnvironmentFile=/etc/sysconfig/httpd
I then put the following in /etc/sysconfig/httpd:
...
0
votes
1
answer
444
views
Unable to ssh from one AWS EC2 instance to another in the same VPC. Works from local
Hi I have setup an EC2 Ubuntu instance (A) for use with additional key-pair.
Reason is that I need to connect with myuser to A instead of default user ubuntu.
Got the new pem file from EC2>Network ...
0
votes
0
answers
281
views
Need creative solution for VPN'ing out of China
Help! I am in China and my plants are thirsty. I need a creative solution to VPN into my home network so I can water my plants. VPN has been working fine for the last few days, but suddenly stopped ...
0
votes
0
answers
119
views
Task Affinity on <all processors> after starting with /affinity F on Amazon EC2 instance
I am trying to start an application with a specific affinity because I need it for some experiments. To achieve this, I am trying to set the affinity when starting the application. For this I use the ...
5
votes
1
answer
9k
views
How to turn on IPv6 on an Amazon EC2 instance?
Amazon recently announced they're going to start charging for IPv4 addresses.
How do you tell AWS to allocate an IPv6 address? When I go to my EC2 instance, I see this:
When I try to change the ...
2
votes
0
answers
196
views
Provide SFTP access to all users to mounted s3fs directory on EC2 instance
I have created 10 SFTP users on the EC2 instance and I am able to login to the server. I have an SSH key for all users for authentication instead of a password.
I am mounting the s3 bucket to one ...