Can you attach Amazon EBS to multiple instances?
We currently use multiple webservers accessing one mysql server and fileserver. Looking at moving to the cloud, can I use this same setup and attach the EBS to multiple machine instances or what's...
View ArticleMemory leak in Python application
❓ HelpI am running maskrcnn_benchmark in the server and facing an issue of memory leak. I have made a flask application which when gets a request utilizes 800 MB of memory. On making another request...
View ArticleHow to install NGINX on AWS EC2 Linux 2
I'm new to AWS and trying to understand which version of NGINX I should be installing on my instance. I've found multiple options;Via EPEL as the blog entry Amazon's own (?) version as this answerThe...
View ArticleAWS Ubuntu 18.04 AMI package installation failed
Whenever an AWS autoscaling group launches new ubuntu instance and I try to install any package on that instance it gives me the following error:[stderr]E: Could not get lock...
View ArticleHow to ensure that Private DNS - address does not change in AWS EC2?
in the application I manage, in several places, there are hard-coded references to the Private DNS of an EC2. The code will refer to: ip-(some private IP here).eu-west-1.compute.internal.If I stop and...
View ArticleAWS Ubuntu 1/2 check passed after configuring OpenVPN
I am trying to configure OpenVPN in AWS in Ubuntu but every time I configure it, the instance starts showing 1/2 status passed.I tried disabling source/destination check as well but no luck. Also I...
View ArticleCan't install packages using apt in AWS Ubuntu 18.04 AMI
I have configured a launch configuration in AWS with pre-installed codedeploy agent through user data. When I use this launch configuration in autoscaling group to launch ubuntu 18.04 instance then I...
View Articlehow to invoke lambda from shell script in ec2 instance
I need to invoke the lambda function from the shell script which is in ec2 instance. Is it possible to invoke that. If yes what are the steps to be followed. My requirement is when one job is finished...
View ArticleIssue updating packages from AWS SSM
We are using SSM patch manager for patching EC2 instances. However even after running patch manager, sudo yum check-update command on Ec2 instances shell provides list of packages that needs to be...
View ArticleSetup Kubernetes (version 1.18) cluster on AWS EC2
I am trying to setup Kubernetes on AWS EC2 there are writeups from this website which is...
View Articlehow to add proxy to s3 so i can consume service hosted in EC2 instance?
I am new to aws, I have hosted all UI in s3 bucket and used cloudfont too. Now i have hosted all the restApi in EC2 instance.angular UI -> s3 bucket (example.com)backend SpringBoot restApi -> EC2...
View ArticleCouchdb docker container exit with code 137 but docker state shows OOMKilled...
I am trying to run a hyperledger fabric network which uses couchdb as peer database.I have prepared the network and run in my local machine, it works.But now I want to test my network in AWS ec2...
View ArticleNot able to connect multiple instance of a Spring boot JMS client application...
HI I am running a Spring boot JMS application in docker container in aws ec2 environment. My application running in two containers . While creating a connection to IBM Mq only one instance is...
View ArticleSet up step_adjustment in aws_autoscaling_policy from variable in terraform
I am setting up a module to configure autoscaling in ASGs in terraform. Ideally, I'd like to pass in a list of maps to my module and have it loop through them, adding a step_adjustment for each map in...
View ArticleAWS EC2 hosted website map to domain name from godaddy
I purchased domain name from GoDaddy. www.***ta.comI am using AWS to host virtual machine (EC2 instance).Now my web site is up and running on EC2 instance. I can access my webpage from public IP...
View ArticleAWS EC2 change public DNS hostname so that it works with Reverse DNS lookup
I've already gone through the following links but couldn't find anything...
View ArticleHow do I remove AWS WAF Classic from Application Load Balancer?
I have an existing AWS WAF Classic associated with an Application Load Balancer.I have created a second AWS WAFv2 to replace the existing one.How can I remove/dissociate the existing AWS WAF Classic of...
View ArticleRHEL 8.1 Custome Lorax-Composer AMI Image Fails to Start
I'm using Lorax-Composer to try and build a custom RHEL 8.1 image for upload to amazon AWS. For testing I am using a generic image built with Lorax and just a baseos install.I've followed the...
View ArticleAWS SES set up in a different region than the domain/EC2...can it work?
I have had an EC2 server set up for a while in the Ohio region. Later, I went to set up email for it, and SES is not available for that region. So I fired up another server in N. Virginia, where SES is...
View ArticleInstall OAuth2Session package offline on ubuntu ec2
I have used line from requests_oauthlib import OAuth2SessionI got error:module "requests_oauthlib" not foundI have downloaded:requests-oauthlib-1.3.0.tar.gzcopied to my ec2, and renamed to...
View Article