AWS Free Tier Limitations for EC2
I am new to AWS so please bear with me as my question might not make sense. BUT I had one ec2 instance running a single flask web application for about 3 months and my bills were in the $0-$0.50 range....
View ArticleHow to update a private server?
I have a Django web application, running on AWS Elastic Beanstalk, inside of an EC2 linux instance. Only the load balancer is accessible to the internet, for security reasons. Deployment to the EC2 app...
View ArticleAWS linux : ansible 2.9.7 using ec2.py and python 3.7 getting : ImportError:...
i installed python 3.7 python --versionPython 3.7.6i have python 2.7 installed also but i dont want to use itso i set :set alias python=python3 ansible : ansible --versionansible 2.9.7 config file =...
View ArticleTable Doesn't exist in RDS MYsql Database deployed with MySql docker
I'm running a simple Spring Boot- MySql application with AWS's RDS MySql Databse which is running correctly in local tomcat.But when i deploy the Application with docker in aws instance i'm getting...
View Articleprocess manager for JAVA Jar Files for hosting
I want to deploy my java spring backend to AWS . I figured the way to deploy jar file on aws. But the problem is as soon as I terminate the terminal deployment stops. I created a jar file on build and...
View ArticleLightGBM does not use all cores and RAM
I have an AWS instance with 16 cores and 128GB of RAM. Beside my LightGBM code, the system is mostly idle. However, LightGBM uses less than half of the cores most of the time and only about 8GB of RAM...
View ArticleI am not able generate csr from aws acm
I have a domain which i bought on Godaddy, and i deployed the website on amazon ec2, now i am trying to add ssl certificate to my domain and i am not able to generate CSR from the amazon AWS ACM which...
View ArticleHow to delete aws snapshot for a terminated AMI
I am unable to delete an AWS Snapshot and getting below error.Unfortunately i have deleted the AMI before deleting the snapshot. Now, i am not getting Deregister option when i selected my AMI.How can i...
View ArticlePacker's Ansible provisioner creates a directory named for my local user
I am trying to use the Ansible provisioner in Packer to perform privileged tasks while building an Ubuntu-based AWS AMI. The minimal example below does perform a privileged apt update, but it also...
View Articlehow to connect EC instance- permission denied error (SSH) [closed]
Trying to connect EC2 instancei am trying to connect EC2 instance via command ssh ec2-user@#IP_ADDRESS# -i #FILENAME# but its giving error as permission denied.i tired chmod 400 command , but its not...
View ArticleECS - User Data For EC2 instances
I am trying to create a docker image based on httpd with a custom information about the docker image. So for that am trying to set the ECS_ENABLE_CONTAINER_METADATA=true in /etc/ecs/ecs.config.I am...
View ArticleApplication Architecture for scalable hyperledger v1.4 with IOT data
I am working on the Hyperledger Application that can store sensor data from IoT.Using HLF v1.4 with Raft. Each IoT device will provide JSON data at fixed intervals which gets stored in Hyperledger. I...
View ArticleI have installed opencv-python using command pip, but am facing importError...
I have installed Opencv on AWS ec2-instance using pip3 install opencv-python but while importing cv2 it throws an errorimport cv2Traceback (most recent call last):File "<stdin>", line 1, in...
View ArticleFailed to create a jvm heap dump on EC2
The server is running on EC2, and I need to create a jvm heap dump. I ran command:sudo -u root jmap -F -dump:format=b,file=/home/ubuntu/dumps/heapdump.bin 7353. But it threw exception: Error attaching...
View Articleroot module does not declare a variable of that name. To use this value, add...
my directory structure .├── README.md├── ec2│ ├── ec2.tf│ ├── outputs.tf│ └── vars.tf├── main.tfmain.tfprovider "aws" { region = "us-east-1"}module "ec2" { source = "./ec2"}ec2/ec2.tfdata...
View ArticleElastic Beanstalk - .ebextensions not running on deploy
I have a dotnet core application. And I'm packed it for docker.My aim is deploying this application to EB but I need to run some commands after deploy.Thats why I have created a Dockerfile#...
View ArticleExisting keypair is not in AWS Cloudflormation
I wanted to create a EC2 instance with airflow (using cloud formation) as mentioned in this tutorial...
View ArticleCannot copy file from local machine to AWS ec2 instance
In my Amazon EC2 instance, my application is located at '/usr/local/apps/[my_app]'. My problem is that I cannot transfer my file from local machine to the remote server. Supposed on my local path...
View ArticleRunning a Windows Powershell script on instance launch with Elastic Beanstalk
I have a simple Windows Powershell script I would like to have run on an EC2 instance when it launches within an Elastic Beanstalk environment. It simply sets up a self-signed SSL certificate and binds...
View ArticleCan't run Powershell user data scripts on Windows EC2
I am using the Javascript SDK to run Windows Server2019 EC2 instances - the AMI I'm using is a custom AMI. Through the SDK, I'm inputting this user data:<powershell> Copy-S3Object -BucketName...
View Article