$ssh ec2-54-171-128-141.eu-west-1.compute.amazonaws.com
The authenticity of host 'ec2-54-171-128-141.eu-west-1.compute.amazonaws.com (54.171.128.141)' can't be established.
ECDSA key fingerprint is SHA256:kgTswwIkR/wVagkZ6RNkr+o6XOLuLyhZod0THuYa8TE.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'ec2-54-171-128-141.eu-west-1.compute.amazonaws.com' (ECDSA) to the list of known hosts.
__| __|_ )
_| ( / Amazon Linux 2 AMI
___|\___|___|
https://aws.amazon.com/amazon-linux-2/
1 package(s) needed for security, out of 5 available
Run "sudo yum update" to apply all updates.
[ec2-user@ip-10-1-1-221 ~]$ sudo yum update
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
amzn2-core | 2.4 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package amazon-ssm-agent.x86_64 0:2.3.228.0-1.amzn2 will be updated
---> Package amazon-ssm-agent.x86_64 0:2.3.274.0-1.amzn2 will be an update
---> Package kernel.x86_64 0:4.14.77-86.82.amzn2 will be installed
---> Package kernel-tools.x86_64 0:4.14.77-81.59.amzn2 will be updated
---> Package kernel-tools.x86_64 0:4.14.77-86.82.amzn2 will be an update
---> Package krb5-libs.x86_64 0:1.15.1-19.amzn2.0.3 will be updated
---> Package krb5-libs.x86_64 0:1.15.1-20.amzn2.0.1 will be an update
---> Package wget.x86_64 0:1.14-15.amzn2.1.1 will be updated
---> Package wget.x86_64 0:1.14-18.amzn2 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================================================================================================
Package Arch Version Repository Size
==================================================================================================================================================
Installing:
kernel x86_64 4.14.77-86.82.amzn2 amzn2-core 19 M
Updating:
amazon-ssm-agent x86_64 2.3.274.0-1.amzn2 amzn2-core 15 M
kernel-tools x86_64 4.14.77-86.82.amzn2 amzn2-core 112 k
krb5-libs x86_64 1.15.1-20.amzn2.0.1 amzn2-core 768 k
wget x86_64 1.14-18.amzn2 amzn2-core 547 k
Transaction Summary
==================================================================================================================================================
Install 1 Package
Upgrade 4 Packages
Total download size: 36 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/5): amazon-ssm-agent-2.3.274.0-1.amzn2.x86_64.rpm | 15 MB 00:00:00
(2/5): kernel-4.14.77-86.82.amzn2.x86_64.rpm | 19 MB 00:00:00
(3/5): krb5-libs-1.15.1-20.amzn2.0.1.x86_64.rpm | 768 kB 00:00:00
(4/5): wget-1.14-18.amzn2.x86_64.rpm | 547 kB 00:00:00
(5/5): kernel-tools-4.14.77-86.82.amzn2.x86_64.rpm | 112 kB 00:00:00
--------------------------------------------------------------------------------------------------------------------------------------------------
Total 21 MB/s | 36 MB 00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : wget-1.14-18.amzn2.x86_64 1/9
Installing : kernel-4.14.77-86.82.amzn2.x86_64 2/9
Updating : amazon-ssm-agent-2.3.274.0-1.amzn2.x86_64 3/9
Updating : krb5-libs-1.15.1-20.amzn2.0.1.x86_64 4/9
Updating : kernel-tools-4.14.77-86.82.amzn2.x86_64 5/9
Cleanup : wget-1.14-15.amzn2.1.1.x86_64 6/9
Cleanup : amazon-ssm-agent-2.3.228.0-1.amzn2.x86_64 7/9
Cleanup : krb5-libs-1.15.1-19.amzn2.0.3.x86_64 8/9
Cleanup : kernel-tools-4.14.77-81.59.amzn2.x86_64 9/9
Verifying : kernel-tools-4.14.77-86.82.amzn2.x86_64 1/9
Verifying : krb5-libs-1.15.1-20.amzn2.0.1.x86_64 2/9
Verifying : amazon-ssm-agent-2.3.274.0-1.amzn2.x86_64 3/9
Verifying : kernel-4.14.77-86.82.amzn2.x86_64 4/9
Verifying : wget-1.14-18.amzn2.x86_64 5/9
Verifying : kernel-tools-4.14.77-81.59.amzn2.x86_64 6/9
Verifying : amazon-ssm-agent-2.3.228.0-1.amzn2.x86_64 7/9
Verifying : krb5-libs-1.15.1-19.amzn2.0.3.x86_64 8/9
Verifying : wget-1.14-15.amzn2.1.1.x86_64 9/9
Installed:
kernel.x86_64 0:4.14.77-86.82.amzn2
Updated:
amazon-ssm-agent.x86_64 0:2.3.274.0-1.amzn2 kernel-tools.x86_64 0:4.14.77-86.82.amzn2 krb5-libs.x86_64 0:1.15.1-20.amzn2.0.1
wget.x86_64 0:1.14-18.amzn2
Complete!
[ec2-user@ip-10-1-1-221 ~]$ lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 01)
00:02.0 VGA compatible controller: Cirrus Logic GD 5446
00:03.0 Unassigned class [ff80]: XenSource, Inc. Xen Platform Device (rev 01)
[ec2-user@ip-10-1-1-221 ~]$ dmidecode | head
/sys/firmware/dmi/tables/smbios_entry_point: Permission denied
# dmidecode 3.0
/dev/mem: Permission denied
Scanning /dev/mem for entry point.
[ec2-user@ip-10-1-1-221 ~]$ sudo dmidecode | head
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.
11 structures occupying 359 bytes.
Table at 0x000EB01F.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: Xen
Version: 4.2.amazon
[ec2-user@ip-10-1-1-221 ~]$ yum install hdparm
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
You need to be root to perform this command.
[ec2-user@ip-10-1-1-221 ~]$ sudo yum install hdparm
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
amzn2-core | 2.4 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package hdparm.x86_64 0:9.43-5.amzn2.0.2 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================
Package Arch Version Repository Size
======================================================================================
Installing:
hdparm x86_64 9.43-5.amzn2.0.2 amzn2-core 84 k
Transaction Summary
======================================================================================
Install 1 Package
Total download size: 84 k
Installed size: 155 k
Is this ok [y/d/N]: y
Downloading packages:
hdparm-9.43-5.amzn2.0.2.x86_64.rpm | 84 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : hdparm-9.43-5.amzn2.0.2.x86_64 1/1
Verifying : hdparm-9.43-5.amzn2.0.2.x86_64 1/1
Installed:
hdparm.x86_64 0:9.43-5.amzn2.0.2
Complete!
[ec2-user@ip-10-1-1-221 ~]$ sudo hdparm -tT /dev/xvda
/dev/xvda:
Timing cached reads: 20544 MB in 1.99 seconds = 10312.53 MB/sec
Timing buffered disk reads: 246 MB in 3.03 seconds = 81.14 MB/sec
[ec2-user@ip-10-1-1-221 ~]$ exit
logout
Connection to ec2-54-171-128-141.eu-west-1.compute.amazonaws.com closed.