AWS Guardduty - API is invoked using temp credentials form EC2
Hi Currently reviewing AWS Guardduty finding for Persistence:IAMUser/ResourcePermissions, UnauthorizedAccess:IAMUser/ConsoleLogin,Says that these will generate findings if the 1. API is invoked using...
View ArticleAWS EC2 ftp sftp login not working after restart
I have an AWS EC2 ubuntu server, which was working well two days back. I had to restart the server after some updates and after that i found that the FTP and SFTP is not getting connected.I checked the...
View ArticleLazy loading content web app in amazon EC2
I'll give a context of what happened to understand better. I used Azure services app to keep my application running, but I created a new datacenter on amazon and migrated my web app to the new server.I...
View ArticleConfigure AWS Temporary Redirect(307) uri to return new "Location" as wss
I am hosting a Jetty server on an EC2 instance. I connect to the server using ws from a Python Client. However, sometimes I get a Temporary redirect message from aws and the new "Location" has a http...
View Article"Connect timeout on endpoint URL" when running cron job
I have set a crontab file to run a Python script that creates an JSON file and writes it to an S3 bucket. It runs as expected when executed from the command line, but when I run it as a cron job, I get...
View ArticleNeo4j Large Scale Aggregation - sub-second time possible?
Our team is currently evaluating Neo4j, and graph databases as a whole, as a candidate for our backend solution. The upsides - the flexible data model, fast traversals in a native graph store - are all...
View ArticleBoto3 Call to Lambda Function Works in Dev but Not in Production?
I'm trying to launch an AWS Lambda asynchronously from a Django Python app using Boto3. The following code works fine on my local development system:import boto3 from concurrent.futures import...
View ArticleIs there any way to store files on Amazon EFS using Lambda Functions?
I'm developing an API using API Gateway + Lambda Functions. The company's website is at EC2 and its images are at EFS. I have to develop one API method to upload some images to EFS, but I can't find a...
View Articleis AWS EC2 `Import key pairs` the same as adding public keys to...
I'm trying to familiarized myself with AWS key pairs feature.I have manually added a public key generated by my Cloud9 into .ssh/authorized_keys file on my EC2 server. I can view it and successfully...
View ArticleCan I attach a new IAM role to a running instance or not?
In some case, people might have started an EC2 instance without giving a proper role and want to give it a role so that the instance would have some new privilege.From the AWS doc here, it describes...
View ArticleIntegrating SonarQube within AWS CodePipeline: Connection Refused
tl;drCodePipeline crashes on the mvn sonar:sonar line of my buildspec.yml file with the following log (I formatted it a bit for better readability):[ERROR] SonarQube server [http://localhost:9000] can...
View ArticleUnhandled promise rejection: Error: URL malformed, cannot be parsed
I am new to aws and mongodb at the same time, so I'm stuck at a very basic point in trying to connect to my mongo databse, hosted on an amazon linux ec2 instance. The reason is, I'm not able to build...
View ArticleWordPress wp-admin showing 504 when performing upgrade
My WordPress website is sitting behind AWS CloudFront. It caches practically everything including /wp-admin. During WordPress upgrade, I get HTTP 504 status. Meanwhile, the user facing site continues...
View ArticleWhen a AWS Auto Scaling Group is scaling out which ec2 instance is considered...
When a AWS Auto Scaling Group is scaling out which ec2 instance is considered to be Primary?Meaning if my ASG is scaling out which ec2 instance ASG considers as a base instance?Because if I am making...
View ArticleLicensing the product on cloud(AWS) with monthly Licensing
We own some software with a license. We would like to use on AWS and provide it to customers. For licensing we are using MAC address as unique key, whereas in cloud environment like AWS. 1. Because end...
View ArticleWhy is my AWS EC2 with Ubuntu Linux 16.04.6 LTS using the "deadline" I/O...
I'm working on an AWS EC2 instance to optimize it for I/O (and other parts) for the optimization of a disk-read heavy application (in relation to MySQL usage).Application details:Python 3.5.2 with...
View ArticleAWS EFS Grafana config data is gone after EC2 instance is terminated
I have a grafana container task running in ECS with EC2, I was able to mount the EFS to the EC2 instance with user data script, e.g.echo -e "$EFS_FILE_SYSTEM_ID:/ /mnt/efs efs...
View ArticleNLB Target Group health checks are out of control
I have a Network Load Balancer and an associated Target Group that is configured to do health checks on the EC2 instances. The problem is that I am seeing a very high number of health check requests;...
View ArticleExample of adding secondary CIDR block for a subnet in Cloudformation Template
I'm trying to create a new public/private subnet pair in my VPC stack using Cloudformation but I don't have any IP space left, so I want to add a Secondary CIDR block to my VPC and create the new...
View ArticleNot able to Access rest service deployed in EC2 from another EC2
I have a rest application running in EC2 instance(say win1). I have another EC2 instance(say win2) running in the same VPC as win1. I'm not able to access/call the rest URL exposed in win1 from win2. I...
View Article