POST to AWS EC2 Mongodb database does not work
When trying to make a POST to a mongo db, I get no response from the page. Things work just fine when I run them on the aws ubuntu server with things being saved properly to the database, but when run...
View ArticleI can't create a template with the output of get-launch-template-data
I am starting to play with AWS. I have created an EC2 instance using the AWS management console. I would like to be able to create new, similar instances using the CLI so I've been looking at...
View ArticleI am unable to start Gunicorn on ec2 for Django
I am currently trying to set up my django website on ec2. If I run gunicorn --bind 0.0.0.0:8000 website.wsgi:application the website runs as long as I specify port 8000 at the end of the URL. I do not...
View ArticleEC2 Security Group inside Security Group
I'm using security groups inside security groups.For instance, I would like the mysql security group to allow mysql 3306 connections to the app server security group.However, my app server cannot talk...
View ArticleDelete or Disable repolist url/entry
yum repolist -v I want to delete/disable Forbidden entry of repo from below file. From below repolist file :...
View ArticleAWS - No such bucket error when entering domain url
I have deployed a Node app onto an Amazon EC2 instance. I then tried to point my domain to this instance. I followed the guide at...
View ArticleDjango Project on ec2 server giving PermissionError
I recently cloned by django project onto an ec2 server. I'm using gunicorn for the project. When I rungunicorn --bind 0.0.0.0:8000 website.wsgi:application it runs fine and the site launches. However,...
View ArticleAWS: How to Create a DNS that point to private IP?
i am new to using EC2, I have an EC2 instance that can reboot daily for maintenance and after the reboot, i get new public IP(i can't use elastic IPS there are all allocated).so my problem is the...
View ArticleDeleting Orphaned AWS ENI + SG? `currently in use` and `has a dependent object`?
aws ec2 delete-network-interface --network-interface-id eni-xxxAn error occurred (InvalidParameterValue) when calling the DeleteNetworkInterface operation: Network interface 'eni-xxx' is currently in...
View ArticleCopy AMI from one region to another then not able to ssh to new instance
I am stuck in a problem. I don't know why I am getting this issue.Problem: I am not able to connect with the EC2 Instance.Error:ubuntu@52.68.107.240: Permission denied (publickey).Steps that I...
View ArticleNot able to add tag on resource AWS::ECS::Service
I have below definition for ECS service:"EcsService": { "Type": "AWS::ECS::Service", "Properties": { "Cluster": { "Ref": "EcsCluster" }, "TaskDefinition": { "Ref": "EcsTaskDefinition" },...
View ArticleAdvice needed for AWS set up
I am new with AWS stuff so here is my application requirement.Node Js with express jsMysql DatabasePHP web application + API applicationSo how do I need to deploy it on AWS for a basic start so that...
View ArticlePermission denied when connecting from public EC2 instance to private EC2...
I see there are multiple solutions to fix this by modifying the config file.But I don't understand how to modify the config file of the private EC2 machine without logging in as I am getting this error...
View ArticleGet Instance Lifecycle via AWS CLI
When navigating to the Auto Scaling Groups section of the EC2 Management Console, we can see information about the EC2 instances for each Auto Scaling Groups.If you take a look at the image below:How...
View ArticleURL forbidden 403 when using a tool but fine from browser
I have some images that I need to do a HttpRequestMethod.HEAD in order to find out some details of the image.When I go to the image url on a browser it loads without a problem.When I attempt to get the...
View ArticleError: connect ECONNREFUSED after EC2 reboot
I have a memsql server running on AWS and decided to upgrade the instance type for better performance. In order to upgrade an EC2 server though you must first shut it down, then perform the upgrade and...
View ArticleFlask server crashes on EC2 t2.micro when called
I have ec2 t2.micro, there is flask on it with a classifier. I have also local script (python 3.6) that uses requests library to get classification response:raw_elevation = [1,2,3,4, n , 100] # list of...
View ArticleHow to configure an IOPS type EBS after attachment on Amazon AWS?
Once I have created an EBS of IOPS type and attached to an EC2 volume, is there a way to change its settings such as storage and IOPS? I am fine detaching it and making changes. Obviously I want to...
View ArticleAutoscaling group unable to allocate spot instances
I have an eks cluster with a nodegroup based on a mixed instance distribution launch template with the following configuration:region: us-west-2 instance_distribution: [p2.xlarge, p3.2xlarge,...
View ArticleSet maximum file size allowed on Linux
I am using AWS EC2 instances with a docker container running CouchDB and I am trying to figure a way to restrict the maximum file size for per user databases.Does anyone know how to have a Linux server...
View Article