h-4.2$ sudo cat /var/log/cloud-init-output.log
Cloud-init v. 19.3-46.amzn2 running 'init-local' at Wed, 25 Jan 2023 14:17:50 +0000. Up 5.62 seconds.
Cloud-init v. 19.3-46.amzn2 running 'init' at Wed, 25 Jan 2023 14:17:51 +0000. Up 6.72 seconds.
ci-info: +++++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++++
ci-info: +--------+------+------------------------------+---------------+--------+-------------------+
ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
ci-info: +--------+------+------------------------------+---------------+--------+-------------------+
ci-info: | eth0 | True | 10.16.126.230 | 255.255.240.0 | global | 12:f2:c1:96:83:69 |
ci-info: | eth0 | True | fe80::10f2:c1ff:fe96:8369/64 | . | link | 12:f2:c1:96:83:69 |
ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
ci-info: | lo | True | ::1/128 | . | host | . |
ci-info: +--------+------+------------------------------+---------------+--------+-------------------+
ci-info: ++++++++++++++++++++++++++++++++Route IPv4 info++++++++++++++++++++++++++++++++
ci-info: +-------+-----------------+-------------+-----------------+-----------+-------+
ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
ci-info: +-------+-----------------+-------------+-----------------+-----------+-------+
ci-info: | 0 | 0.0.0.0 | 10.16.112.1 | 0.0.0.0 | eth0 | UG |
ci-info: | 1 | 10.16.112.0 | 0.0.0.0 | 255.255.240.0 | eth0 | U |
ci-info: | 2 | 169.254.169.254 | 0.0.0.0 | 255.255.255.255 | eth0 | UH |
ci-info: +-------+-----------------+-------------+-----------------+-----------+-------+
ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++
ci-info: +-------+-------------+---------+-----------+-------+
ci-info: | Route | Destination | Gateway | Interface | Flags |
ci-info: +-------+-------------+---------+-----------+-------+
ci-info: | 9 | fe80::/64 | :: | eth0 | U |
ci-info: | 11 | local | :: | eth0 | U |
ci-info: | 12 | ff00::/8 | :: | eth0 | U |
ci-info: +-------+-------------+---------+-----------+-------+
Cloud-init v. 19.3-46.amzn2 running 'modules:config' at Wed, 25 Jan 2023 14:17:53 +0000. Up 8.76 seconds.
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
Existing lock /var/run/yum.pid: another copy is running as pid 3095.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 32 M RSS (324 MB VSZ)
Started: Wed Jan 25 14:17:52 2023 - 00:02 ago
State : Sleeping, pid: 3095
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 91 M RSS (385 MB VSZ)
Started: Wed Jan 25 14:17:52 2023 - 00:04 ago
State : Running, pid: 3095
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 88 M RSS (380 MB VSZ)
Started: Wed Jan 25 14:17:52 2023 - 00:06 ago
State : Running, pid: 3095
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 178 M RSS (470 MB VSZ)
Started: Wed Jan 25 14:17:52 2023 - 00:08 ago
State : Running, pid: 3095
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 171 M RSS (464 MB VSZ)
Started: Wed Jan 25 14:17:52 2023 - 00:10 ago
State : Running, pid: 3095
--> 2:vim-data-9.0.1006-1.amzn2.0.1.noarch from amzn2-core removed (updateinfo)
--> freetype-2.8-14.amzn2.1.x86_64 from installed removed (updateinfo)
--> 2:vim-enhanced-9.0.828-1.amzn2.0.1.x86_64 from installed removed (updateinfo)
--> unzip-6.0-57.amzn2.0.1.x86_64 from amzn2-core removed (updateinfo)
--> 2:vim-filesystem-9.0.828-1.amzn2.0.1.noarch from installed removed (updateinfo)
--> 2:vim-minimal-9.0.828-1.amzn2.0.1.x86_64 from installed removed (updateinfo)
--> freetype-2.8-14.amzn2.1.1.x86_64 from amzn2-core removed (updateinfo)
--> 2:vim-enhanced-9.0.1006-1.amzn2.0.1.x86_64 from amzn2-core removed (updateinfo)
--> ca-certificates-2021.2.50-72.amzn2.0.3.noarch from installed removed (updateinfo)
--> 2:vim-common-9.0.1006-1.amzn2.0.1.x86_64 from amzn2-core removed (updateinfo)
--> 2:vim-data-9.0.828-1.amzn2.0.1.noarch from installed removed (updateinfo)
--> ca-certificates-2021.2.50-72.amzn2.0.4.noarch from amzn2-core removed (updateinfo)
--> 2:vim-common-9.0.828-1.amzn2.0.1.x86_64 from installed removed (updateinfo)
--> 2:vim-filesystem-9.0.1006-1.amzn2.0.1.noarch from amzn2-core removed (updateinfo)
--> 2:vim-minimal-9.0.1006-1.amzn2.0.1.x86_64 from amzn2-core removed (updateinfo)
--> unzip-6.0-43.amzn2.x86_64 from installed removed (updateinfo)
6 package(s) needed (+0 related) for security, out of 14 available
Resolving Dependencies
--> Running transaction check
---> Package krb5-libs.x86_64 0:1.15.1-37.amzn2.2.4 will be updated
---> Package krb5-libs.x86_64 0:1.15.1-55.amzn2.2.5 will be an update
---> Package libpng.x86_64 2:1.5.13-8.amzn2 will be updated
---> Package libpng.x86_64 2:1.5.13-8.amzn2.0.1 will be an update
---> Package libtasn1.x86_64 0:4.10-1.amzn2.0.2 will be updated
---> Package libtasn1.x86_64 0:4.10-1.amzn2.0.3 will be an update
---> Package python3.x86_64 0:3.7.15-1.amzn2.0.2 will be updated
---> Package python3.x86_64 0:3.7.16-1.amzn2.0.1 will be an update
---> Package python3-libs.x86_64 0:3.7.15-1.amzn2.0.2 will be updated
---> Package python3-libs.x86_64 0:3.7.16-1.amzn2.0.1 will be an update
---> Package sqlite.x86_64 0:3.7.17-8.amzn2.1.1 will be updated
---> Package sqlite.x86_64 0:3.7.17-8.amzn2.1.2 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
krb5-libs x86_64 1.15.1-55.amzn2.2.5 amzn2-core 803 k
libpng x86_64 2:1.5.13-8.amzn2.0.1 amzn2-core 212 k
libtasn1 x86_64 4.10-1.amzn2.0.3 amzn2-core 320 k
python3 x86_64 3.7.16-1.amzn2.0.1 amzn2-core 72 k
python3-libs x86_64 3.7.16-1.amzn2.0.1 amzn2-core 9.8 M
sqlite x86_64 3.7.17-8.amzn2.1.2 amzn2-core 391 k
Transaction Summary
================================================================================
Upgrade 6 Packages
Total download size: 12 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
--------------------------------------------------------------------------------
Total 37 MB/s | 12 MB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : sqlite-3.7.17-8.amzn2.1.2.x86_64 1/12
Updating : python3-3.7.16-1.amzn2.0.1.x86_64 2/12
Updating : python3-libs-3.7.16-1.amzn2.0.1.x86_64 3/12
Updating : libtasn1-4.10-1.amzn2.0.3.x86_64 4/12
Updating : krb5-libs-1.15.1-55.amzn2.2.5.x86_64 5/12
Updating : 2:libpng-1.5.13-8.amzn2.0.1.x86_64 6/12
Cleanup : python3-3.7.15-1.amzn2.0.2.x86_64 7/12
Cleanup : python3-libs-3.7.15-1.amzn2.0.2.x86_64 8/12
Cleanup : sqlite-3.7.17-8.amzn2.1.1.x86_64 9/12
Cleanup : libtasn1-4.10-1.amzn2.0.2.x86_64 10/12
Cleanup : krb5-libs-1.15.1-37.amzn2.2.4.x86_64 11/12
Cleanup : 2:libpng-1.5.13-8.amzn2.x86_64 12/12
Verifying : 2:libpng-1.5.13-8.amzn2.0.1.x86_64 1/12
Verifying : krb5-libs-1.15.1-55.amzn2.2.5.x86_64 2/12
Verifying : sqlite-3.7.17-8.amzn2.1.2.x86_64 3/12
Verifying : python3-libs-3.7.16-1.amzn2.0.1.x86_64 4/12
Verifying : libtasn1-4.10-1.amzn2.0.3.x86_64 5/12
Verifying : python3-3.7.16-1.amzn2.0.1.x86_64 6/12
Verifying : python3-libs-3.7.15-1.amzn2.0.2.x86_64 7/12
Verifying : libtasn1-4.10-1.amzn2.0.2.x86_64 8/12
Verifying : 2:libpng-1.5.13-8.amzn2.x86_64 9/12
Verifying : sqlite-3.7.17-8.amzn2.1.1.x86_64 10/12
Verifying : python3-3.7.15-1.amzn2.0.2.x86_64 11/12
Verifying : krb5-libs-1.15.1-37.amzn2.2.4.x86_64 12/12
Updated:
krb5-libs.x86_64 0:1.15.1-55.amzn2.2.5 libpng.x86_64 2:1.5.13-8.amzn2.0.1
libtasn1.x86_64 0:4.10-1.amzn2.0.3 python3.x86_64 0:3.7.16-1.amzn2.0.1
python3-libs.x86_64 0:3.7.16-1.amzn2.0.1 sqlite.x86_64 0:3.7.17-8.amzn2.1.2
Complete!
Cloud-init v. 19.3-46.amzn2 running 'modules:final' at Wed, 25 Jan 2023 14:18:11 +0000. Up 26.86 seconds.
+ yum -y update
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
Existing lock /var/run/yum.pid: another copy is running as pid 3171.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 78 M RSS (296 MB VSZ)
Started: Wed Jan 25 14:18:10 2023 - 00:02 ago
State : Running, pid: 3171
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 168 M RSS (387 MB VSZ)
Started: Wed Jan 25 14:18:10 2023 - 00:04 ago
State : Running, pid: 3171
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 171 M RSS (390 MB VSZ)
Started: Wed Jan 25 14:18:10 2023 - 00:06 ago
State : Running, pid: 3171
Resolving Dependencies
--> Running transaction check
---> Package ca-certificates.noarch 0:2021.2.50-72.amzn2.0.3 will be updated
---> Package ca-certificates.noarch 0:2021.2.50-72.amzn2.0.4 will be an update
---> Package freetype.x86_64 0:2.8-14.amzn2.1 will be updated
---> Package freetype.x86_64 0:2.8-14.amzn2.1.1 will be an update
---> Package unzip.x86_64 0:6.0-43.amzn2 will be updated
---> Package unzip.x86_64 0:6.0-57.amzn2.0.1 will be an update
---> Package vim-common.x86_64 2:9.0.828-1.amzn2.0.1 will be updated
---> Package vim-common.x86_64 2:9.0.1006-1.amzn2.0.1 will be an update
---> Package vim-data.noarch 2:9.0.828-1.amzn2.0.1 will be updated
---> Package vim-data.noarch 2:9.0.1006-1.amzn2.0.1 will be an update
---> Package vim-enhanced.x86_64 2:9.0.828-1.amzn2.0.1 will be updated
---> Package vim-enhanced.x86_64 2:9.0.1006-1.amzn2.0.1 will be an update
---> Package vim-filesystem.noarch 2:9.0.828-1.amzn2.0.1 will be updated
---> Package vim-filesystem.noarch 2:9.0.1006-1.amzn2.0.1 will be an update
---> Package vim-minimal.x86_64 2:9.0.828-1.amzn2.0.1 will be updated
---> Package vim-minimal.x86_64 2:9.0.1006-1.amzn2.0.1 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
ca-certificates noarch 2021.2.50-72.amzn2.0.4 amzn2-core 369 k
freetype x86_64 2.8-14.amzn2.1.1 amzn2-core 374 k
unzip x86_64 6.0-57.amzn2.0.1 amzn2-core 182 k
vim-common x86_64 2:9.0.1006-1.amzn2.0.1 amzn2-core 7.8 M
vim-data noarch 2:9.0.1006-1.amzn2.0.1 amzn2-core 78 k
vim-enhanced x86_64 2:9.0.1006-1.amzn2.0.1 amzn2-core 1.6 M
vim-filesystem noarch 2:9.0.1006-1.amzn2.0.1 amzn2-core 72 k
vim-minimal x86_64 2:9.0.1006-1.amzn2.0.1 amzn2-core 736 k
Transaction Summary
================================================================================
Upgrade 8 Packages
Total download size: 11 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
--------------------------------------------------------------------------------
Total 29 MB/s | 11 MB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : 2:vim-data-9.0.1006-1.amzn2.0.1.noarch 1/16
Updating : 2:vim-filesystem-9.0.1006-1.amzn2.0.1.noarch 2/16
Updating : 2:vim-common-9.0.1006-1.amzn2.0.1.x86_64 3/16
Updating : 2:vim-enhanced-9.0.1006-1.amzn2.0.1.x86_64 4/16
Updating : 2:vim-minimal-9.0.1006-1.amzn2.0.1.x86_64 5/16
Updating : unzip-6.0-57.amzn2.0.1.x86_64 6/16
Updating : ca-certificates-2021.2.50-72.amzn2.0.4.noarch 7/16
Updating : freetype-2.8-14.amzn2.1.1.x86_64 8/16
Cleanup : ca-certificates-2021.2.50-72.amzn2.0.3.noarch 9/16
Cleanup : 2:vim-minimal-9.0.828-1.amzn2.0.1.x86_64 10/16
Cleanup : 2:vim-enhanced-9.0.828-1.amzn2.0.1.x86_64 11/16
Cleanup : 2:vim-common-9.0.828-1.amzn2.0.1.x86_64 12/16
Cleanup : 2:vim-data-9.0.828-1.amzn2.0.1.noarch 13/16
Cleanup : 2:vim-filesystem-9.0.828-1.amzn2.0.1.noarch 14/16
Cleanup : unzip-6.0-43.amzn2.x86_64 15/16
Cleanup : freetype-2.8-14.amzn2.1.x86_64 16/16
Verifying : freetype-2.8-14.amzn2.1.1.x86_64 1/16
Verifying : ca-certificates-2021.2.50-72.amzn2.0.4.noarch 2/16
Verifying : 2:vim-enhanced-9.0.1006-1.amzn2.0.1.x86_64 3/16
Verifying : 2:vim-filesystem-9.0.1006-1.amzn2.0.1.noarch 4/16
Verifying : 2:vim-minimal-9.0.1006-1.amzn2.0.1.x86_64 5/16
Verifying : 2:vim-common-9.0.1006-1.amzn2.0.1.x86_64 6/16
Verifying : 2:vim-data-9.0.1006-1.amzn2.0.1.noarch 7/16
Verifying : unzip-6.0-57.amzn2.0.1.x86_64 8/16
Verifying : 2:vim-filesystem-9.0.828-1.amzn2.0.1.noarch 9/16
Verifying : 2:vim-minimal-9.0.828-1.amzn2.0.1.x86_64 10/16
Verifying : 2:vim-common-9.0.828-1.amzn2.0.1.x86_64 11/16
Verifying : freetype-2.8-14.amzn2.1.x86_64 12/16
Verifying : 2:vim-enhanced-9.0.828-1.amzn2.0.1.x86_64 13/16
Verifying : ca-certificates-2021.2.50-72.amzn2.0.3.noarch 14/16
Verifying : unzip-6.0-43.amzn2.x86_64 15/16
Verifying : 2:vim-data-9.0.828-1.amzn2.0.1.noarch 16/16
Updated:
ca-certificates.noarch 0:2021.2.50-72.amzn2.0.4
freetype.x86_64 0:2.8-14.amzn2.1.1
unzip.x86_64 0:6.0-57.amzn2.0.1
vim-common.x86_64 2:9.0.1006-1.amzn2.0.1
vim-data.noarch 2:9.0.1006-1.amzn2.0.1
vim-enhanced.x86_64 2:9.0.1006-1.amzn2.0.1
vim-filesystem.noarch 2:9.0.1006-1.amzn2.0.1
vim-minimal.x86_64 2:9.0.1006-1.amzn2.0.1
Complete!
+ yum -y install httpd wget cowsay curl python3 pip3 amazon-efs-utils
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
Package wget-1.14-18.amzn2.1.x86_64 already installed and latest version
Package curl-7.79.1-7.amzn2.0.1.x86_64 already installed and latest version
Package python3-3.7.16-1.amzn2.0.1.x86_64 already installed and latest version
No package pip3 available.
Resolving Dependencies
--> Running transaction check
---> Package amazon-efs-utils.noarch 0:1.34.4-1.amzn2 will be installed
--> Processing Dependency: stunnel5 for package: amazon-efs-utils-1.34.4-1.amzn2.noarch
---> Package cowsay.noarch 0:3.04-6.amzn2 will be installed
---> Package httpd.x86_64 0:2.4.54-1.amzn2 will be installed
--> Processing Dependency: httpd-tools = 2.4.54-1.amzn2 for package: httpd-2.4.54-1.amzn2.x86_64
--> Processing Dependency: httpd-filesystem = 2.4.54-1.amzn2 for package: httpd-2.4.54-1.amzn2.x86_64
--> Processing Dependency: system-logos-httpd for package: httpd-2.4.54-1.amzn2.x86_64
--> Processing Dependency: mod_http2 for package: httpd-2.4.54-1.amzn2.x86_64
--> Processing Dependency: httpd-filesystem for package: httpd-2.4.54-1.amzn2.x86_64
--> Processing Dependency: /etc/mime.types for package: httpd-2.4.54-1.amzn2.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.4.54-1.amzn2.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.4.54-1.amzn2.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.7.0-9.amzn2 will be installed
---> Package apr-util.x86_64 0:1.6.1-5.amzn2.0.2 will be installed
--> Processing Dependency: apr-util-bdb(x86-64) = 1.6.1-5.amzn2.0.2 for package: apr-util-1.6.1-5.amzn2.0.2.x86_64
---> Package generic-logos-httpd.noarch 0:18.0.0-4.amzn2 will be installed
---> Package httpd-filesystem.noarch 0:2.4.54-1.amzn2 will be installed
---> Package httpd-tools.x86_64 0:2.4.54-1.amzn2 will be installed
---> Package mailcap.noarch 0:2.1.41-2.amzn2 will be installed
---> Package mod_http2.x86_64 0:1.15.19-1.amzn2.0.1 will be installed
---> Package stunnel5.x86_64 0:5.58-1.amzn2.0.1 will be installed
--> Running transaction check
---> Package apr-util-bdb.x86_64 0:1.6.1-5.amzn2.0.2 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
amazon-efs-utils noarch 1.34.4-1.amzn2 amzn2-core 55 k
cowsay noarch 3.04-6.amzn2 amzn2-core 42 k
httpd x86_64 2.4.54-1.amzn2 amzn2-core 1.4 M
Installing for dependencies:
apr x86_64 1.7.0-9.amzn2 amzn2-core 122 k
apr-util x86_64 1.6.1-5.amzn2.0.2 amzn2-core 99 k
apr-util-bdb x86_64 1.6.1-5.amzn2.0.2 amzn2-core 19 k
generic-logos-httpd noarch 18.0.0-4.amzn2 amzn2-core 19 k
httpd-filesystem noarch 2.4.54-1.amzn2 amzn2-core 24 k
httpd-tools x86_64 2.4.54-1.amzn2 amzn2-core 88 k
mailcap noarch 2.1.41-2.amzn2 amzn2-core 31 k
mod_http2 x86_64 1.15.19-1.amzn2.0.1 amzn2-core 149 k
stunnel5 x86_64 5.58-1.amzn2.0.1 amzn2-core 165 k
Transaction Summary
================================================================================
Install 3 Packages (+9 Dependent packages)
Total download size: 2.1 M
Installed size: 5.8 M
Downloading packages:
--------------------------------------------------------------------------------
Total 6.0 MB/s | 2.1 MB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : apr-1.7.0-9.amzn2.x86_64 1/12
Installing : apr-util-bdb-1.6.1-5.amzn2.0.2.x86_64 2/12
Installing : apr-util-1.6.1-5.amzn2.0.2.x86_64 3/12
Installing : httpd-tools-2.4.54-1.amzn2.x86_64 4/12
Installing : httpd-filesystem-2.4.54-1.amzn2.noarch 5/12
Installing : mailcap-2.1.41-2.amzn2.noarch 6/12
Installing : generic-logos-httpd-18.0.0-4.amzn2.noarch 7/12
Installing : mod_http2-1.15.19-1.amzn2.0.1.x86_64 8/12
Installing : httpd-2.4.54-1.amzn2.x86_64 9/12
Installing : stunnel5-5.58-1.amzn2.0.1.x86_64 10/12
Installing : amazon-efs-utils-1.34.4-1.amzn2.noarch 11/12
Installing : cowsay-3.04-6.amzn2.noarch 12/12
Verifying : apr-util-1.6.1-5.amzn2.0.2.x86_64 1/12
Verifying : apr-util-bdb-1.6.1-5.amzn2.0.2.x86_64 2/12
Verifying : stunnel5-5.58-1.amzn2.0.1.x86_64 3/12
Verifying : cowsay-3.04-6.amzn2.noarch 4/12
Verifying : generic-logos-httpd-18.0.0-4.amzn2.noarch 5/12
Verifying : mod_http2-1.15.19-1.amzn2.0.1.x86_64 6/12
Verifying : httpd-2.4.54-1.amzn2.x86_64 7/12
Verifying : mailcap-2.1.41-2.amzn2.noarch 8/12
Verifying : httpd-tools-2.4.54-1.amzn2.x86_64 9/12
Verifying : httpd-filesystem-2.4.54-1.amzn2.noarch 10/12
Verifying : amazon-efs-utils-1.34.4-1.amzn2.noarch 11/12
Verifying : apr-1.7.0-9.amzn2.x86_64 12/12
Installed:
amazon-efs-utils.noarch 0:1.34.4-1.amzn2 cowsay.noarch 0:3.04-6.amzn2
httpd.x86_64 0:2.4.54-1.amzn2
Dependency Installed:
apr.x86_64 0:1.7.0-9.amzn2
apr-util.x86_64 0:1.6.1-5.amzn2.0.2
apr-util-bdb.x86_64 0:1.6.1-5.amzn2.0.2
generic-logos-httpd.noarch 0:18.0.0-4.amzn2
httpd-filesystem.noarch 0:2.4.54-1.amzn2
httpd-tools.x86_64 0:2.4.54-1.amzn2
mailcap.noarch 0:2.1.41-2.amzn2
mod_http2.x86_64 0:1.15.19-1.amzn2.0.1
stunnel5.x86_64 0:5.58-1.amzn2.0.1
Complete!
+ amazon-linux-extras install -y php7.2
Topic php7.2 has end-of-support date of 2020-11-30
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
Existing lock /var/run/yum.pid: another copy is running as pid 3359.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 65 M RSS (283 MB VSZ)
Started: Wed Jan 25 14:18:27 2023 - 00:02 ago
State : Running, pid: 3359
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 195 M RSS (486 MB VSZ)
Started: Wed Jan 25 14:18:27 2023 - 00:04 ago
State : Running, pid: 3359
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 175 M RSS (467 MB VSZ)
Started: Wed Jan 25 14:18:27 2023 - 00:06 ago
State : Running, pid: 3359
Cleaning repos: amzn2-core amzn2extra-docker amzn2extra-php7.2
17 metadata files removed
6 sqlite files removed
0 metadata files removed
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
Resolving Dependencies
--> Running transaction check
---> Package php-cli.x86_64 0:7.2.34-1.amzn2 will be installed
--> Processing Dependency: php-common(x86-64) = 7.2.34-1.amzn2 for package: php-cli-7.2.34-1.amzn2.x86_64
---> Package php-fpm.x86_64 0:7.2.34-1.amzn2 will be installed
---> Package php-json.x86_64 0:7.2.34-1.amzn2 will be installed
---> Package php-mysqlnd.x86_64 0:7.2.34-1.amzn2 will be installed
---> Package php-pdo.x86_64 0:7.2.34-1.amzn2 will be installed
--> Running transaction check
---> Package php-common.x86_64 0:7.2.34-1.amzn2 will be installed
--> Processing Dependency: libzip.so.5()(64bit) for package: php-common-7.2.34-1.amzn2.x86_64
--> Running transaction check
---> Package libzip.x86_64 0:1.3.2-1.amzn2.0.1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
php-cli x86_64 7.2.34-1.amzn2 amzn2extra-php7.2 4.4 M
php-fpm x86_64 7.2.34-1.amzn2 amzn2extra-php7.2 1.5 M
php-json x86_64 7.2.34-1.amzn2 amzn2extra-php7.2 71 k
php-mysqlnd x86_64 7.2.34-1.amzn2 amzn2extra-php7.2 238 k
php-pdo x86_64 7.2.34-1.amzn2 amzn2extra-php7.2 132 k
Installing for dependencies:
libzip x86_64 1.3.2-1.amzn2.0.1 amzn2-core 62 k
php-common x86_64 7.2.34-1.amzn2 amzn2extra-php7.2 1.1 M
Transaction Summary
================================================================================
Install 5 Packages (+2 Dependent packages)
Total download size: 7.5 M
Installed size: 31 M
Downloading packages:
--------------------------------------------------------------------------------
Total 19 MB/s | 7.5 MB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : libzip-1.3.2-1.amzn2.0.1.x86_64 1/7
Installing : php-common-7.2.34-1.amzn2.x86_64 2/7
Installing : php-json-7.2.34-1.amzn2.x86_64 3/7
Installing : php-pdo-7.2.34-1.amzn2.x86_64 4/7
Installing : php-mysqlnd-7.2.34-1.amzn2.x86_64 5/7
Installing : php-fpm-7.2.34-1.amzn2.x86_64 6/7
Installing : php-cli-7.2.34-1.amzn2.x86_64 7/7
Verifying : php-fpm-7.2.34-1.amzn2.x86_64 1/7
Verifying : php-cli-7.2.34-1.amzn2.x86_64 2/7
Verifying : php-json-7.2.34-1.amzn2.x86_64 3/7
Verifying : libzip-1.3.2-1.amzn2.0.1.x86_64 4/7
Verifying : php-mysqlnd-7.2.34-1.amzn2.x86_64 5/7
Verifying : php-pdo-7.2.34-1.amzn2.x86_64 6/7
Verifying : php-common-7.2.34-1.amzn2.x86_64 7/7
Installed:
php-cli.x86_64 0:7.2.34-1.amzn2 php-fpm.x86_64 0:7.2.34-1.amzn2
php-json.x86_64 0:7.2.34-1.amzn2 php-mysqlnd.x86_64 0:7.2.34-1.amzn2
php-pdo.x86_64 0:7.2.34-1.amzn2
Dependency Installed:
libzip.x86_64 0:1.3.2-1.amzn2.0.1 php-common.x86_64 0:7.2.34-1.amzn2
Complete!
Installing php-pdo, php-fpm, php-mysqlnd, php-cli, php-json
0 ansible2 available \
[ =2.4.2 =2.4.6 =2.8 =stable ]
2 httpd_modules available [ =1.0 =stable ]
3 memcached1.5 available \
[ =1.5.1 =1.5.16 =1.5.17 ]
6 postgresql10 available [ =10 =stable ]
9 R3.4 available [ =3.4.3 =stable ]
10 rust1 available \
[ =1.22.1 =1.26.0 =1.26.1 =1.27.2 =1.31.0 =1.38.0
=stable ]
15 *php7.2=latest enabled \
[ =7.2.0 =7.2.4 =7.2.5 =7.2.8 =7.2.11 =7.2.13 =7.2.14
=7.2.16 =7.2.17 =7.2.19 =7.2.21 =7.2.22 =7.2.23
=7.2.24 =7.2.26 =stable ]
18 libreoffice available \
[ =5.0.6.2_15 =5.3.6.1 =stable ]
19 gimp available [ =2.8.22 ]
20 docker=latest enabled \
[ =17.12.1 =18.03.1 =18.06.1 =18.09.9 =stable ]
21 mate-desktop1.x available \
[ =1.19.0 =1.20.0 =stable ]
22 GraphicsMagick1.3 available \
[ =1.3.29 =1.3.32 =1.3.34 =stable ]
23 tomcat8.5 available \
[ =8.5.31 =8.5.32 =8.5.38 =8.5.40 =8.5.42 =8.5.50
=stable ]
24 epel available [ =7.11 =stable ]
25 testing available [ =1.0 =stable ]
26 ecs available [ =stable ]
27 corretto8 available \
[ =1.8.0_192 =1.8.0_202 =1.8.0_212 =1.8.0_222 =1.8.0_232
=1.8.0_242 =stable ]
29 golang1.11 available \
[ =1.11.3 =1.11.11 =1.11.13 =stable ]
30 squid4 available [ =4 =stable ]
32 lustre2.10 available \
[ =2.10.5 =2.10.8 =stable ]
33 java-openjdk11 available [ =11 =stable ]
34 lynis available [ =stable ]
36 BCC available [ =0.x =stable ]
37 mono available [ =5.x =stable ]
38 nginx1 available [ =stable ]
39 ruby2.6 available [ =2.6 =stable ]
40 mock available [ =stable ]
41 postgresql11 available [ =11 =stable ]
43 livepatch available [ =stable ]
44 python3.8 available [ =stable ]
45 haproxy2 available [ =stable ]
46 collectd available [ =stable ]
47 aws-nitro-enclaves-cli available [ =stable ]
48 R4 available [ =stable ]
49 kernel-5.4 available [ =stable ]
50 selinux-ng available [ =stable ]
_ php8.0 available [ =stable ]
52 tomcat9 available [ =stable ]
53 unbound1.13 available [ =stable ]
54 mariadb10.5 available [ =stable ]
55 kernel-5.10 available [ =stable ]
56 redis6 available [ =stable ]
57 ruby3.0 available [ =stable ]
58 postgresql12 available [ =stable ]
59 postgresql13 available [ =stable ]
60 mock2 available [ =stable ]
61 dnsmasq2.85 available [ =stable ]
62 kernel-5.15 available [ =stable ]
63 postgresql14 available [ =stable ]
64 firefox available [ =stable ]
65 lustre available [ =stable ]
_ php8.1 available [ =stable ]
67 awscli1 available [ =stable ]
* Extra topic has reached end of support.
+ amazon-linux-extras install epel -y
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
Existing lock /var/run/yum.pid: another copy is running as pid 3447.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 42 M RSS (260 MB VSZ)
Started: Wed Jan 25 14:18:42 2023 - 00:03 ago
State : Running, pid: 3447
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 190 M RSS (481 MB VSZ)
Started: Wed Jan 25 14:18:42 2023 - 00:05 ago
State : Running, pid: 3447
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 174 M RSS (467 MB VSZ)
Started: Wed Jan 25 14:18:42 2023 - 00:07 ago
State : Running, pid: 3447
Cleaning repos: amzn2-core amzn2extra-docker amzn2extra-epel amzn2extra-php7.2
22 metadata files removed
8 sqlite files removed
0 metadata files removed
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-11 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
epel-release noarch 7-11 amzn2extra-epel 15 k
Transaction Summary
================================================================================
Install 1 Package
Total download size: 15 k
Installed size: 24 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : epel-release-7-11.noarch 1/1
Verifying : epel-release-7-11.noarch 1/1
Installed:
epel-release.noarch 0:7-11
Complete!
Installing epel-release
0 ansible2 available \
[ =2.4.2 =2.4.6 =2.8 =stable ]
2 httpd_modules available [ =1.0 =stable ]
3 memcached1.5 available \
[ =1.5.1 =1.5.16 =1.5.17 ]
6 postgresql10 available [ =10 =stable ]
9 R3.4 available [ =3.4.3 =stable ]
10 rust1 available \
[ =1.22.1 =1.26.0 =1.26.1 =1.27.2 =1.31.0 =1.38.0
=stable ]
15 *php7.2=latest enabled \
[ =7.2.0 =7.2.4 =7.2.5 =7.2.8 =7.2.11 =7.2.13 =7.2.14
=7.2.16 =7.2.17 =7.2.19 =7.2.21 =7.2.22 =7.2.23
=7.2.24 =7.2.26 =stable ]
18 libreoffice available \
[ =5.0.6.2_15 =5.3.6.1 =stable ]
19 gimp available [ =2.8.22 ]
20 docker=latest enabled \
[ =17.12.1 =18.03.1 =18.06.1 =18.09.9 =stable ]
21 mate-desktop1.x available \
[ =1.19.0 =1.20.0 =stable ]
22 GraphicsMagick1.3 available \
[ =1.3.29 =1.3.32 =1.3.34 =stable ]
23 tomcat8.5 available \
[ =8.5.31 =8.5.32 =8.5.38 =8.5.40 =8.5.42 =8.5.50
=stable ]
24 epel=latest enabled [ =7.11 =stable ]
25 testing available [ =1.0 =stable ]
26 ecs available [ =stable ]
27 corretto8 available \
[ =1.8.0_192 =1.8.0_202 =1.8.0_212 =1.8.0_222 =1.8.0_232
=1.8.0_242 =stable ]
29 golang1.11 available \
[ =1.11.3 =1.11.11 =1.11.13 =stable ]
30 squid4 available [ =4 =stable ]
32 lustre2.10 available \
[ =2.10.5 =2.10.8 =stable ]
33 java-openjdk11 available [ =11 =stable ]
34 lynis available [ =stable ]
36 BCC available [ =0.x =stable ]
37 mono available [ =5.x =stable ]
38 nginx1 available [ =stable ]
39 ruby2.6 available [ =2.6 =stable ]
40 mock available [ =stable ]
41 postgresql11 available [ =11 =stable ]
43 livepatch available [ =stable ]
44 python3.8 available [ =stable ]
45 haproxy2 available [ =stable ]
46 collectd available [ =stable ]
47 aws-nitro-enclaves-cli available [ =stable ]
48 R4 available [ =stable ]
49 kernel-5.4 available [ =stable ]
50 selinux-ng available [ =stable ]
_ php8.0 available [ =stable ]
52 tomcat9 available [ =stable ]
53 unbound1.13 available [ =stable ]
54 mariadb10.5 available [ =stable ]
55 kernel-5.10 available [ =stable ]
56 redis6 available [ =stable ]
57 ruby3.0 available [ =stable ]
58 postgresql12 available [ =stable ]
59 postgresql13 available [ =stable ]
60 mock2 available [ =stable ]
61 dnsmasq2.85 available [ =stable ]
62 kernel-5.15 available [ =stable ]
63 postgresql14 available [ =stable ]
64 firefox available [ =stable ]
65 lustre available [ =stable ]
_ php8.1 available [ =stable ]
67 awscli1 available [ =stable ]
* Extra topic has reached end of support.
+ yum install stress -y
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
http://mirror.es.its.nyu.edu/epel/7/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.es.its.nyu.edu/epel/7/x86_64/repodata/repomd.xml: (28, 'Connection timeout after 5001 ms')
Trying other mirror.
236 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package stress.x86_64 0:1.0.4-16.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
stress x86_64 1.0.4-16.el7 epel 39 k
Transaction Summary
================================================================================
Install 1 Package
Total download size: 39 k
Installed size: 94 k
Downloading packages:
warning: /var/cache/yum/x86_64/2/epel/packages/stress-1.0.4-16.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for stress-1.0.4-16.el7.x86_64.rpm is not installed
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:
Userid : "Fedora EPEL (7) <[email protected]>"
Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
Package : epel-release-7-11.noarch (@amzn2extra-epel)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : stress-1.0.4-16.el7.x86_64 1/1
Verifying : stress-1.0.4-16.el7.x86_64 1/1
Installed:
stress.x86_64 0:1.0.4-16.el7
Complete!
+ pip3 install random-cat
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting random-cat
Downloading random-cat-1.0.1.tar.gz (3.0 kB)
Using legacy 'setup.py install' for random-cat, since package 'wheel' is not installed.
Installing collected packages: random-cat
Running setup.py install for random-cat: started
Running setup.py install for random-cat: finished with status 'done'
Successfully installed random-cat-1.0.1
+ systemctl enable httpd
Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.
+ systemctl start httpd
++ printf '%02x%02x%02x\n' 107 77 239
+ bgcolor=6b4def
++ curl http://169.254.169.254/latest/meta-data/instance-id
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 19 100 19 0 0 6132 0 --:--:-- --:--:-- --:--:-- 9500
+ instanceId=i-0977f49b9846d73b7
+ wget -O /var/www/html/cat.gif 'http://thecatapi.com/api/images/get?format=src&type=gif&api_key=8f7dc437-0b9b-47b8-a2c0-65925d593acf'
--2023-01-25 14:19:11-- http://thecatapi.com/api/images/get?format=src&type=gif&api_key=8f7dc437-0b9b-47b8-a2c0-65925d593acf
Resolving thecatapi.com (thecatapi.com)... 104.21.33.166, 172.67.165.7, 2606:4700:3035::ac43:a507, ...
Connecting to thecatapi.com (thecatapi.com)|104.21.33.166|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://api.thecatapi.com/api/images/get?format=src&type=gif&api_key=8f7dc437-0b9b-47b8-a2c0-65925d593acf [following]
--2023-01-25 14:19:11-- https://api.thecatapi.com/api/images/get?format=src&type=gif&api_key=8f7dc437-0b9b-47b8-a2c0-65925d593acf
Resolving api.thecatapi.com (api.thecatapi.com)... 142.251.163.121, 2607:f8b0:4004:c1b::79
Connecting to api.thecatapi.com (api.thecatapi.com)|142.251.163.121|:443... connected.
HTTP request sent, awaiting response... 429 Too Many Requests
2023-01-25 14:19:11 ERROR 429: Too Many Requests.
Jan 25 14:19:11 cloud-init[3163]: util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/part-001 [8]
Jan 25 14:19:11 cloud-init[3163]: cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
Jan 25 14:19:11 cloud-init[3163]: util.py[WARNING]: Running module scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python2.7/site-packages/cloudinit/config/cc_scripts_user.pyc'>) failed
ci-info: no authorized ssh keys fingerprints found for user ec2-user.
Cloud-init v. 19.3-46.amzn2 finished at Wed, 25 Jan 2023 14:19:11 +0000. Datasource DataSourceEc2. Up 86.93 seconds