django errno 104 Connection reset by peer
I am trying to run my django server on an Ubuntu instance on AWS EC2. I am using gunicorn to run the server like this :gunicorn --workers 4 --bind 127.0.0.1:8000 woc.wsgi:application --name woc-server...
View ArticleCan I receive notifications about new IP addresses connected to my server?
I have a django website deployed on AWS EC2 behind Nginx, without wsgi right now (I'm still in the early stage of development and checking my options). I've noticed in my nginx access log a few new IP...
View ArticleUnable to connect to Selenium Grid running on AWS EC2
I have a Selenium Grid up and running on an AWS EC2 instance. I would like to connect to this from my local machine using Java to fire off my tests via a RemoteWebDriver, however, I'm unable to connect...
View ArticleIPERF3 to check network performance AWS
How are you?I am doing IPERF3 test to check the network performance of my instance on AWSWell, I launched 2 (c5n.metal) instance. Network performance is 100 Gbits/secI got 85Gbits/sec on this iperf3...
View ArticleIsolated iam roles for multiple long running applications on the same server
I have an EC2 server with multiple applications hosted on it. I currently have to live with this setup for now (cant put each app on its own server)I dont want to use a single system wide set of creds...
View ArticleHow to see changes on live after taking latest code base pull in aws ec2...
my website(a MERN app) is live on aws and running with ec2 instance. I m using gitlab repo. So I developed some minor modules in my project and pushed it to gitlab(master branch). now I opened ssh ec2...
View ArticleIs it possible to map different domain names to one IP address in AWS?
I'm not sure if this is the right place to ask this. If it's not, kindly refer me to the most appropriate place. I need to have customized domain names for my clients but only one instance of the web...
View ArticleHow to set up workmail in AWS
I would like to set up my workmail to get an income email but I cannot see how and I have this message "Your domain's incoming mail is not enabled"
View ArticleAnsible ec2.py doesnt return all ec2 instances in the AWS account, it returns...
Trying to run ec2.py with Ansible dynamic inventory and have added the parameters destination_variable = private_ip_address vpc_destination_variable = private_ip_addressin the ec2.ini file. gave...
View ArticleUbuntu Server working from public IP but not through Godaddy DNS record
So the ubuntu server I'm using for a webserver is acting fine when I try to ssh or view the page using it's public IP. However when I try to use the record I just created in GoDaddy it wont work. I am...
View ArticleError:AutoScalingGroup min=1,max=2,desired=1 to place into standby 1...
I have an AWS Autoscaling group for K8s master node on for Dev environment. Now I have to vertically scale this instance from c4.large to c4.xlarge Currently, I have Desired = Min = 1 , Max = 2 While...
View ArticleAWS EC2 centos connection refused issue
I'm running t2 small instance with AWS centos and when i access website sometimes it loads perfectly but some times its load partially and sometimes its giving 502 connection refused error.I have...
View ArticleEC2 instance with EIP in Public subnet not connecting to Internet
I have a strange problem wherein I am able to connect to an EC2 instance in a public subnet in AWS VPC using RDP and HTTP. However after successfully connecting to the instance through RDP, i am not...
View ArticleI am using Putty for connecting to AWS Ec2 but commands are not working
I am using Putty to connect to My Ec2 Aws but having issues commands are not working I am using python3 scriptname.py but it is not working and not responding just gets the cursor to next line but I...
View ArticleHow do I restart my cron service on my Ubuntu AWS instance? [duplicate]
This question already has an answer here:Restarting cron after changing crontab file? 8 answersI have a cron job I've just set up and I'm trying to run /etc/init.d/cron restart while SSH'd into my...
View ArticleSend notification when Document run fails in AWS EC2
I have a SSM Document which runs a shell-script on my EC2 (it basically kicks off a python script that is saved within the EC2). [The full process is: Lambda function turns on EC2 and sends the SSM a...
View ArticleStarting mongod fork, ERROR: child process failed, exited with error number 1
In attempting to run the command mongod --fork --logpath /var/log/mongodb.log On a amazon ec2 32 bit instance (Amazon Linux AMI release 2014.09), I run into the following...
View ArticleIntegrating SonarQube within AWS CodePipeline: Connection Refused
tl;drCodePipeline crashes on the mvn sonar:sonar line of my buildspec.yml file with the following log (I formatted it a bit for better readability):[ERROR] SonarQube server [http://localhost:9000] can...
View ArticleFull stack MERN App unable to make POST API calls on AWS EC2 ....
I currently trying to run a MERN stack app on an AWS EC2 instance. I am using port 3000 for the application and port 5000 (proxy) for the api. The app runs find and I'm only using npm run dev for now...
View ArticleHow to immediately serve a custom error page on Amazon ELB 502 response?
I would like to have a custom "under maintenance" page show up if my webservers on EC2 go down.My current setup 2 A records on Route 53, using DNS Failover with a static page as the secondary and the...
View Article