Server performance issue while running cakephp web application
Our application server is getting down or slow randomly throughout the day, CakePHP 2 application with Mysql is running on this server. We have some cronjobs set up and all are working perfectly.This...
View ArticleConnect between two AWS EC2 Instances to share data from one EC2 instance to...
I have a specific functional requirement where need to accumulate all waiting messages from SQS to my apache camel component and write the business logic among them.I am using two ec2 instances with...
View ArticleAWS CloudFront and ELB: Is there a way to force connection using only...
I have an ELB which balances some EC2 instances.The ELB exposes the endpoints of the entire system.Now I am creating a CloudFront distribution over this ELB.Is there a way to allow users to connect...
View ArticleEC2 instance refusing access to MongoDB Tools
Recently after changing the security parameters of my MongoDB on my EC2 instance as well as my EC2 security group, I have no longer been able to use mongodump, mongoexport, etc from my local machine....
View ArticleHow to proper set up HTTPS on AWS EC2?
👋I'm running into problems while trying to run my API that's hosted on AWS EC2 through a HTTPS protocol.The API runs normally without the ELB setup, however, after trying to configure (I follow the...
View Articleroute CNAME with nginx and docker
I'm trying to achieve api.com => api.myapp.com without success.main nginx run on aws/ec2 on docker and listen to port 80server { listen 80; server_name myapp.com; location / { proxy_pass...
View ArticleLaravel AWS ec2 deploy not working showing 404 not found
I have logged in to AWS ec2 with ssh and installed vesta cpanel successfully.Then I cloned my project from GitHub on /var/www/Then installed all dependencies with composer installnpm installBut if I go...
View ArticleLinux VM crashing while switching to Docker for Linux
While using DockerDesktop on an EC2 Windows2019 server instance, when i am switching to Linux Containers, I am getting the crash error message for my Linux container. Its mostly because, it is unable...
View ArticleReducing memory consumption of mysql on ubuntu@aws micro instance
I have recently started on a PoC project wherein we are developing a small web app. The initial setup is done on a micro instance from AWS. We are on rails+mysql stack.After installing/running MySQL, I...
View ArticleAmazon Web Services EC2 ssh permission denied (publickey) in Termux
ssh -i key.pem ec2-user@dns works fine in my laptop running ubuntu. I found out about Termux in android and I wanted to test if I could connect on using the same process and instance. I opened Google...
View ArticlePublic ip address of ec2 instance is None while the instance is initializing
I'm trying to get the public ip address of my ec2 instance after it has been created and is running using the following code:instance = ec2_resource.create_instances(ImageId='ami-a0cfeed8', MinCount=1,...
View ArticleWhen using the top command on aws ec2, why are there processes which I've...
When I used my ubuntu in ec2, I saw the daemon processes which I've never installed.As you can see, redis-server and mysqld whose user is 999 are not mine. Why did this happen?Is it related with...
View ArticlePython pipeline on AWS Cloud
I have few python scripts which need to be executed in sequence on AWS Cloud so what are the best and simplest options? These script files are proof of concept so little bit dirty also but need to run...
View ArticleHow to set up HTTPS on an Amazon EC2 instance running Docker [closed]
So, I am unfamiliar with setting up server instances, so please forgive my ignorance. I have set up an EC2 instance with an elastic IP. I have a URL redirecting to that IP using Route 53. I can SSH...
View ArticleMYSQL cant start? AWS Linux
Currently I'm using AWS Linux 2 EC2I successfully installed the mysql on the instance using these commandswget http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpmsudo yum localinstall...
View ArticleHow to put public IP address directly on EC2 Instance network card
When I create a machine on Amazon AWS it always comes with Public and Private IP.I need to have the public IP directly on the server's network card. It's possible?
View Articleobtain public DNS from one of the Elastic Beanstalk instances from the console
We like to connect directly to one of our instances of Elastic Beanstalk, thus we need to know its public IP address.We normally get the public IP of the instance from the EC2 tab in the aws.console...
View ArticleCan you run a rails console or rake command in the elastic beanstalk...
I have set up a RoR environement on AWS' elastic beanstalk. I am able to ssh into my EC2 instance.My home directory is /home/ec2-user, which is effectively empty.If I move up a directory, there is also...
View ArticleHow to get .NET Core 3.1 login to persist across multiple EC2 instances in...
I have a small .NET Core 3.1 app that needs to scale occasionally. I need the logged in users information to persist across any instance that EB spins up. I'd like to do this using the SQL Server RDS...
View ArticleConnect to mongo db from ec2 instance with ip whitelist
Hey I have mongo db Atlas and EC2 server deployed via beanstalk. I would like to have better security with whitelisting only specific IP's that can connect to mongo. Problem is when I log into AWS...
View Article