AWS openshift-install does not allow installation unless Route53...
Working on installing OKD 4.4 in AWS environment. A successful install occurs when Route53 (DNS) configuration exists in the same account where infrastructure gets installed. This link indicates that...
View ArticleHow to avoid "HTTP/1.1 999 Request denied" response from LinkedIn?
I'm making request to LinkedIn page and receiving "HTTP/1.1 999 Request denied" response. I use AWS/EC-2 and get this response. On localhost everything works fine.This is sample of my code to get...
View ArticleGradle 6+ Daemon Cannot accept connection from remote address
Ever since upgrading to gradle 6.x (tested on 6.0, 6.0.1, 6.1.1, 6.2.2) on one EC2 instance running ubuntu 18.04, I can't get a gradle daemon to start, they just endlessly create and crash with the...
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 ArticleAWS CodePipeline Build error
I created an AWS CodePipeline pipeline to pull from Github, build with Jenkins, and deploy to an ElasticBeanstalk project. I can deploy the war to beanStack directly and validate.When i try to do the...
View ArticleHow to automatically mount volume from inside an ECS instance?
I am building an ECS cluster and they need to have a more than 8GB of Scratch space. When creating the cluster, it successfully creates an EBS drive of the space desired on /dev/xvcdz. However that...
View ArticleRouting mesh treating manager node differently than worker nodes
I'm playing with a simple scenario on docker swarm. Three identical (the same template, ports etc.) micro machines on EC2. One of them was set (manually) as a manager, other two as workers.I have added...
View Articlerun windows commands remotely on AWS ec2 instances
I'm new to AWS. Our system administrator provided me AWS-EC2 instance.I'm using it to automate UI testing. I can remote login -windows remote desktop- and do anything (administrator access to the...
View ArticleHow can I use EC2 Primary SSD volume with HDD volume/S3 for website data?...
How can I use EC2 Primary SSD volume with HDD volume/S3 for website data?I am using Ubuntu/centos in EC2 with 200GB SSD storage, we need to upgrade storage with Magnetic HDD/s3 storage for accessing...
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 ArticleBest practice architecture on AWS for supporting 10+ Nextcloud users?
So right now im using the normal t2.micro with nextcloud installed and using s3 as the external storage with data around 1-2 TB.But i feel that t2.micro cant even support 10+ users , ill do some...
View ArticlePointing Domain A record to EC2 and Serving with HTTPS
SO I have a domain pointed into a cPanel. Now I wanted my emails to be hosted in cPanel but my website files should serve from AMAZON AWS EC2. So I changed the A record in the cPanel and it works fine....
View ArticleCloudwatch failedinvocation error no logs available
I have set up a Cloudwatch rule event where an ECS task definition is started when a previous task definition is completed. I can see the event triggers the task definition however it fails.The only...
View ArticleAn efficient method to check that thousands of EC2 instances have a Snapshot?
I'm tasked with developing a way to ensure all our running instances have a current snapshot (usually completed daily). Currently I do the following:Paginate through every instanceCross reference it's...
View ArticleWindows EC2 instance connecting EFS Shared Folder
I have an EFS Linux ec2 instance and a separate Windows ec2 instance. To connect the two, I'm using a 'bridge' ec2 instance with the EFS folders mounted using samba and adding this to the Windows...
View ArticleMultiple Containers Sharing Single GPU
I have configured an ECS service running on a g4dn.xlarge instance which has a single GPU. Inside the task definition I specify the container definition resource requirement to use one GPU as...
View ArticleWinRM - Error 1297: How to give a local user the needed privileges to run Win...
I'm using WinRM on EC2 Instances (Windows 10) to start Jeknins-Pipelinejobs at those instances (jenkins ec2-plugin). In my Pipelinefiles, i have some commands/Tools which use the current user to...
View ArticleHow to get OAuth2 token from an EC2 instance with no browser using nodejs...
I have a node.js app that uses the google drive API to upload a file to a google drive. It is working fine on my local machine. I am now trying to migrate it to an EC2 instance but when I run the app...
View ArticleHow to execute JAR on AWS EC2 instance from AWS Lambda
I have a Java program running on the AWS Lambda and an EC2 instance with a jar file.To execute the jar, I am connecting manually to the instance with ssh: ssh -i "key.pem" user@instanceDNS java -cp...
View ArticleUsing regular expressions in Prometheus relabel_configs source_labels
I'm trying to save the meta labels retrieved from EC2 Service Discovery as target labels. I'm mostly concerned about the tags - every instance contains a lot of them and I would love to gather them all...
View Article