Getting permissions problems when trying to SSH bitnami wordpress install
Was trying to SSH to change permissions of a wordpress folder but wasn't able to...bitnami@THE_IP_HERE: Permission denied (publickey). Trying to see if it's the permissions on the key which I may need...
View ArticleCan You Use a Script to Start Spark Cluster Nodes?
I'm running Hadoop and Spark on a four-node cluster in AWS EC2.After doing a lot of web research, it seems the accepted way to start Spark on a cluster (once Hadoop is running) is to:1) Log into the...
View ArticleUpgrade to php 7 and apache 2.4 from php 5.3 and apache 2.2 in Amazon EC2
I have a legacy system in which Apache 2.2.34 (linux) is installed along with php 5.3.29 (CLI).I just want to upgrade my apache to 2.4.x so that I will be able to use php 7.I have tried searching for...
View ArticleFacing err_cert_authority_invalid error with https request in ionic app for ios
I want to fetch data from https://ec2-xx-xx-xxx-xxx.us-west-2.compute.amazonaws.com, but was unable to get data as it shows err_cert_authority_invalidSo, I have tried a fix for this by enabling SSL...
View ArticleGPU based algorithm on AWS Lambda
I have a function which perform some mathematical operations and need a 16gb GPU system, But this function will not be triggered always and rest of time my system will not be in use. I came to know...
View ArticleAWS export image
I am trying to export an AMI from AWS. But it gives me a strange error:Invalid choice: 'export-image', maybe you meant:import-imageI have created a centos machine on ec2 and create an ami from that....
View ArticleNetflix eureka client registering with eureka discovery server using private...
I am implementing micro service Netflix stack using spring cloud. Everything was going well but here is one problem.My discovery server is hosted on digital ocean droplet. All of my eureka client from...
View ArticleDatabase entry failed [duplicate]
This question already has an answer here:Can I mix MySQL APIs in PHP? 4 answersI have created a mysql database instance in AWS free tier account. Which listens on port 3306. And I have one instance up...
View ArticleHow to delete EC2 instance using AWS CLI using EC2 tag or name
I need to delete an Amazon EC2 instance using name or tag using the AWS CLI.How to it is possible?
View Articlescp (secure copy) to ec2 instance without password
I have an EC2 instance running (FreeBSD 9 AMI ami-8cce3fe5), and I can ssh into it using my amazon-created key file without password prompt, no problem.However, when I want to copy a file to the...
View ArticleNginx+Passenger: Passenger stop serving while spawning process during heavy...
I am configuring Nginx+Passenger for my RoR application. My question is related to passenger Spawn methods process and its behaviour.Plateform Ruby 2.4.1 Rails: 5.2 Web server: nginx/1.14.0 App server:...
View ArticleEC2 error: cannot create temp file for here-document: Read-only file system
Looks like my Ubuntu 14.04 EC2 made the fs read-only. cd /var/ (pressing tab for autocomplete) cannot create temp file for here-document: Read-only file systemBut I have plenty of free space and memory...
View ArticleStrange SSH behavior on AWS
i am facing a strange problem in my AWS setup at the moment. I am running a Openldap Multi Master Cluster on AWS with 2 instances present. Those 2 instances are behind an AWS Applicaiton Loadbalancer...
View ArticleHow to download file from website to S3 bucket without having to download to...
I'm trying to download a dataset from a website. However all the files I want to download add up to about 100 gb which I don't want to download to my local machine, then upload to s3. Is there a way to...
View ArticlePDFs in Amazon S3 don't open in Chrome for view
I have a website which is developed in PHP and hosted in amazon server. PDF files that are uploaded in server are not opening for view in chrome browser but this pdf file is opening in other browser...
View ArticleHow to prevent my EC2 instances from automatically rebooting every time one...
UPDATEDFollowing the AWS instance scheduler I've been able to setup a scheduler that starts and stops at the beginning and end of the day.However, the instances keep being terminated and reinstalled. I...
View Articlepostgresql-setup command and postgres service not found on AWS Linux
I have been configuring an EC2 instance with postgreSQL according to the steps outlined in this tutorial. I am using AWS Linux 2018-03 and have installed postgres92 via the following:$ sudo yum install...
View ArticleECS EC2 instance needs to be private and connect to ECS endpoint for...
My question is similar to this one, except the measures taken are not enough to solve my problem.The aim is to run containers in ECS on EC2, which need to have internet access, but do not need incoming...
View ArticleHow to create a VPC endpoint for autoscaling
We have our VPCs not directly connected to internet. So we need CLI --endpoint-url option to send commands to the custom VPC endpoints instead of standard AWS service endpoints e.g.aws sns publish...
View ArticleWhy is my AWS bastion working when its only security group has no rules?
I created a new instance to serve as a bastion so I could SSH into it and use it to connect to my other instances that are in a private subnet. When I created the instance I chose to create a new...
View Article