Questions tagged with Linux Provisioning
Content language: English
Sort by most recent
As the title says - is xdebug available for Linux 2023?
Hello, my goal is to launch ec2 instances from Python code. For now I’m launching them by using launch templates. I need to create an alarm for each instance but I don’t know how to assign alarm to launch template(if it is possible).
Maybe there is a different approach for that?
The main idea behind alarms is that they will stop instance if it is inactive.
I have installed the Greengrass in my VirtualBox ubuntu device and installed the MQTT bridge, moquette Mqtt, and node-red components in it. when I try to connect the AWS IoT core from node-red the nodes are not connecting AND MQTT broker erroe
Hello Team,
For the AMI ID ami-02f3f602d23f1659d (al2023-ami-2023.0.20230315.0-kernel-6.1-x86_64), I am seeing that crontab is missing
[root@ip-172-31-11-172 ~]# contab -l
-bash: contab: command not found
After that I have installed the crontab manually using the command **yum install cronie cronie-anacron**
But could you please let me know, Is the AWS missed to include crontab or hereafter the AMI will come up without crontab. Could you please confirm.
I have a WordPress site on LightSail. Tried to login but can't navigate to wp-admin. Tried to login to Plesk and it says the disk is full. How do I get into the account to free up space?
ubuntu@thirsty-kalam:~$ sudo plesk login
DB query failed: SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_301_0.MAI); wai
ting for someone to free some space... (errno: 28 "No space left on device"), query was: D
ESCRIBE `clients`
hi, i have a question. limit for EC t2(t3) of 750 hours is for each individual server, or 750 hours is the total hours for using all EC t2(t3). Are there any limits on the number of EC t2(t3) solutions I can create?
I've registered to Dedicated IP Managed service. Added 1 Dedicated IPs managed pool.
Added this pool to the configuration set, and started to use this set when sending emails from my website.
Hover emails still seems to be sent from old IPs, event these that seem to be on blacklists.
I'm not sending a lot of emails, from few hundred a day to max 5-6 thousands.
How can I check what IPs are added to my Managed pool? There is some link to cloudwatch but I cannot find anything in there.
Also I don't think I would need mora than 1 IP, as I said I'm not sanding too many emails.
AWS is recommending to stay with shared IPs, but it is not a good choice for me, as shared IPs are constantly being added to blacklists, and I have problems with some of IPS like hotmail, yahoo, icloud. Even if I have configured spf, dkim, dmarc properly.
Hi Team,
How to export the variable when connecting via session manager connect for linux OS.
I tried adding to the bashrc, /etc/environment, and /etc/profile did not work.
I am attempting to setup Patch Manager for all my AWS instances but all my Ubuntu servers are failing on scan.
I've checked the servers to ensure the SSM agent is installed and the service is running.
Servers are running Ubuntu 22.04.2.
When I run a scan I receive the below output error:
/var/log/amazon/ssm/patch-baseline-operations/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="?
if x is 0 or x is 1:
/var/log/amazon/ssm/patch-baseline-operations/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="?
if x is 0 or x is 1:
/var/log/amazon/ssm/patch-baseline-operations/jmespath/visitor.py:34: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif y is 0 or y is 1:
/var/log/amazon/ssm/patch-baseline-operations/jmespath/visitor.py:34: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif y is 0 or y is 1:
/var/log/amazon/ssm/patch-baseline-operations/jmespath/visitor.py:260: SyntaxWarning: "is" with a literal. Did you mean "=="?
if original_result is 0:
No IMDS credentials found on instance.failed to run commands: exit status 156
I would like to add a dimension to several metrics using "append_dimensions" into Cloudwatch agent config.
As specified [here](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-Configuration-File-Details.html#CloudWatch-Agent-Configuration-File-Metricssection), it says "If you specify a value that depends on Amazon EC2 metadata". How do I specify a value, of a specific instance tags from instance metadata, for example?
Is it "append_dimensions": { "Environment": <how to reach an instance tag called Environment> }?
I am unable to connect to server to server using ssh.
the error message is ubuntu@ip-60-0-0-48:~$ ssh root@40.0.6.136
ssh: connect to host 40.0.6.136 port 22: Connection timed out
ubuntu@ip-60-0-0-48:~$
Yesterday, my ec2 instance was working perfectly but today I can not ssh into it. I have rebooted, stopped and started my instance, then made sure I have the correct public dns when trying to ssh. I have also ensured that my security groups allow port 22 on my ip address. For debugging purposes, I allowed all IPs for my SSH and it still did not work.
error: `22: Operation timed out`
I tested SSH into my other instance and that seemed to work perfectly. I have not changed my VPC settings or my Subnet settings at all since creation so I am not sure how they would be causing this issue. Please help!