Why do I get CORS error when server is down?
I have my backend for a project in Node.js which is deployed on AWS EC2 instance it works correctly on all the APIs, but when the server is down due to any reason, a CORS error gets reflected on the...
View ArticleError: sudo: amazon-linux-extras: command not found
System Information:Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-1045-aws x86_64)Problem: Trying to run sudo amazon-linux-extras install epel -y and sudo yum install -y chromium Because i need it for my Discord...
View ArticleI'm receiving a Permission Denied (publickey, gssapi-keyex, gssapi-with-mic)...
I'm attempting to ssh into my EC2 Instance via CentOS. However, I keep get a receiving this error message "Permission Denied (publickey, gssapi-keyex, gssapi-with-mic)" Steps I've taken to resolve this...
View ArticleTerraform unable to create helm_resource, even though EKS Cluster is publicly...
I create an eks cluster like so:terraform { required_version = ">= 1.2.0" required_providers { aws = { source = "hashicorp/aws" version = "~> 4.0" } kubernetes = { source = "hashicorp/kubernetes"...
View ArticleEnable https on ec2 public DNS
What is the best approach to enable https on ec2 public dns? I just have single instance running so i don't think adding load balancer is good approach and I don't have any domain name to point to my...
View ArticleDeleting Perforce depot from AWS EC2 server does not free up space on EC2
I have been running a Perforce server on a free tier (30gb) EC2 instance on AWS. I use it for hobby projects in Unreal Engine.I wanted to fully delete a project + its depot, to free up space. I have...
View ArticleAWS ECS/EC2 task fails to deploy
I'm trying to deploy a small React app to an EC2 instance using ECS but I'm constantly getting the error message Resource handler returned message: "Error occurred during operation 'ECS Deployment...
View ArticleIssues with custom-nginx.conf in AWS Elastic Beanstalk not working
My server has been under this type of attack every day for about 1 year and as far as I have researched, it is a similar type of attack on multiple servers.Django's own security is not fully effective...
View ArticleDocker build is slow on AWS EC2 even if all layers are cached [closed]
I have a Dockerfile that builds on my local PC in a few seconds when all layers are cached. But when I run the same in the pipeline in an AWS EC2 instance, it runs for 8 minutes. I can see that all...
View ArticleUnable to run bitbucket pipeline
I was trying to deploy code to my ec2 instance from bitbucketimage: node:slimpipelines: branches: dev: - step: name: Install dependency package and build caches: - node script: - yarn - yarn build...
View ArticleI am getting Django and s3 bucket error even though I have set correct Django...
This XML file does not appear to have any style information associated with it. The document tree is shown below.<Error><Code>SignatureDoesNotMatch</Code><Message>The request...
View ArticleECS connect container unhealthy during new deployments to ECS EC2
I have several ECS tasks running on EC2 using ECS service connect for internal communication. Sometimes, during new deployments, the ECS service connect container linked to these tasks becomes...
View Articleingress-nginx is not stable in EC2 instance
I am setting up a K8s cluster on my 2 EC2 instances: 1 for master node and 1 for worker node. I install K8s my self (not using EKS).Then I install ingress-nginx to expose my services to the...
View ArticleCannot install issuer for cert-manager k8s [closed]
I have a cert-manager installed:kubectl get pod -n cert-managerNAME READY STATUS RESTARTS AGEcert-manager-7fbbc65b49-c9hqd 1/1 Running 0 10hcert-manager-cainjector-6664fc84f6-q4r6k 1/1 Running 0...
View ArticleAccess to Jenkins using public IP address
I've installed Jenkins on my AWS Windows system. I am able to access it within a system using http://localhost:8080/, but I can't access it outside the system using the public IP...
View ArticleUnable to connect to neo4j using python driver but works from neo4j browser
I'm Trying to setup neo4j instance using ec2 as a docker container.The ec2 is in private subnet and it is accessible using a application load balance.the load balancer has two listeners one for the...
View Articlerope_scaling error | Llama-3.1-70B | Not working even after transformers update
I am just downloading 4bit quantised Llama-3.1-70Bnf4_config = BitsAndBytesConfig(load_in_4bit=True,bnb_4bit_quant_type="nf4",bnb_4bit_use_double_quant=True,bnb_4bit_compute_dtype=torch.bfloat16)model...
View ArticleTrying to make a SSH Tunel
I configurated a bastion server on AWS on my public subnet. I can make direct ssh to the ec2 instance inside the private subnet, using the bastion host.I can connect to the bastion host and check if...
View ArticleUnable to attach volume attach to EC2 instance using Cloudformation
I created a template in which I have an EC2 instance and a volume in the same template. I want to attach the volume to the EC2 instance, but I get a "volume does not exist" error even though I used the...
View ArticleAWS EC2 change public DNS hostname so that it works with Reverse DNS lookup
I've already gone through the following links but couldn't find anything...
View Article