EC2 - trying to figure out how to get power./powerdown time with boto3 script
What I have done is just started to make a ec2query.py script that just shows items like:ec2namevpcsubnetebs attached....any moreI guess I just want to know is it even possible to know programmatically...
View Articlehow to filter ec2_ami_facts when tag does not exist - Ansible
I'm working with ec2_ami_facts to filter out AMIs that are older than 90 days, and I am able to get the list. Now I want to get the amis that are older than 90 but DOES NOT HAVE the tag "ami_used". I...
View ArticleHow do I set up my application/EC2 instance so that I don't have to put the...
I'm trying to point my domain to my EC2 instance but it isn't working because my EC2 needs the port (:3000) at the end of the IP in order to be resolved. I'm having a really difficult time finding...
View ArticleStartup suggestion required to work as backend developer for the start up in...
i am planning to work in a startup as a laravel developer part time, working on razorpay payment integration , mobile api development , db design. but not as a employee but as an 10% revenue holde ,...
View ArticleAWS secure Cloudfront to ALB to Fargate communication
I have the following setup:React.js App on Cloudfront (example.eu) -> Certificate for *.example.eu and example.euFargate Python FastAPI instance on port 5000Load Balancer internet facing...
View ArticleLinux VM crashing while switching to Docker for Linux
While using DockerDesktop on an EC2 Windows2019 server instance, when i am switching to Linux Containers, I am getting the crash error message for my Linux container. Its mostly because, it is unable...
View ArticleAWS: How to get PHP on an EC2 instance to read a Secrets Manager secret?
I've set up an EC2 instance running PHP. For testing only, the instance is in a public subnet with a Security Group that allows All Traffic to 0.0.0.0/0. The Route Table has the default local route to...
View Articlecan't start minikube in ec2 shows "X Sorry, Kubernetes v1.18.0 requires...
Hi I am trying to start minikube that's why I ran minikube start --vm-driver=noneBut it shows in the console the below lines:minikube v1.9.2 on Amazon 2 (Xen/amd64) Using the none driver based on user...
View ArticleHow to migrate GCP instances to AWS?
I'm trying to migrate GCP instances to AWS, I have been searching for the solution but didn't find any references. Could you please help me with this.
View ArticleNotification Service on AWS S3 bucket (prefix) size
I have a specific use-case where we have a huge amount of data that is continuously streamed into the AWS bucket.we want a notification service for s3 bucket on the specific folder where if a folder...
View ArticleAWS - Can you autoscale an EC2 Instance with Drupal and Joomla! applications?
We have a temporary burst of traffic to one of our AWS EC2 instances.This contains a number of Drupal and Joomla! CMS applications with RDS databases.When the traffic peaks, it's maxing out CPU usage...
View ArticleService chain in AWS VPC: IDS -> Firewall -> Server
I'm trying to figure out if it is possible to create a service chain with EC2 instances.Τo be more precise I have 3 ec2 instances 1) an Intrusion Detection System (IDS) 2) a firewall 3) a web server,...
View ArticleHow to run a symfony project in localhost
I am new to symfony. I have to make some changes in a existing symfony project, that is hosted in aws in a ec2 instance, with no rds instance. I already clone the project code in my local pc, now where...
View Articlehow to connect Redshift from putty?
I am trying to connect redshift from my local windows putty instance. After creating Redshift instance , it is generated leader and compute node ip address.Question iswhich node role i need to pick ?...
View ArticleHow to store multiple secrets in AWS Secrets Manager?
I have following requirements to store multiple Secret/Key value (around 200 secrets) in AWS Secrets Manager and I do not want to enter each and every secret key/value manually from AWS Secrets Manager...
View ArticleAny way to restrict port in AWS IAM Policy ec2:AuthorizeSecurityGroupIngress
Is there any condition available when creating an IAM policy allowing modification of a security group that restricts what ports can be added or revoked?{"Version": "2012-10-17","Statement": {"Effect":...
View Articlestopping an linux aws instance from linux command line
Is there a way to stop and AWS ec2 instance from the VM itself? If i start a ec2 linux based instance, is there a way for me to stop that instance by giving some linux command like "shutdown now"?
View ArticleIs there a way to copy EBS snapshot to another account in other region?...
I'm trying to find out if it's possible to copy a snapshot from one account to another in different region in one go, without intermediate ( meaning copy/share to the other account then copy from the...
View ArticleCannot install inotify on Amazon EC2
I have an AWS EC2 instance and wants to install inotify-tools. I've added the repository by executing the command: rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm...
View Articleeleasticsearch not working with Rails in production in EC2 cent os instalce...
I am using: Ruby version 2.4.0 & Rails 5.2.3, aws Ec2 instance with CentOS 7 Application is using searchkiq gem for elasticsearch.My Models which are using searchkiq as:class ThreeDGarment <...
View Article