Backend Error: 500 internal server error Failed to create starter kit
I'm trying to deploy chef automate using AMI from AWS marketplace. As soon I launch a stack, I do see the instances are being launched. When I try to download Starter kit from chef workstation RDP, it...
View ArticleHow to block accessing the beanstalk web app via ip address
I have deployed my web app in aws beanstalk environment and added a hosted zone and then added SSL cert. So now the website can be accessed through a secure domain name. But I found the same can also...
View ArticleAWSLambdaBasicExecutionRole not able to describe instances
I am trying to write a basic lambda function to start and stop ec2 instaces and following is my code and i created a role by choosing existing AWSLambdaBasicExecutionRole but i am getting following...
View ArticleHow to debug high data transfer from EC2 instance?
I'm new to AWS and EC2. Currently our setup is transferring really high volume of data in the range of 1.5 - 2.0 GB per day.I would like to debug the source of traffic. We have Progressive Web Apps...
View ArticleDeployment failed-Script at specified location: start.sh run as user ec2-user...
I am trying to deploy code from GitHub to CodeDeploy in AWS Amazon. I have sample HelloWorld application.I have appspec.yml that looks like this:os: linux files: - source: / destination:...
View Article[AWS Lambda]: How to fix "version GLIBC 2.27 Not found"
I would like to deploy and test my Lambda function, but, every time I try to do that I am getting following error message:2019-11-11 13:25:33 Mounting /tmp/tmphebm3s_4 as /var/task:ro,delegated inside...
View ArticleHost a flask web GUI using amazon EC2 instance
I was trying to host a flask based web GUI using AWS EC2 instance. But it failed to host the HTML page saying an error'''PermissionError: [Errno 13] Permission denied'''I have given port 80 and 22...
View ArticleHashicorp-vault userpass authentication
I am trying to use Hashicorp vault for storing secrets for service accounts username and passwords --- I am following this link https://www.vaultproject.io/docs/auth/userpass.html to create the user...
View ArticleUnderstanding AWS data transfer cost (EC2-ELB)
I have two EC2 instances behind one Classic Load Balancer.I have one domain (example.com) which points to ELB.I have the traffic coming from web client as well as from within my application.I want to...
View ArticleHow to route domain subfolder with dynamic path name?
I have two project folder, e.g. blog1 and blog2./var/www/html/blog1/var/www/html/blog2/laravelI am doing it as sub folder instead of sub domain.blog1 folder consists of laravel project. Inside blog2...
View ArticleExtraction 7zip script doesn't work in Windows Server 2019 Task Scheduler
I have created a ps1 script to extract a 3Gb zip folder. It works Whenever I run it from PowerShell ISE but when I add my script to windows server 2019 task scheduler it just says running and it...
View ArticleAre there any cloud gpu available that has runtime of more than 24 hours?
I am using colab for my model training on voice data. But the connection got disconnected after 12 hours ? Is there any other gpu service(A paid one) that can let us use the gpu for more than 12 hours ?
View ArticleNodeJS AWS-SDK Does Lambda function need VPC configuration even for default VPC?
I've a Lambda function that will be triggered by Cloudwatch Scheduled Events which will then list the EC2 instances associated with a tag and then stop the instances. All instances are in default VPC....
View ArticlePython script fails with a lot of data
I wrote a python script that seemed to work pretty well. It lists EC2 instances in AWS and then writes them to our Confluence wiki.If it processes one environment with 10 servers it works and writes to...
View ArticleHow to update aws auto-scaling group min & max configurations using lambda
I am trying to come up with a solution for aws cost optimization. I am able to do it with cloudwatch rule and Lambda, this approach is working fine if I have to directly stop the instance and no...
View ArticleGetting ec2 instance ID suddenly stopped working
I've been getting an amazon instance ID from within the instance itself for over a year now by hitting this local web address http://169.254.169.254/latest/meta-data/instance-id. This is the...
View ArticleHow to run Tmux inside userdata?
I am trying to deploy a flask application at the launch of EC2 server through userdata using tmux. I am running below command to do so but it doesn't create a session but it works when I run the same...
View Articlehow to migrate AWS old generation instance to current generation instance...
I am trying to migrate my old geneartion instance to new geneartion instance from paravirtual to hvm machines, I detached pm machine's old root volume and detached the new hvm root volume. I attached...
View ArticleAWS EC2 instance failed to connect with ssh
I have created an AWS EC2 instance (Centos) but I cannot access it using ssh:ssh -i "keypair.pem" root@ec2-IP.compute-1.amazonaws.com I tried to change the keypair.pem permission to 400/600 but to no...
View ArticleEmail notification when an EC2 instance is terminated. The Email should...
This question already has an answer here:Email notification through SNS and Lambda 1 answerI am creating a CloudWatch Rule to get notified with any instance status change. I could see I can transform...
View Article