'ascii' codec can't encode characters in position 1-2: ordinal not in...
I'm trying to run my scrapy crawlers from an EC2 instance on AWS but I'm getting this error that occurs also on Scrapinghub:'ascii' codec can't encode characters in position 1-2: ordinal not in...
View ArticleEC2 t2.micro instance has no public DNS
EC2 t2.micro instance has no public DNSI lanunched an Amazon Web Service (AWS) EC2 Instance, t2.micro, which must be launced into a VPC. The VPC has Auto-assign Public IP set to Yes. DNS resolution:...
View ArticleTrouble installing mysql in EC2 Amazon Linux 2 AMI
So, today I tried installing MySQL in ec2, after a long time I have installed it but in order to log in it is asking root password, which I haven't set. In the terminal, I have noticed the statement...
View ArticleMongodb /var/log/mongodb/mongod.log prevents mongod from starting
I am using mongodb 3.6.3 on a centos 7 aws ec2 instance.2 Questions (only one needs to be answered):Why is the --logpath preventing the mongod command if done manually through the cli with sudo mongod...
View ArticleNodeJS ejs module fail to install on ec2 instance
I have an application I wrote on nodejs. It works fine on my local machine. Then I decided to test it on a live server. I moved the application to an AWS EC2 instance. When I run "npm install", ejs...
View ArticleAWS EC2 ERR_CONNECTION_REFUSED [closed]
AWS EC2 instance just suddenly error 504 or connection refuse. I've check the EC2 server and apache both running ok.Any help would be much appreciated.
View ArticleASP.NET on AWS: Best way to receive/store big blobs?
I have an ASP.NET webapp running on AWS EC-2. Uses MySQL for the usual DB stuff.I need to add the capability where clients upload blobs (typ 30k, though could be up to a couple MB). Maybe a few hundred...
View ArticleInstall SSM agent on my EC2 instances in order to install Inspector agent...
I have an AWS environment with a few instances that has no SSM agent preinstalled and no keypairs, is there a way to install the SSM agent without logging to my instance with SSH?. Thanks in advance...
View Articleansible: obtain private address of all the machine and use it in a jinja...
Have to collect all the private address of EC2 instance with Ansible take the value and loop in a jinja templatefor... node { name "O=texas,L=Huston,C=USA" p2pPort 10008 rpcSettings {...
View ArticleNGINX configuration resolver not working for local host
I have deployed my project(angular) on nginx its running on port 4210. I am using aws ec2 instance. when I am trying to run my project on browser its giving me 500 internal server error.Can you please...
View ArticleWhy is my Boto3 script only running for my default profile?
I wrote this to list out instances by the value of a Costcenter tag for multiple regions. I am passing it two arguments to the script, profile and div. When I change the profile argument it keeps using...
View ArticleEC2 t2.micro instance not accessible over http/https
I have created a new instance of EC2 instance t2.micro free tier Amazon Linux AMI in us-east-1 and used the default security group, subnet and vpc in us-east-1. I can ping the public IP and SSH...
View ArticleIncrease in Elasticsearch search latency after increasing instance memory to...
We are using ES 6.0. We do not have any analysers in our index and all fields are "keyword" OR number OR date field. Our search queries are also simple without any aggregation.We are using EC2, and our...
View ArticleDate() in java shows UTC instead of CST [closed]
I was setting up a new ec2 instance in and deploying my java application there. In my previous server new Date() reutrns CST time but in my new server it returns UTC. What should I do so that it would...
View Articlejava.util.Date not returning Date according to time zone
java.util.Date not returning Date according to time zone.I set the time zone to CST.But it is not working properly. It is returning utc time Please find the attached screen shot. What should I do in...
View ArticleAWS VPC private link - API gateway
I have a VPC with public and private subnets. NLB is deployed to a private subnet, and it has 5 listeners. port 9000 forwarding to targetgroup-01 port 9001 forwarding to targetgroup-02 and so on....
View ArticleDeploying rails docker on ec2 and redirecting traffic from 80 to 4000
I have a dockerized rails app that I am trying to deploy to aws ec2. I managed to make it run in docker on ec2 and map port 4000, docker_compose.yml : app: image: davidgeismar/artifacts-app:latest...
View ArticleUnable to create directory wp-content/uploads/2020/03. Is its parent...
I ran into this issue when installing a theme and tried the two below without luck, any idea?Change the right to 777 Modify the wp-config
View ArticleThe urls on Laravel working locally but not working on AWS EC2 linux centos 7
When I click on login button on my website, its go to http://example.com/login? which is expected but the page Not Found. But if i go to http://example.com/index.php/login? manually, then will go to...
View ArticleCodeDeploy pipeline not finding AppSpec.yml - but is clearly available
I've had this running months ago, so I know it works, but have created a new EC2 instance to deploy my code and stuck at the first hurdle.My Deployment Details runs as follows:Application Stop -...
View Article