Questions tagged [amazon-ec2]

Amazon Elastic Compute Cloud (EC2) provides self-service, on-demand, pay-for-what-you-use computing infrastructure resources.

The Amazon Elastic Compute Cloud (EC2) service is part of the Amazon Web Services cloud platform.

EC2 offers computing power in the cloud, on demand. The 'Elastic' part of the name refers to the ability to scale both up and down, as needed.

6563 questions
3
votes
1 answer

Hadoop slaves file necessary?

I'm working on a team trying to create a system for creating Hadoop clusters on EC2 with minimal effort on the part of the user. Ideally, we would like slave instances to only require the hostname of the master instance as user data on boot. The…
Tim Yates
  • 235
  • 2
  • 7
3
votes
4 answers

How Can I Automatically Run Firefox On Ubuntu Server System Startup?

How do I automatically run Firefox on an Ubuntu Server inside the Amazon EC2 cloud as soon as the server starts up? I know how to create my own AMIs and all that jazz. I just need to know how to auto-start firefox. The Ubuntu Edition is 8.04 Hardy.…
darkAsPitch
  • 1,931
  • 4
  • 25
  • 42
3
votes
5 answers

Should I persist images on EBS or S3?

I am migrating my Java,Tomcat, MySQL server to AWS EC2. I have already attached an EBS volume for storing MySQL data. In my web application, people may upload images, which I should persist. There are two alternatives in my mind: Save uploaded…
3
votes
1 answer

Unifi UDMP - Weird connectivity issue, routing/DNS, multiple WAN IPs?

We are experiencing an odd issue, seemingly related to routing or DNS. We have a "hub and spoke" topology using Unifi equipment (UDMP's). Each site connects via IPSEC tunnel to an AWS EC2 instance running VyOS to handle core routing between sites…
boog
  • 220
  • 3
  • 11
3
votes
1 answer

Fresh EC2 instance pending Kernel Upgrade

Just spin up an EC2 instance with Ubuntu, if it is a new fresh instance, isn't supposed the Kernel to be up to date? After I run a sudo apt update && sudo apt install , I receive the message below: Package configuration …
Arrow Root
  • 102
  • 11
3
votes
4 answers

Best way to backup a WordPress site on EC2 instance

My WordPress site is sitting on a single EC2 instance. My site has 60GB worth of files and a 800MB database size. My site is running out of space just by running the Duplicator plugin to back it up. What would be your recommended alternative? EBS…
3
votes
1 answer

Migrating on-premise server with RAID1 to EC2

I have an on-premise physical server running Debian 10 that I would like to migrate to AWS EC2. The server storage consists of two 1TB HDD drives on /dev/sda and /dev/sdb that have been set up as a RAID1 array with mdadm. Most of the capacity of the…
Kaivosukeltaja
  • 205
  • 1
  • 8
3
votes
1 answer

Amazon EC2 instance is out of space because "root" file is gigantic

I've been working lately on an AWS EC2 instance with ubuntu. This is my first experience working with servers, so I'm really new to this. Lately I've noticed my free space has completely filled up for some reason. When I run df -h it gives…
SSC Fan
  • 31
  • 1
  • 2
3
votes
2 answers

Setting up sftp on Amazon Linux 2 with ssh keys, user segregation (sftp vs ssh), different ports, and user directory constraints

TDLR: I have a Catch 22 where, depending on permissions on the user's home directory, I can get the SSH authentication to work, or the user directory constraints, but not both. BTW, I really want to roll my own SFTP server. Please don't recommend I…
Kevin Buchs
  • 353
  • 1
  • 3
  • 20
3
votes
2 answers

Why am I getting "Connection refused"?

I am running a hello-world http server on an ubuntu EC2 instance, let's say, myurl.com. I am unable to curl it from my client: $ curl myurl.com:4296 curl: (7) Failed to connect to myurl.com port 4296: Connection refused When I…
3
votes
0 answers

Can't open port 443 on AWS EC2 fresh instance

I created a fresh EC2 instance, this is the setup: Security Group Inbound rules IP version Type Protocol Port…
Ralexrdz
  • 131
  • 1
  • 4
3
votes
1 answer

SSL converted page is not reachable on the internet

My web page is hosted on AWS.and it was SSL converted. I can see the page from my own computer and smartphone in my home Network and Wifi area. But from the outside (ex: access website from a smartphone outside) the page is not reachable. So I…
3
votes
1 answer

How to debug AWS load balancer failed health check?

I've got an EC2 instance behind a load balancer which is failing the health check. When I look at the target group / targets, the instance says Status: unhealthy, Status details: Health checks failed. The instance itself is fine. How do I…
Shef
  • 243
  • 2
  • 12
3
votes
1 answer

Can Linux RAID 1 account for high latency?

Scenario: we're running a large (3TB total in cluster) Solr installation in EC2. I'm only concerned about disk performance on the read side of things. We suspect that we are limited by disk I/O and specifically get problems when an EBS volume…
Kevin Peterson
  • 205
  • 1
  • 6
3
votes
3 answers

Kubectl error You must be logged in to the server (Unauthorized) when using kubectl

I proceeded with the work referring to the following site (I don't use EKS.I create k8s on ec2 using kops) Getting Started with kOps on AWS When I tried to call kubectl get service I got the message: error: You must be logged in to the server…
likesmartphone
  • 41
  • 1
  • 1
  • 4