Questions tagged [amazon-ec2]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
38 views

Automatic ELB forwarding rules based on path

I have an ec2 container serving inference for ML models, which need to be cached in memory to avoid cold starts. We are using an LRU cache and selecting the model based on a query parameter. As the ...
1
vote
2answers
20 views

L2TP Issues AWS EC2

I'm trying to set up l2tp inside an AWS VPC, I'm having problems. I'm on a MAC OS and I keep getting an error "A connection could not be established to the PPP server. Try reconnecting. If the ...
0
votes
1answer
23 views

Connect instances in auto-scaling group to EC2 instance (coordinator node) without using elastic IP?

I have a setup where I do batch computation using spot instances in an auto-scaling group. The batch computation is coordinated by a "coordinator node", which is just an EC2 instance. I use ...
1
vote
1answer
30 views

How to fix infinite bash loop (bashrc + bash_profile) when ssh-ing into an ec2 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 ...
0
votes
0answers
25 views

Why does curl localhost provide expected output but navigating to ec2 public IP does not using nginx?

I have been stuck trying to get nginx started up on my ec2 instance. All I have done is install nginx and seems to be running as expected within the server. Running curl localhost serves the default ...
0
votes
1answer
52 views

How to choose right AWS EC2 instance for serving MySQL

Recently we have noticed that our application has some errors related to the MySQL load. There are some basic queries on large database (approximately 32 GB) which takes longer time than expected. For ...
0
votes
1answer
17 views

EC2 instance unreacheble after rebooting

I'm making this question because I checked this similar one and I don't know why the owner accepted the first answer, since it did not help him to achieve his goal. I'm not able to add comments too, ...
0
votes
0answers
25 views

Force all successful SSH logins to a single account

Is there a way to force sshd to accept logins on any username but to actually log in to the machine as a specific user? Our team has a number of EC2 instances in AWS, and I can configure them with the ...
1
vote
1answer
49 views

What are some behaviors/patterns that indicate that a host is degrading?

Student here, I'm wondering how we know that hosts are degrading (specifically EC2 instances)? What are some typical behaviors that could indicate the degradation? I looked through the site and ...
-2
votes
0answers
33 views

Kinesis trigger controller doesn't work

I want to build k8s on amazon EC2 triggered by kinesis and write Stream data to dynamoDB. 【problem】 data continues to accumulate in kinesis and also dosen't written to the database. (I don't know how ...
-1
votes
0answers
102 views

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: ...
0
votes
0answers
28 views

Nginx and secondary IP addresses on EC2 instance running Debian Buster

I have an EC2 instance running Nginx on Debian Buster. I added multiple private IPs to the instance (to allow nginx to host multiple websites) using the AWS web console. I then created the script /usr/...
0
votes
1answer
36 views

How to set AWS EC2 security group to allow SSH from all computers connected to 2 different home networks?

I have a Verizon router and a AT&T router at home and multiple computers that are connected to one of the two routers. I just started a free tier AWS EC2 Ubuntu server and would like to set its ...
0
votes
1answer
15 views

Nginx, how to allow IP:PORT requests

What's the proper way to configure Nginx to allow IP:PORT requests like this: //App is deployed on 8086 http://X.X.X.X:8086/?a=xxx&b=yyy&c=zzz ((http requests)) over TCP or UDP //Another app ...
0
votes
1answer
39 views

Best AWS option for occasional video encoding with FFMPEG? [closed]

I have an app which receives a video file and a text from a front-end form, creates a video intro with text, merges this intro with 1 to 2 hour video. Everything is being encoded using ffmpeg, after ...

15 30 50 per page
1
2 3 4 5
416