Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pb-seo-friendly-images domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the johannes domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121
3 Ways to Reboot AWS Instance EC2 - PC✗3
3 Ways to Reboot AWS Instance EC2

3 Ways to Reboot AWS Instance EC2

Here are 3 different ways to restart EC2 AWS Instance:

1. Reboot EC2 Instance using AWS Console

  1. Login into your AWS EC2 Console
  2. Navigate to “Instances” and Select instance which you want to restart, right-click on it and then select “Reboot”
  3. Click “Yes, Reboot” and confirm
reboot aws instance 1024x484 - 3 Ways to Reboot AWS Instance EC2

2. Reboot EC2 Instance using CLI

NOTE: No success message will be shown

aws ec2 reboot-instances --instance-ids i-1234567890abcdef5

3. Reboot EC2 Instance using Powershell

For Powershell you will need to create AWS key:

  1. Go to your account, select Security Credentials and create an AWS access key and secret key.
  2. Open Power-Shell for AWS, then add your AWS Access Key and Secret Key.
  3. Get your instance ID by using this URL from EC2 instance
http://179.255.178.262/latest/meta-data/instance-id

//REPLACE THE IP WITH YOUR INSTANCE

4. Restart the instance with command:

Restart-EC2Instance -InstanceId i-12345678?
whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.