Can't connect via AWS Session Manager despite open ports and VPC Endpoint
I have two EC2s installed - one with public IP [EC2-A], the other without [EC2-B].On both, I have the instance roles required for SSM.Moreover since I do not have a public IP on EC2-B, I created a VPC...
View ArticleI am getting a Not Found Error When I refresh one of my url links
I have a MERN project that I am hosting on an Amazon EC2. When I click on the public url of the EC2 instance ,It takes me to the home page (<My_public_EC2_url>/) which has a link to my blogs page...
View Articlecom.hazelcast.core.HazelcastInstance IllegalStateException: Node failed to start
I am trying to a POC for auto-discovery of hazelcast instance in ec2. These ec2 instances would be in same security group, which should be able to find other nodes of hazelcast and together these will...
View ArticleEC2 and Django (in ASG) Connection Fails on Private IP, succeeds on private...
As part of the deployment of a Django website via an Application Loag Balancer + Auto Scaling Group, I'm running into a problem that I've found the origin of, but I can't see how to solve it.I've...
View ArticleEC2 hosted WordPress - GET request from domain to EC2 host denied....
I have Wordpress hosted via an EC2 instance with traffic from domain routed through an ALB with an ACM issues certificate.I have been struggling with a "Mixed Content Error" which is causing my site...
View ArticleAccidentally deleted the SSL key from EC2 Ubuntu. How can I restore
I have purchased a SSL certificate for my website. As an initial process, I have created a CSR and KEY file and presented it to the certification provider. Upon receiving the certification, I have...
View ArticleAWS how does interface endpoint is accessible from other subnets
assume the following VPC structureVPCDNS resolution and DNS hostnames enabled.subnet1ec2-1subnet2ec2-2S3 VPC interface endpoint.Private DNS names for the endpoint is enabled.Notesubnet1 and subnet2 are...
View ArticleConnect to Private RDS with local GUI via SSM
I have followed AWS's documentation on how to open a remote port forwarding session from my EC2 to RDS. I want to be able to securely access my DB on my local GUI.My current setup consists of an EC2...
View ArticleHow to remotely kill a process on amazon EC2 linux instance
I use Amazon EC2 instances to perform some complex computation by using the AWS Java SDK, these computations might take so long sometimes. Hence, I need to kill the process running on the EC2 instance...
View ArticleCreating application in AWS elastic beanstalk using docker platform
Im trying to create an application in aws elastic beanstalk using docker platform and platform branch Im using is "ECS running on 64bit Amazon Linux 2" and im using Dockerrun.aws.json, but it gives me...
View ArticleI am getting [SocketException: OS Error: Connection refused, errno = 111]...
I cannot connect to the REST API Server running on a AWS EC2 instance.Below is the code snippet from the flutter application.final EC2ServerPublicDNS = "http://ec2-*****.amazonaws.com";final...
View ArticleGetting libcrypto.so.10()(64bit) and libssl.so.10()(64bit) errors, installing...
To install MySQL on an Amazon Linux 2023 AMI EC2 instance, I executed the following command.`sudo rpm -Uvh https://repo.mysql.com/mysql80-community-release-el8-1.noarch.rpmsudo yum install...
View ArticleContainer instances not being registered from capacity provider
I created an ECS cluster with an Auto Scaling Group capacity provider. The capacity provider shows that there are 2 instances (t2.micro) launched (but they are not listed in the container instances).I...
View ArticleAWS Instance cannot connect after resizing volume and reboot
i am facing connectivity issues with my AWS EC2 instance after resizing its volume. Here's what I did:I had an EC2 instance running Ubuntu in a container with a full storage.I modified the volume to a...
View Articleuse existing EC2 instance in sagemaker studio
Hi i have an EC2 instance i created called "my_ec2". I want to use this instance in Sagemaker studio. I know that Sagemaker studio is running on AWS EC2 instances. Is there a way of using my existing...
View ArticleConnect to Amazon EC2 file directory using Filezilla and SFTP
I have created an AWS EC2 Instance and I want to be able to upload files to the server directory using FileZilla in the simplest and most straightforward fashion possible.
View ArticleCan't access Public IPv4 address after creating EC2 instance and installing...
I created a t3.micro EC2 instance on AWS and after installing and starting nginx, when I try to go to the Public IPv4 address in the browser, I get this message 'This site can’t be reached'.List of...
View ArticleAWS Elastic Beanstalk [warn]: could not build optimal types_hash, you should...
I have created an API and successfully deployed it via AWS Elastic Beanstalk. The server is running and works as expected.However, i downloaded the log file and the error.log shows [warn] xxxx#xxxx:...
View ArticleLoading Grafana dashboard takes too long time
I am running Grafana on a EC2 instance in AWS Cloud to visualize data contained in a Timescale database located in the Cloud.The Grafana dashboardMy Grafana dashboard has 14 panels (8 time series, 3...
View ArticleTrying to create a windows docker image from amazon ec2 ami image
I am trying to create a windows docker image from the amazon ec2 ami image, in order to use it in aws codebuild, it have created a .tar and .tar.gz file from that ami image, after that, used docker...
View Article