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

Filter by
Sorted by
Tagged with
3 votes
1 answer
8k views

Installing ffmpeg in Amazon Linux

So as the title says I am trying to install ffmpeg package on amazon linux. I tried the commands: wget http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm ...
nonerth's user avatar
  • 131
3 votes
1 answer
14k views

Amazon Linux add user to group

I am using Amazon Linux AMI image doing development. And I want to add the default user 'ec2-user' into group 'docker' like below: sudo groupadd docker sudo gpasswd -a ec2-user docker When I logged ...
nybon's user avatar
  • 131
3 votes
1 answer
1k views

Can't access YouTrack, unless using Firefox

Problem I cannot access JetBrains YouTrack using Chrome or Internet Explorer, but I can access it using Firefox. Background and troubleshooting that has already been performed It is running on an ...
David's user avatar
  • 231
3 votes
2 answers
431 views

puzzling DNS behaviour (ubuntu)

(All IPs and names have been censored, hopefully) This morning we had some connectivity problems in one of our servers. It turns out that changing our connection configuration to be IP-based (not ...
Reut Sharabani's user avatar
3 votes
2 answers
1k views

Using Amazon EC2 as a webserver with a specific IP address

I'm trying to create a personal/professional website within a college domain. From the university I've requested a static IP address which is directed to this website name: "http://lastname....
JudoWill's user avatar
  • 131
3 votes
1 answer
746 views

How do I create an ami for openSUSE in Amazon ec2?

I need to scale some services from local servers to Amazon ec2. The current production-environment is based on the latest openSUSE. In order to keep things simple, I want to run the instances in ec2 ...
jgaa's user avatar
  • 51
3 votes
0 answers
662 views

Issues Updating aws ec2 Instance

Whenever I try to update my EC2 instance, I get the following error: Loaded plugins: priorities, update-motd, upgrade-helper amzn-main ...
user991654's user avatar
3 votes
1 answer
2k views

Error attaching volume to amazon ec2 instance

error attaching volume to ec2 instance. Error attaching volume: Value (/etc/sda1) for parameter device is invalid. /etc/sda1 is not a valid EBS device name. lsblk gives NAME MAJ:MIN RM SIZE RO TYPE ...
Aus007's user avatar
  • 31
3 votes
1 answer
3k views

How to register shutdown script on Amazon Linux in AWS EC2

I am using Amazon Linux (RH-based distro) in AWS EC2. I followed the structure of /usr/share/doc/initscripts-*/sysvinitfiles to create an init script in /etc/init.d. /etc/init.d/do_something #!/bin/...
vovel's user avatar
  • 31
3 votes
1 answer
1k views

Linux port open locally, but not externally

Port is open locally, but not externally Neo4j is a graph database with a browser and REST interface.I need to start a second instance of neo4j server. I would like to run the process a user with ...
ahoffer's user avatar
  • 355
2 votes
3 answers
10k views

Issues resetting the MySQL password on an Amazon EC2 'Amazon Linux' instance

Been fighting with resetting the root password for MySQL on an Amazon Linux hosted on EC2. Version: mysql Ver 14.14 Distrib 5.5.42, for Linux (x86_64) using readline 5.1 When installing, I ...
brandonscript's user avatar
2 votes
2 answers
6k views

Malicious request in log

I am receiving malicious request therefore i seek your help i log page urls visited and some of them are like http://example.com/?a=fetch&content=<php>die(@md5(HelloThinkCMF))</php> ...
aryanknp's user avatar
  • 123
2 votes
3 answers
305 views

Difference between Fedora 8 and Fedora 15 filesystems

I am running Fedora on my development Amazon EC2 instances. I recently moved from Fedora 8 to Fedora 15. I noticed that when I do a "cat /etc/fstab" I see the following on my Fedora 15: LABEL=...
AAC's user avatar
  • 25
2 votes
1 answer
21k views

Where is the password for newly created EC2 user?

I created a newuser on EC2 following this document AWS doc. Now I can use this user to SSH to the EC2 instance. The only issue is that every time when I need to use sudo (for example, when I do sudo ...
Bruce's user avatar
  • 53
2 votes
2 answers
8k views

How to fix broken "etc/sudoers" ownership on EC2?

Backstory: I was trying to get PHP to execute node, but ended up changing permissions / ownerships on probably more files and folders than I should of. At one point I stumbled upon someone's ...
chamberlainpi's user avatar
2 votes
2 answers
3k views

Feasiblity to host Tor Hidden Service in Amazon EC2?

It seems that it is possible to host a Tor Hidden Service (like an Onion website) in Amazon EC2, but is it feasible to do so? Is Tor allowed to run in Amazon network service? Assuming I use Ubuntu ...
Raptor's user avatar
  • 1,090
2 votes
1 answer
7k views

How to recompile the PHP with --with-pgsql

I have installed the postgresql, php and apache to Amazon Linux AMI. Now I want to use the phpPgAdmin, it prompts "Your PHP installation does not support PostgreSQL. You need to recompile PHP using ...
user avatar
2 votes
1 answer
1k views

Is having Linux VPS same as Amazon EC2 or S3 [closed]

I am new to Amazon services so have no idea, whenever i ask some questions on forums , few recommend Amazon instead of VPS. So i want to know is having Amazon EC2 or S3 is exact replacement of VPS. i ...
Mirage's user avatar
  • 2,903
2 votes
2 answers
3k views

How to install pass (password store) on EC2?

When I docker login on an ec2 Linux machine I get: WARNING! Your password will be stored unencrypted in /root/.docker/config.json. Configure a credential helper to remove this warning. See https://...
Gili's user avatar
  • 1,841
2 votes
2 answers
2k views

Setting CPU Frequency on Amazon AWS

I've setup an EC2 Instance on AWS Amazon, and I'm trying to change the CPU speed of the cores by following these steps: https://software.intel.com/sites/default/files/comment/1716807/how-to-change-...
Teresa Salazar's user avatar
2 votes
2 answers
3k 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: ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-20180522 (ami-...
Erich's user avatar
  • 295
2 votes
1 answer
1k views

Is it possible to convert .img to ami for use with amazon EC2

Is there anyway I can launch an instance in amazon using my laptop's image?
Julia_arch's user avatar
2 votes
1 answer
1k views

Exporting AWS instance

I am trying to export my Amazon EC2 instance to a my S3 bucket as a VMware image. I have successfully set up Amazon CLI tools, added my credentials and can run commands. I am using http://docs.aws....
HelloWorld's user avatar
2 votes
1 answer
9k views

Permission denied in Amazon EC2 while accessing Tomcat 7 folder

I am trying to copy a log file from an Amazon EC2 instance to my local machine (Windows 7). I am using WinSCP438, which is able to connect to the remote (Amazon EC2) server instance. I am trying to ...
Gaurav Agarwal's user avatar
2 votes
1 answer
4k views

AWS EC2 Disable disableApiTermination from the console

I'm new to AWS, I created an EC2 instance and I want to terminate it. However, when I created it, I set disableApiTermination to True, and now, when I'm trying to terminate it, I receive this message: ...
Santeau's user avatar
  • 125
2 votes
1 answer
766 views

Point one Amazon EC2 folder to another instance

I don’t know if this is the right place to ask this. But I have a web app running on an Amazon EC2 instance on AWS. We want to launch a WordPress blog that will be placed at www.myapp.com/blog. I don’...
grpaiva's user avatar
  • 123
2 votes
1 answer
3k views

Amazon-EC2 ports not opened despite Security Groups and iptables configuration

I just rented an Amazon EC2 server, made to host a node.js app which listen to client on port 9001. I did configure the Security Groups and added inbound and outbound rules on this port. There is no ...
pie3636's user avatar
  • 123
2 votes
1 answer
4k views

Broken sudo on amazon web services ec2 linux centOS

So I had no idea of the dangers of messing with the /etc/sudoers file, and was just trying to make a simple change in there. However, I seem to have put something with incorrect syntax in there, ...
Evan's user avatar
  • 123
2 votes
2 answers
4k views

Linux/SSH - get EC2 instance to read local .bashrc file

I have a custom .bashrc file with color codes locally on my Linux machine running Ubuntu 12.04 for both my user and root. I connect to Amazon EC2 instances daily running the same distro and would ...
dcd0181's user avatar
  • 247
2 votes
1 answer
119 views

How to estimate compute time on EC2?

I need to generate data samples for my thesis, using some R/C++ code I've written. It can be embarrassingly parallel, and I've generalized it to run on local multicore machines without much trouble. ...
Patrick McCarthy's user avatar
2 votes
1 answer
2k views

Connect to Amazon EC2 with NFS

I'm trying to connect to my Amazon EC2 from my laptop using NFS. I've installed nfs-utils rpcbind and have the following in /etc/exports /mnt/data/myuser *(rw,async) Then load the changes exportfs -...
Fredrik's user avatar
  • 1,035
2 votes
1 answer
256 views

How do amazon EC2 instant's random DNS entry gets resolved

I am new to EC2 and please help me in understanding this better. When I created an EC2 instance it immediately got a name ec2-67-201-11-147.compute-1.amazonaws.com and I could dig them immediately. ...
Kevin Parker's user avatar
2 votes
1 answer
915 views

How to change the root SSH key on an EC2 instance

I have a running EC2 instance with Debian 10.04LTS that I'd like to change the root SSH key of. How do I do this, since amazon set up that key initially for me? Can I just change it the way I'd ...
Leopd's user avatar
  • 346
2 votes
1 answer
193 views

How to fix infinite bash loop (bashrc + bash_profile) when ssh-ing into a server?

I mistakenly have source .bash_profile in the bashrc file and vice versa. Now when I tried to ssh into the machine (ec2), it will stuck at loading bash and get connection closed in a second. Is there ...
John M.'s user avatar
  • 143
2 votes
1 answer
9k views

Slurm on AWS returns slurmstepd: error: execve(): : No such file or directory

I have installed a Burstable and Event-driven HPC Cluster on AWS Using Slurm according to this tutorial. With this installation I can burst instances and run jobs in the Slurm environment on EC2. ...
Serialchiller's user avatar
2 votes
1 answer
2k views

Enable HTTPS on Amazon AWS for EC2, without cloudfront or load balancer

I have my ec2 instance running on HTTP on my domain. I have created a certificate using AWS certificate manager. It is issued, but not in use. Like in the image here (if it matters it was used DNS ...
Cristian Ghinea's user avatar
2 votes
1 answer
4k views

AWS Security Group Rules Limit

Is there any ways to trigger an alert when an AWS security group reach the maximum limit of 50 rules per group and when a maximum of 5 security group per Instance is created?
user2083200's user avatar
2 votes
1 answer
156 views

DNS , NS and Mail Server configuration for website hosted on Amazon EC2

I created amazon free micro instance on EC2. And hosted my website on that server. IP like - 52.24.220.140 Problem is that , my domain registrar is Directi.com and I don't have mail hosting also ....
virender's user avatar
  • 121
2 votes
1 answer
67 views

Is it safe to work on a server via SSH while uploading files to it via an SFTP file manager?

I'm uploading a large amount of data onto a server via SFTP, and could start setting things up in non-related areas with SSH while waiting, but I'm curious as to whether doing the two simultaneously ...
user avatar
2 votes
2 answers
19k views

Finding my network's public IP address range

I am referring to the following instructions to setup Amazon EC2 web services on my local machine: AWS-Security-Group I do not know how to complete the first bullet under step 6. How do I find my ...
CodeKingPlusPlus's user avatar
2 votes
3 answers
2k views

Keep GUI app running after vncserver shutdown

I am trying to do the following: Connect through SSH to an Amazon EC2 instance Start a VNC server Connect through VNC Start a GUI application and log in Kill the VNC server but keep the GUI ...
user1094206's user avatar
2 votes
3 answers
12k views

Unable to use sudo su - command

I am new in ubuntu, i am trying to run following command sudo su - Bu i am getting following message sudo: unable to open /etc/sudoers: Permission denied sudo: no valid sudoers sources found, ...
pavan tiwari's user avatar
2 votes
1 answer
149 views

User management for linux server

Here is the first part of my question. Should I set up two user accounts; one for the database and another for the web server? Or is it better to have one root user for all purposes?
madhead's user avatar
  • 564
2 votes
3 answers
5k views

How come cd doesn't work in my shell script?

SOLVED I'm trying to make a shell script on my Linux Amazon-EC2 server that will start my Minecraft server but the cd command says it can't find the directory or file when I try to change to the ...
user avatar
2 votes
2 answers
12k views

How do I use a VPN on the Virtualbox Host to give access to all the Virtualbox Guest machines?

I am creating a lab setup on amazon ec2. I want to rent a 15GB Windows instance and run Virtualbox inside it. This Virtualbox will have a lab setup with multiple machines - Windwos, Linux, Solaris ...
Dumbo's user avatar
  • 21
2 votes
2 answers
2k views

Unable to open up port 80 on EC2 using elasticfox

I have launched an instance of EC2. Initially the security group I created did not have the port 80 open. I sshed and installed Apache etc, and now want to open port 80. I am using elasticfox. So I ...
uswaretech's user avatar
2 votes
1 answer
1k views

Configuring what happens when you start an AWS EC2 instance (Windows Server 2019)

I've set up an EC2 instance for cloud gaming. The instance runs Windows Server 2019 and everything works well, except that every time I start the instance I have to RDP in to start Parsec, the program ...
Adam's user avatar
  • 137
2 votes
1 answer
2k views

Downgrade tomcat 8.5.16 to tomcat 8.0.46 in AWS AMI

due to incompatibility (cookies related) I would like to downgrade tomcat 8.5.16 to tomcat 8.0.46 in my AWS AMI. Amazon just automatically updated it in the past day. I tried the following but ...
JonyD's user avatar
  • 131
2 votes
1 answer
142 views

Amazon ubuntu ssh putty fail, WinScp works

I have two Amazon EC2 instances. In both I can use WinSCP to connect using the putty public key ppk. Putty used to work but now for some reason I can't SSH into these instances Username: ubuntu ...
gabrielkolbe's user avatar
2 votes
1 answer
1k views

Skip login screen on boot of Windows Server on EC2

I want to be able to spin up a new machine and immediately VNC into it without having to enter a username or password. I've made a User-Script that starts a TightVNC server on boot, but when I ...
nottombrown's user avatar

1 2
3
4 5
14