Latest Server related questions

Score: 1
Rami avatar
Remove the default Security Group assigned by Elastic Beanstalk
us flag

I have created a Elastic Beanstalk environment and have created this .config to edit the security groups which worked. Now my EC2s are attached to the new SG and the default one.

option_settings:
  - namespace: aws:autoscaling:launchconfiguration
    option_name: SecurityGroups
    value: "sg-123456"

My question is: How can I remove the default security group attached to it bcz I don't want to use it. ...

Score: 0
nginx limit_req_zone rate limiting granularity
in flag

How should the rate be interpreted in the nginx rate limiting module?

10 r/s means 1 request every 100ms - this means granularity is 100ms; and 2nd request within the 100ms will get rejected.

Does 30 r/m mean 1 request every 2 seconds (2000ms)? Thus granularity is 2000ms? Therefore 2nd request within the 2000ms will get rejected?

Similarly, 6 r/m means 1 request every 10 seconds (10000ms) Thus granula ...

Score: 0
Mozammel Hosen Faraizi avatar
i don't understand about RST like FIN(-sF) as client
tc flag

I have understand about FIN(-sF) as client example command: nmap -sF -p 22 192.168.1.102

but i don't understand about RST like FIN(-sF) as client. I want understand like FIN(-sF) as client by any command as client.

Score: 0
Tobias Leupold avatar
Is it possible to trigger a 550 SMTP answer from a script Postfix piped a mail to?
ve flag

I want to prevent backscatter from within a mailing list script that I use on my Postfix mail server.

Mail for a mailing list hosted there is piped to my script. At this point, Postfix can't know if the sender address is subscribed to the list, but in each case, the mail is accepted and delivered, if the list address is existing.

Now if the sender isn't subscribed, the list generates an according an ...

Score: 0
Ixion Chowdhury avatar
Hosting two different django project in the same droplet with different subdomains (NGINX, Gunicorn, ubuntu)
fr flag

As the title says I want to host two different django project in the same droplet (NGINX, Gunicorn, ubuntu) with different subdomains. One will be our main site example.com. which is up and running and working perfectly. We want to host the staging site staging.example.com in the same droplet.

We have created new sockets and service files for the staging site and activated and enabled them but th ...

Score: 0
Thijmen avatar
Manually close database connections for AWS Aurora Serverless PostgresDB?
cn flag

Is there any way to manually close all open connections to an AWS Aurora Serverless Postgres database? Because the database is serverless, it is not possible to restart the database.

Score: 0
Nagendra Kumar avatar
How to reduce pod crash/fault detection time in Kubernetes/GKE
cn flag

I am trying to reduce pod crash detection time in Kubernetes/GKE. Generally, when I simulate pod crash, then Kubernetes detects it in approx between 1 to 1.5 seconds. I want to know

  1. what are the configuration parameters to minimize the pod crash detection time and how much minimum we can configure. What are those configuration parameters ? Is there any links, which I can visit?
  2. If there is no configur ...
Score: 0
dm90 avatar
How to avoid data loss during log rotation in linux/kubernetes?
in flag

Brief
We are running our workloads in kubernetes on AWS EKS. All our applications write the logs in /var/log/app_logs directory using hostPath. (yes it's not a best practice, this is due to legacy codebase, eventually we want to move to STDOUT).

Problems we face:

  1. We rely on the hourly logrotate to rotate the files under /var/log/app_logs
  2. During the hourly boundary, we tend to lose the loglines
  3. U ...
Score: 0
Laravel - ElasticBeanstalk - disable PHP files except /public/index.php
fr flag

For security reasons, i am trying to disable all PHP files except /public/index.php.

I have this nginx configuration, which is unfortunately not working :

root /var/www/html/public;

add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Content-Type-Options "nosniff";
add_header Referrer-Policy "same-origin";
add_header Strict-Transport-Security "max-age=31 ...
Score: 0
Kernel Panic in Debian after converting disk from Hyper-V to VirtualBox
br flag

I have a problem after moving the VM from HyperV to VirtualBox running Debian 10. After booting, I have ShellUEFI and then I run grub64 and then the panic kernel appears. Interestingly, I don't have this problem with Ubuntu ... only Debian is problematic.

enter image description here

Score: 0
Nagendra Kumar avatar
how to update kubelet and controller manager parameters in gke for fine tuning node failover time detection
cn flag

i want to update the following parameters in kubelet and controller manager in gke.

kubelet: node-status-update-frequency controller-manager: node-monitor-period controller-manager: node-monitor-grace-period controller-manager: pod-eviction-timeout

can anyone please help us to update these parameters in gke?

thanks.

Score: 0
howto make nginx with failover with containers that potentially don't exist
cn flag

I would like to use Nginx in front of a number of dockers containers, some of which (known) may be missing. Make sure that nginx does not block on "host not found" and stop the container which then restarts in a loop!

upstream frontend-ups {
        server frontend:80 max_fails=3 fail_timeout=5s;
        server 127.0.0.1 backup;
}
upstream api-ups {
        server api:8080 max_fails=3 fail_timeout= ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.