Relative Content

Tag Archive for amazon-web-servicesamazon-ec2

Setting Up Twenty CRM on AWS Lightsail

I’m interested in using Twenty CRM and am trying to set it up on an AWS lightSail instance. However, I’m fairly new to self-hosting applications and could use some guidance on the process.

Understanding InterZone-In cost in EC2 others

We see that our InterZone-In cost has increased drastically. After reading about I see that it in increases when there is increase in data transfer across availability zone within same region.

AWS EC2 spot concurent interruption notice

I am hosting a computer vision API on AWS EC2. Every month my API returns some 502/504/521 errors, and after a little bit of investigating it turns out that this is because of some strange spot interruptions.

My API is hosted on EC2 instances, with a mix of on demand and spot to reduce costs (I’m not using a spot fleet). I implemented a lambda function to handle gracefully the spot interruption notices. It works like a charm except when I get 2 spot interruption notices (for 2 different instances) in a short time span.

When there is a single interruption notice, I have 2 minutes to handle the instance termination and shut down gracefully the API on the instance, but when I get 2 interruption notices in a row, the first one works as intended, but for the second instance, the instance is shut down 2 minutes after the FIRST interruption notice, instead of what I would expect, 2 minutes after the second interruption notice.

This is a major issue because in some case, the second instance is shut down 10 seconds after its own interruption warning, leaving not enough time to shut down gracefully the interruption notice.

I could not find anything related to my issue, and it feels really weird. Is it a known issue or could I be missing something key ?

EC2 instance public IPv4 address unreachable

I’m attempting to launch an HTTP server through my EC2 instance. However, after clicking on the Public IPv4 address, the site displays an error stating “the address can’t be reached.” I have already allowed IPv4 access from anywhere, but the issue persists.