PhpMyAdmin (use Amazon Linux EC2 + RDS)
How to show this Server Choice in PhpMyAdmin 5.0.1 i can't find filename 'config.inc.php' in v.5.0.1enter image description here
View ArticleHow to ssh into EC2 instance from lambda function
I'm trying to write my first Python code in Lambda function that will check whether i'm able to SSH (port 22) in to an EC2 instance.I have created an EC2 instance with Security Group 22 CidrIP my...
View ArticleAWS Elasticbeanstalk CLI ignores instace type option
I have a python application that's using Flask, which I'm trying to deploy to Elasticbeanstalk using the EB CLI. I'm following the deployment steps mentioned...
View ArticleIs there a way to take a folder from an EC2 instance and then every day send...
So I have this program, but I want to send the daily status of it into my s3 bucket. Sometimes/frequently I terminate my EC2 instance and I want to be able to save the content on a folder in my EC2...
View ArticleHow to fix Error: mkdir(): Permission denied when running composer
I have a ec2 image and get the following error when trying to create a new laravel project.[ErrorException] mkdir(): Permission deniedHere is the command:composer create-project laravel/laravel mydir I...
View ArticleNot able to send message to AWS SQS using SDK
I have setup an EC2 instance in the private subnet and assigned it an IAM role with permissions to send messages to my SQS queue. Using AWS CLI I'm able to send messages properly but when I do it...
View ArticleMysql service stops everyday at 6AM in EC2
In my AWS server, WordPress is present along with MySQL. And MySQL server stopping automatically by itself every 6 AM (most of the time). Can anyone suggest me a solution?I am providing the log while...
View ArticleI am getting "Network Error: connection timeout" error
I am getting network error: connection timeout in my amazon AWS instance after i run sudo ufw enable command. please help how can I login again to my server.
View ArticleFTP upload file failed in Docker container
I have a spring boot app using library apache commons-net I have a FTP server running on AWS EC2. Filezilla connect and upload file normally. Local app connect and upload file normally. When i run this...
View ArticleHow not to deploy under git controled db.sqlite3 file
In my django project, db.sqlite3 is under git control(I chose to do so). However when deploying the project to AWS server(using elastic beanstalk), I would like not to deploy db.sqlite3 file.Database...
View ArticleIterate thru ec2 describe instance boto3
I just started working with boto3 and trying to get specific values for a describe instance call. So for example, if I want to get the 'Hypervisor' value or the Ebs has 'DeleteOnTermintation' value...
View ArticleKey-pair management for build server EC2
I am working on bringing a bit of devops sanity to my environment. Until now, we've all been building releases on our local systems and then scp`ing these builds to the target EC2 instances. This is...
View ArticleRedis Cluster Create Replicas Bind Public IP
We have 6 redis servers running in ports (8001, 8002, 8003, 8004, 8005, 8006). On the redis.conf of every Redis server we bind the ip in different ways like:bind 0.0.0.0 bind PRIVATE PUBLIC bind...
View Articlemove S3 files with Glacier storage class to a different folder
We have a good amount of files that were on the wrong folder in S3 but has since transitioned to Glacier storage class. First thing is we want to restore them so we can move them to the right folders....
View ArticleLimit on Number of Attributes in Table DynamoDB?
Hi I currently have a list of dictionaries I am trying to insert into DynamoDB (each dict as an item). Each item having a hashkey and label1,label2,...label3000 key/value pairs with label# being the...
View ArticleConnecting to EC2 Windows host from Linux
When I use the recommended rdesktop to connect to Windows EC2 host I see from Archlinux:$ rdesktop 54.254.180.73 ATTENTION! The server uses and invalid security certificate which can not be trusted for...
View ArticleHow to set maintenance mode for Laravel 5.8 behind load balancer in EC2...
I want to use Laravel maintenance mode on EC2 instance behind the load balancer because I do not want to touch AWS console for returning maintenance content.Moreover, I want to access my app via web...
View ArticleHow to get IP address range of ec2 instances launched by elastic beanstalk?
My backend is running behind AWS Elastic Beanstalk.I am using a third party API to send SMS. They are planning to put IP address restriction for their API.I have to share IP addresses of my server with...
View ArticleWhy my ttfb is very high when my nodejs application is very fast?
I have nodejs application that I serve html file:const index = resolve('public/index.html'); const html = fs.existsSync(index) ? fs.readFileSync(index, 'utf-8') : ''; app.get('*', (req, res) => {...
View ArticleWhat is difference between R5 vs T3 servers in AWS in terms of network bandwidth
We are using below EC2 instance in AWS environment for our projectt3.2xlargeNow as we are using application where support team is suggesting to use R5 servers to solve issue related to network...
View Article