Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Browsing all 29243 articles
Browse latest View live
↧

Amazon Linux 2 User Creation with SSH Keys

I am trying to create some users with Amazon Linux 2 using adduser command but not able to create ssh files for login for those users.If someone can help me out with the steps it would be really helpful

View Article


How to deploy NodeJS Server app using AWS EC2 public IP?

I'm using NodeJS and Express.js to run my projects.In local app preview mode, everything works fine. But the ugly, long, and temporary preview link provided on each preview just doesn't cut it for me...

View Article


Image may be NSFW.
Clik here to view.

Not able to connect to Socket.io on AWS EC2: NodeJS+NGINX+Letsencrypt

I am trying to connect to the Socket.io server. The server is in NOdeJS. Hosted on AWS EC2 with letsecrypt certificate enabled.I am using https://amritb.github.io/socketio-client-tool/ to test the...

View Article

Can I have hatch rate > 100 for a locust test?

I have a task where I am doing a POST on an api (with --no-web option) ,I have total of 200 users and a hatch rate 200 and --run-time =1m, However when I start the test, locust gives a warning in...

View Article

Image may be NSFW.
Clik here to view.

I'm getting error "Public key for jenkins-2.232-1.1.noarch.rpm is not...

I'm installing Jenkins on AWS EC2 CentOS instance. I'm following this tutorial for installation - "https://medium.com/@itsmattburgess/installing-jenkins-on-amazon-linux-16aaa02c369c". I'm getting the...

View Article


How do I access an AWS ec2 instance from my local computer using the command...

I am wanting to get into the AWS ec2 instance via a net use statement that will copy some files, not sure if this is the correct syntax, and if there are any other ways to access the AWS ec2...

View Article

How to use an AWS custom tag within AWX for defining a group of servers?

I want to run a specific job on a group of ec2 servers with AWX/Ansible. My idea is to add a custom tag to ec2 instances, eg really_custom_tag: slaves, and run an AWX job only on the servers that have...

View Article

Hosting flask with custom domain name on EC2

I am planning to make a Flask based web app, to display certain data. I am planning to launch it in the form of a website. I will get a domain name, and I plan to assign this web-app that domain...

View Article


How to set the time zone in Amazon EC2?

I want to change the time zone set in my Amazon EC2 instance running Ubuntu Linux to local time? My QuestionHow to change the time zone in Amazon EC2?

View Article


What's the target group port for, when using Application Load Balancer + EC2...

I'm trying to setup an ALB which listens on port 443, load balancing to ECS Docker containers on random ports, lets say I have 2 container instances of the same task definition, listening on port 30000...

View Article

Facing authentication issues while deploying Rails App on AWS EC2 using...

I first deployed using git clone in /var/www/AppName directory and was able to successfully deploy it. I then tried using capistrano and link it with my git. I am following this Link to deploy app...

View Article

Image may be NSFW.
Clik here to view.

AWS Lambda Deployment Package Failing to Find ibm_watson

I have an EC2 instance running a Flask API. It has a venv with all the required packages to works (side note, it DOES work). I used the venv to create a deployment package for a lambda (that I have...

View Article

How to keep an ec2 instance spinning a flask app while closing terminal...

I've created a flask application that works on an ec2 instance when I SSH into the instance on a local terminal. However, when I close the terminal, the session expires and I am not able to use the...

View Article


Two EC2s, different regions, default settings, N.Virginia = no internet, Ohio...

I launch a new Amazon Linux 2 AMI t2 micro instance in N.Virginia with all default settings (next, next, next, next...) and once up and running, I ssh into it, and no connectivity to the Internet.I do...

View Article

How to force application version on AWS Elastic Beanstalk

I'm trying to deploy a new version of my Python/Django application using eb deploy.It unfortunately fails due to unexpected version of the application. The problem is that somehow eb deploy screwed up...

View Article


RedHat instance Python installation

When I try to install Python 2.7.8 in RedHat EC2 instance it is saying that "No package python27 available". What does it mean? Does RedHat 7.4 has no Python27 collection in its software bundle? My...

View Article

pm2 hangs and unable to restart process due to high numbers of request

For the purpose of load testing i created an API which request around 2000 bookings at a time and after hitting this API, server(AWS EC2 instance) reaches to the more than 20% of CPU consumption and...

View Article


Image may be NSFW.
Clik here to view.

Terraform created EC2 Instances not associated with ECS Cluster

I'm new Terraform and I'm working on an infrastructure setup for deploying Docker Containers. I've based my ECS Cluster off Infrablocks/ECS-Cluster and my Base Networking on Infrablocks/Base-Network....

View Article

Experiencing very Low CPU utilization of Spark Jobs on AWS EMR

we have a spark job that reads a csv file and applies a series of transformations, and writes the result in an orc file,the spark job breaks into close to 20 stages and runs for around an hourinput csv...

View Article

More than 1 subnet per AZ for AWS Interface Endpoint?

Can I supply more than 1 subnet per AZ to create an AWS Interface Endpoint?When I tried, I got this error:Error creating VPC Endpoint: DuplicateSubnetsInSameZone: Found another VPC endpoint subnet in...

View Article
Browsing all 29243 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>