Get list of EC2 instances created since a date
I want to retrieve a list of EC2 instances which were created in last x days. Here 'created' means the first launch of an instance. Is there a way to do this using AWS CLI or AWS Golang SDK?I tried...
View ArticleHow to monitor whether a remote process has crashed?
I have a large number of instances across multiple cloud providers. Each of them is running a single Java program. I want to check that all of these Java programs are running and haven't crashed, and...
View Articleec2 Instance Status Check Failed
I am currently running a process on an ec2 server that needs to run consistently in the background. I tried to login to the server and I continue to get a Network Error: Connection timed out prompt....
View ArticleEC2 SSH Connection Auto Closed
Need some help here.I am setting up an AWS EC2 instance with Ubuntu, trying to connect via SSH using public IP and public DNS but both automatically closed for some reason every time.The security group...
View ArticleSystem Unit File always failed -Golang app in Linux Ubuntu 18.04
I need to deploy my golang app to aws(ec2 instance), with Ubuntu 18.04, however I cant manage to make it run using the systemd. Here is my created service(/lib/systemd/system/go.service) [Unit]...
View Articlereturn self.request('POST', url, data=data, **kwargs) TypeError: request()...
I am trying to create an incident to the server which is hosted on another ubuntu machine.I saved the below code as test.py file and when i execute this from a local ubuntu machine it works fine, But...
View ArticleHow to fix Nginx Caching 404 - Flask?
This is my /etc/nginx/conf.d/flaskapp.conf file: server { listen 80; server_name 3.6.233.76; location / { proxy_set_header Host $host; proxy_pass http://127.0.0.1:8000; } }
View ArticleEC2 Connection Timed out: ec2 ERROR: asyncio completed with error: 10061,
I have ec2 instance with public subnet and vpc associate with it.and igw attach to the vpcI did enable auto assign ipAlso I have security group with following inbound rulesthe route table look...
View ArticleNginix configuration for django nuxt app with docker hosted on ec2
I have a dockerized app that works fine in development mode on my host machine. I'm trying to figure out how I can host my app on ec2 using the default ip address created when I launch my instance.My...
View ArticleHow to record voice on amazon-ec2?
I have set up a flask application that records voice using python(sounddevice and pydub) libraries and converts it into text.Application is running well on localhost but when I deployed the application...
View Articlesubdomain pointing to golang app in ubuntu 18
I just setup ec2 instance and uploaded my go app binary inside /home/username/code/go/gobinary where gobinary is the name of the binary, and already set up systemd config where the go app runs...
View ArticleAWS DMS issue with source endpoint in EC2-classic
We are using several EC2-Classic servers (Linux Ubuntu) with following configuration: mounted EBS volumes and on them is running Server version: 5.5.48-MariaDBI would like to use AWS DMS (AWS Database...
View ArticleAmazon EC2 PostFix can't send emails
i'm installed centos web panel on amazon ec2 the email send process worked in the first days and stop without any reason. after search i can't know the reason is it because amazon blocked 25 post or my...
View Articlewoocommerce webhooks not firing
woocommerce webhooks aren't firing at all for me, even on a fresh install. I did the following:Create a new MySQL databaseInstall WP from the zip file.Set up WP.Install Woocommerce.Enable REST API and...
View ArticleSystem Unit File always failed
I need to deploy my Go app to aws (ec2 instance), with Ubuntu 18.04, however I can't manage to make it run using the systemd. Here is my created service (/lib/systemd/system/go.service) [Unit]...
View ArticleHow to Update script files in the browser immediately. when I updated scripts...
I am working on a web application I updated the code In server when coming to the browser it is loading old files only when I try with hard refresh multiple times it is loading new files I tried with...
View Articlehow do I query for the latest beanstalk ami of a specific platform to use in...
Im not creating a "custom platform" for beanstalk I just want to build a custom ami from the latest beanstalk ami for my platform. this has been really frustrating because I cant find good...
View ArticleReact app with wordrpess on nginx won't work on HTTPS
I'm building a React app with a wordpress site on it. It should work on this way:example.com -> Takes me to my react app example.com/blog -> Takes me to my wordpress blog.I have an EC2 running...
View ArticleApplying Godaddy Domain SSL to AWS EC2 Windows Instance- IIS Server, https...
Initially we had shared web hosting plan with godaddy and applying SSL was easy by Plesk panal. Now we moved our website to AWS EC2 Windows Instance, where we hosted our website in IIS port 80. We...
View ArticleAWS Windows EC2 Instance is not connecting to internet
I am having a EC2 Windows instance in my AWS account. I have used 2019 base to create my machine, I am able to connect to my machine and I do not have internet connectivity in the instance. I am new to...
View Article