How can I call list of ec2 instance based on the app code using tag method
I am trying to get all the instance(server name) ID based on the app. Let's say I have an app in the server. How do I know which apps below to which server. I want my code to find all the instance...
View ArticleHow to Setup and check if cron jobs are running on ec2 instances
I am running a Linux instance on ec2 I need a cron job to run every minute When I use crontab in the terminal ( i am logged in using the terminal btw ) it does not seem to be working and when I use...
View ArticleChange AWS ECS service's security groups
I would like to be able to modify the network configuration of an AWS ECS service. The interface has "Allowed VPC", "Allowed subnets", "Security Groups", and "Auto-assign public IP" at the top of the...
View ArticleRedirect traffic to the domain
I have an web server deployed through elastic beanstalk. I want to redirect my all requests to the my domain, consider it as example.com. So I used public DNS for the redirection but whenever my...
View ArticleWant SNS alert repeatedly
I had setup an Alert for CPU utilization on EC2 instance. Created one SNS topic to send alerts on mail. It sends me an alert when CPU utilization goes to ALARM state but I want repeated alerts till...
View ArticleFailed connect to amazon rds
The security setup I set was allowing public access Endpoint : myrds.c7pafs90pyfd.ap-southeast-1.rds.amazonaws.com Port : 3306 When trying to ping amazon's rds ,I receive "Request Timed out" and same...
View ArticleChromedriver on Ubuntu:...
Having trouble with selenium + chromedriver in the ubuntu environment in AWS (EC2 instance). I'm using chromedriver Linux64 version (wnload chromedriver for Linux: wget...
View ArticleTraffic handling capacity for 1 EC2 instance for t3.2xlarge
Protocol exchange between phone server and IOT device(inter regional). say there are 100000 users and each are requesting or using 12 - 20 times a day may be approximately at the same time(protocols...
View ArticleSpecify volume and other parameters for AWS EC2 AMI on instance start
I struggled to word this better but I want to be able to launch an EC2 instance using the Wordpress AMI by Bitnami. I want to be able to do so using the aws-sdk for javascript, so that I can launch...
View ArticleCan I ssh into an ec2 instance and run commands in that instance using...
I am going to launch few ec2 instance with jenkins using aws cli and then I want to ssh into those instance and install some packages in them.Is there anyway I could ssh into these instances and...
View ArticleBind kafka to 0.0.0.0:9092
I have set up Kafka on my amazon ec2 machine running ubuntu-18 following this blog plost and this is how it is exposing the ports. tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 772/systemd-resolve tcp 0 0...
View ArticleJenkins Pipeline Docker -- Container is Not Running
I have Jenkins running on an EC2 Instance. I have the EC2 Plugin Configured in a Peered VPC, and when a job is tagged 'support_ubuntu_docker' it will spin up an Jenkins Slave, with Docker...
View ArticleSed command fails when run with aws ssm. Ssm reformats sed command and ruins...
I am trying to add a few lines to the httpd configuration file on an ec2 instance when I create an ecs service with cloudformation. The idea is that in the cloudformation template I am booting up a...
View ArticleUnable to connect local slave to Jenkins master on AWS
I've set-up a Jenkins on AWS ec2 instance. I have a few machines with me (Ubuntu, Mac) which are supposed to be the slaves. I've configured the nodes on my Jenkins master and I'm trying to connect the...
View ArticleAWS EC2 Parrot Linux instance
I want to deploy an AWS EC2 instance of Parrot Linux and I cannot find it in the marketplace. I have uploaded an OVA to S3 of the latest 4.7 version and tried to import but got an error: ClientError:...
View ArticleHow different it is to crawl a website from a local server and from a...
My code for crawling browsers for image works fine on my remote server but it doesn't crawls on ec2-instance while i have checked all the dependencies. Here's my code for the same. Ec2 instance is of...
View ArticleAWS EC2 - Logical Volume Mount
Am very new to AWS.I have created AWS EC2 instance(ubuntu) where i need to create /appdata/data path wherein i have to install cloudera distribution. For this i have used below commands for...
View ArticleNot able to access the REST services hosted on AWS EC2 to local WAMP server
I have deployed the Pimcore DAM app on Amazon EC2 instance. The Pimcore product offers REST services to integrate it with PHP which I am able to access successfully from the POSTMAN client but the...
View ArticleAWs ses email sending error with Node Js Server
I create Node js EC2 Instance in AWS and use SES NodeJs to sending an email. At first,I was try to send email on my personal Gmail account but I am getting "Unable to send". I have done SES email...
View ArticleDocker Image tagging in ECR
I am pushing docker image in AWS ECR using Jenkins. While pushing the image i am providing tag as $Build_Number.So in ECR repo i have images with tags like 1,2,3,4. But when i am trying to pull the...
View Article