M6gインスタンス yumで標準的にインストール可能なパッケージを調べてみた
こんにちは。
ご機嫌いかがでしょうか。
"No human labor is no human error" が大好きな吉井 亮です。
アメリカ時間の2020年5月15日に新しい EC2 M6g インスタンスが GA されました。
AWS (とその関連会社) が設計したということでクラウド最適化された CPU であると勝手に期待しています。
コストパフォマンスに優れているということで汎用的なワークロードでは積極的に使用していきたいと思います。
上記が公式アナウンスですが、一部気になる箇所がありました。
現在使用しているのと同じメカニズム (yum、apt-get、pip、npm など) を介してインストール可能な一般的に使用されるソフトウェアパッケージの Arm バージョンが見つかります。一部のアプリケーションは再コンパイルが必要な場合がありますが、インタプリタ型言語 (Java、NodeJS、Python、Go など) に基づくアプリケーションのほとんどは、M6g インスタンスで変更せずに実行できるはずです。コードを再コンパイルまたはデバッグする必要があるまれなケースのために、使用を開始するのに役立ついくつかのリソースをご用意しています。
ということで yum を使って標準的にインストール可能なパッケージを調べてみました。
前提
T3 インスタンスと M6g インスタンスで yum list available を実行し diff を取ります。
EC2 を起動した後以下を実行しています。
- RunCommand で SSM Agent をアップデート
- sudo yum update を一回実行
- sudo yum list available を実行、標準出力をファイルに保存
AMI は以下を使いました。
Amazon Linux 2 AMI (HVM), SSD Volume Type - ami-0f310fced6141e627 (64 ビット x86) / ami-08360a37d07f61f88 (64 ビット Arm)
結果
yum list
yum list available の出力行数です。
$ yum list available > arm-yum-list-available.txt $ yum list available > x86-yum-list-available.txt $ wc arm-yum-list-available.txt $ wc x86-yum-list-available.txt
かなりの差分がありました。
後述している diff で判りますが、i686 のパッケージが差分のほとんどです。
EC2 Instance | 行数 |
---|---|
m6g.large | 6708 |
t3.medium | 8029 |
diff
diff を取ります。
パッケージ名にアーキテクチャが入っていると diff しにくいので以下のようにアーキテクチャを取り除きます。
$ sed -e 's/.x86_64//' -e 's/.aarch64//' arm-yum-list-available.txt |awk -F' ' '{print $1}' > nameonly/arm-yum-list-available.txt $ sed -e 's/.x86_64//' -e 's/.aarch64//' x86-yum-list-available.txt |awk -F' ' '{print $1}' > nameonly/x86-yum-list-available.txt
結果を見る
$ sdiff -bBis nameonly/arm-yum-list-available.txt nameonly/x86-yum-list-available.txt > CUnit.i686 > Cython > ElectricFence.i686 > GConf2.i686 > GeoIP.i686 > GeoIP-data.noarch > GeoIP-update.noarch > ImageMagick.i686 > ImageMagick-c++.i686 > LibRaw.i686 > ModemManager-glib.i686 > NetworkManager-glib.i686 > NetworkManager-libnm.i686 > ORBit2.i686 > OpenEXR-libs.i686 > OpenIPMI.i686 > OpenIPMI-libs.i686 > PackageKit-glib.i686 > PackageKit-gtk3-module.i686 > SDL.i686 > SDL2.i686 > Xaw3d.i686 > a2ps.i686 > accountsservice-libs.i686 acpid < > adwaita-gtk2-theme.i686 > adwaita-qt4.i686 > adwaita-qt5.i686 > agg.i686 > alsa-lib.i686 > alsa-plugins-arcamav.i686 > alsa-plugins-maemo.i686 > alsa-plugins-oss.i686 > alsa-plugins-pulseaudio.i686 > alsa-plugins-samplerate.i686 > alsa-plugins-speex.i686 > alsa-plugins-upmix.i686 > alsa-plugins-usbstream.i686 > alsa-plugins-vdownmix.i686 > alsa-tools > apr.i686 > apr-util.i686 > apr-util-bdb.i686 > aspell.i686 > at-spi.i686 > at-spi2-atk.i686 > at-spi2-core.i686 > atk.i686 > atkmm.i686 > atkmm-doc.noarch > atlas.i686 > atlas-sse2.i686 > atlas-sse3.i686 > attica.i686 > audiofile.i686 > audit-libs.i686 > augeas-libs.i686 > autogen-libopts.i686 > autotrace.i686 > avahi.i686 > avahi-compat-howl.i686 > avahi-compat-libdns_sd.i686 > avahi-glib.i686 > avahi-gobject.i686 > avahi-libs.i686 > avahi-qt3.i686 > avahi-qt4.i686 > avahi-ui.i686 > avahi-ui-gtk3.i686 > babl.i686 > bind-export-libs.i686 > bind-libs.i686 > bind-libs-lite.i686 > bind-pkcs11-libs.i686 > biosdevname > blas.i686 > bluez-libs.i686 > boost-atomic.i686 > boost-chrono.i686 boost-date-time | boost-context.i686 > boost-context > boost-date-time.i686 > boost-filesystem.i686 > boost-graph.i686 > boost-iostreams.i686 > boost-locale.i686 > boost-math.i686 > boost-program-options.i686 > boost-python.i686 > boost-random.i686 > boost-regex.i686 > boost-serialization.i686 > boost-signals.i686 boost-system | boost-system.i686 > boost-test.i686 boost-thread | boost-thread.i686 > boost-timer.i686 > boost-wave.i686 > brasero-libs.i686 > brlapi.i686 > btrfs-progs.i686 > bzip2-libs.i686 > c-ares.i686 > cairo.i686 > cairo-gobject.i686 > cairomm.i686 > cairomm-doc.noarch > capstone.i686 > caribou.i686 > caribou-gtk2-module.i686 > cdparanoia-libs.i686 > celt051.i686 > check.i686 > cheese-libs.i686 > clang-libs.i686 > cloud-init > clucene-contribs-lib.i686 > clucene-core.i686 > clutter.i686 > clutter-gst2.i686 > clutter-gst3.i686 > clutter-gtk.i686 > cmirror > cmirror-standalone > cogl.i686 > colord-devel-docs.noarch > colord-extra-profiles.noarch > colord-gtk.i686 > colord-libs.i686 > compat-cheese314.i686 > compat-db > compat-db47 > compat-gcc-48 > compat-gcc-48-c++ > compat-gcc-48-gfortran > compat-gcc-48-libgfortran.i686 > compat-gcc-48-libgfortran > compat-glade315 > compat-glew > compat-gnome-desktop314.i686 > compat-grilo02 > compat-libcap1 > compat-libcogl-pango12 > compat-libcogl12 > compat-libcolord1 > compat-libf2c-34 > compat-libgdata13 > compat-libgfortran-41.i686 > compat-libgfortran-41 > compat-libgnome-bluetooth11 > compat-libgnome-desktop3-7 > compat-libgweather3.i686 > compat-libical1.i686 > compat-libmediaart0 > compat-libmpc.i686 > compat-libpackagekit-glib2-16 > compat-libstdc++-33 > compat-libtiff3.i686 > compat-libupower-glib1 > compat-openldap > compat-opensm-libs > compat-poppler022 > compat-poppler022-cpp > compat-poppler022-glib > compat-poppler022-qt > compat-readline5.i686 > conman > coolkey.i686 > corosynclib.i686 > cpptest.i686 > cppunit.i686 > cpuid > cracklib.i686 > crash-ptdump-command > cryptsetup-libs.i686 > cups-filters-libs.i686 > cups-libs.i686 > cvs-contrib.noarch > cvs-inetd.noarch > cyrus-sasl-gs2.i686 > cyrus-sasl-gssapi.i686 > cyrus-sasl-ldap.i686 > cyrus-sasl-lib.i686 > cyrus-sasl-md5.i686 > cyrus-sasl-ntlm.i686 > cyrus-sasl-plain.i686 > cyrus-sasl-scram.i686 > cyrus-sasl-sql.i686 > daxctl-libs.i686 > dbus-glib.i686 > dbus-libs.i686 > dbusmenu-qt.i686 > dbusmenu-qt-devel-docs.noarch > dconf.i686 > devhelp-libs.i686 > device-mapper-event-libs.i686 > device-mapper-libs.i686 > device-mapper-multipath-libs.i686 > dhcp-libs.i686 > dialog.i686 > dleyna-core.i686 > dlm > dlm-devel > dlm-lib.i686 > dlm-lib > dmraid.i686 > dotconf.i686 > dyninst.i686 > dyninst-devel > dyninst-doc > dyninst-static > dyninst-testsuite > e2fsprogs-libs.i686 ec2-hibinit-agent.noarch < > edac-utils.i686 > efibootmgr > efivar-libs.i686 > efivar-libs > elfutils-libelf.i686 > elfutils-libs.i686 > emacs-libidn.noarch > enchant.i686 > espeak.i686 > evince-libs.i686 > evolution.i686 > evolution-data-server.i686 > evolution-data-server-tests.i686 > evolution-mapi.i686 > exempi.i686 > exiv2-libs.i686 > expat.i686 > farstream.i686 > farstream02.i686 > fedfs-utils-lib.i686 > fedfs-utils-nsdbparams.i686 > fence-agents-aliyun > fence-agents-gce > fence-virt > fence-virtd > fence-virtd-libvirt > fence-virtd-multicast > fence-virtd-serial > fence-virtd-tcp > fftw-libs-double.i686 > fftw-libs-long.i686 > fftw-libs-single.i686 > file-libs.i686 > finch.i686 > fipscheck-lib.i686 > flac-libs.i686 > flite.i686 > fltk.i686 > folks.i686 > fontconfig.i686 > fontforge.i686 > fprintd-devel.noarch > fprintd-pam.i686 > freeglut.i686 > freeipmi.i686 > freerdp-libs.i686 > freetype.i686 > fribidi.i686 > fuse-libs.i686 > gamin.i686 > gavl.i686 > gc.i686 > gcc-gdb-plugin.i686 > gcr.i686 > gd.i686 > gdbm.i686 > gdk-pixbuf2.i686 > gdm.i686 > geoclue.i686 > geoclue-doc.noarch > geoclue2.i686 > geoclue2-libs.i686 > geocode-glib.i686 > gettext-libs.i686 > gfs2-utils > ghostscript.i686 > giflib.i686 > gjs.i686 > glade-libs.i686 > glib-networking.i686 > glib2.i686 > glibc.i686 > glibmm24.i686 > glusterfs-libs.i686 > gmp.i686 > gnome-bluetooth-libs.i686 > gnome-boxes > gnome-desktop3.i686 > gnome-dictionary-libs.i686 > gnome-menus.i686 > gnome-online-accounts.i686 > gnome-terminal > gnome-terminal-nautilus > gnome-vfs2.i686 > gnote.i686 > gnutls.i686 > gnutls-c++.i686 > gnutls-dane.i686 > gnutls-devel.i686 > gobject-introspection.i686 > golang-googlecode-sqlite-devel > golang-race > gom.i686 > gperftools-libs.i686 > gpgme.i686 > gpm-libs.i686 > graphite2.i686 > graphviz.i686 > grilo.i686 > groff-doc.noarch grub2-efi-aa64-cdboot | grub2-efi > grub2-efi-aa64-modules.noarch > grub2-efi-ia32 > grub2-efi-ia32-cdboot > grub2-efi-modules > grub2-efi-x64 > grub2-efi-x64-cdboot grub2-pc-modules.noarch | gsettings-desktop-schemas.i686 > gsl.i686 > gsm.i686 > gsound.i686 > gspell.i686 > gssdp.i686 > gstreamer.i686 > gstreamer-devel.i686 > gstreamer-plugins-bad-free.i686 > gstreamer-plugins-base.i686 > gstreamer-plugins-good.i686 > gstreamer-python.i686 > gstreamer1.i686 > gstreamer1-devel-docs.noarch > gstreamer1-plugins-bad-free.i686 > gstreamer1-plugins-bad-free-devel.i686 > gstreamer1-plugins-bad-free-gtk.i686 > gstreamer1-plugins-base.i686 > gstreamer1-plugins-base-devel-docs.noarch > gstreamer1-plugins-good.i686 > gstreamer1-plugins-ugly-free.i686 > gtest.i686 > gtk-vnc.i686 > gtk-vnc2.i686 > gtk2.i686 > gtk2-immodule-xim.i686 > gtk2-immodules.i686 > gtk3.i686 > gtkhtml3.i686 > gtkmm24.i686 > gtkmm24-docs.noarch > gtkmm30.i686 > gtksourceview3.i686 > gtkspell.i686 > gtkspell3.i686 > gucharmap-libs.i686 > guile.i686 > gupnp.i686 > gupnp-av.i686 > gupnp-av-docs.noarch > gupnp-dlna.i686 > gupnp-dlna-docs.noarch > gupnp-docs.noarch > gupnp-igd.i686 > gvnc.i686 > gvncpulse.i686 > harfbuzz.i686 > harfbuzz-icu.i686 > hawkey.i686 > hesiod.i686 > hivex.i686 > http-parser.i686 > hunspell.i686 > hwloc-libs.i686 > hyperv-daemons > hypervfcopyd > hypervkvpd > hypervvssd > hyphen.i686 > ibus.i686 > ibus-gtk2.i686 > ibus-gtk3.i686 > ibus-libs.i686 > ibus-qt.i686 > ilmbase.i686 > im-chooser-common.i686 > imsettings-libs.i686 > infiniband-diags.i686 > infinipath-psm > infinipath-psm-devel > iniparser.i686 > intel-cmt-cat > intel-gpu-tools > iperf3.i686 > ipset-libs.i686 > ipset-service.noarch > iptables.i686 > iptables-libs.i686 > iscsi-initiator-utils.i686 > isl.i686 > jansson.i686 > jasper-libs.i686 > java-1.7.0-openjdk > java-1.7.0-openjdk-accessibility > java-1.7.0-openjdk-demo > java-1.7.0-openjdk-devel > java-1.7.0-openjdk-headless > java-1.7.0-openjdk-src > jbigkit-libs.i686 > jna-contrib.noarch > jq.i686 > js.i686 > json-c.i686 > json-glib.i686 > jsoncpp.i686 > kernel-livepatch-4.14.165-131.185 > kernel-livepatch-4.14.165-133.209 > kernel-livepatch-4.14.171-136.231 > kernel-livepatch-4.14.173-137.228 > kernel-livepatch-4.14.173-137.229 > kernel-livepatch-4.14.177-139.253 > kernel-livepatch-4.14.177-139.254 > keybinder3.i686 > keybinder3-doc.noarch > keyutils-libs.i686 > kmod-libs.i686 > konkretcmpi > konkretcmpi-devel > konkretcmpi-python > kpatch-build > krb5-libs.i686 > krb5-pkinit.i686 > krb5-server.i686 > lapack.i686 > lasso.i686 > latrace.i686 > lcms2.i686 > ldns.i686 > ldns-doc.noarch > lftp.i686 > libGLEW.i686 > libGLEWmx.i686 > libICE.i686 > libIDL.i686 > libSM.i686 > libX11.i686 > libXScrnSaver.i686 > libXau.i686 > libXaw.i686 > libXcomposite.i686 > libXcursor.i686 > libXdamage.i686 > libXdmcp.i686 > libXevie.i686 > libXext.i686 > libXfixes.i686 > libXfont.i686 > libXfont2.i686 > libXft.i686 > libXi.i686 > libXinerama.i686 > libXmu.i686 > libXp.i686 > libXpm.i686 > libXrandr.i686 > libXrender.i686 > libXres.i686 > libXt.i686 > libXtst.i686 > libXv.i686 > libXvMC.i686 > libXxf86dga.i686 > libXxf86misc.i686 > libXxf86vm.i686 > libabw.i686 > libacl.i686 > libaio.i686 > libao.i686 > libappindicator.i686 > libappindicator-gtk3.i686 > libappstream-glib.i686 > libappstream-glib-builder.i686 > libarchive.i686 > libart_lgpl.i686 > libassuan.i686 > libasyncns.i686 > libatasmart.i686 > libatomic.i686 > libatomic_ops.i686 > libattr.i686 > libavc1394.i686 > libbasicobjects.i686 > libblkid.i686 > libblockdev.i686 > libblockdev-btrfs.i686 > libblockdev-crypto.i686 > libblockdev-dm.i686 > libblockdev-fs.i686 > libblockdev-kbd.i686 > libblockdev-loop.i686 > libblockdev-lvm.i686 > libblockdev-mdraid.i686 > libblockdev-mpath.i686 > libblockdev-nvdimm.i686 > libblockdev-part.i686 > libblockdev-swap.i686 > libblockdev-utils.i686 > libbluedevil.i686 > libbluray.i686 > libbonobo.i686 > libbonoboui.i686 > libburn.i686 > libbytesize.i686 > libcacard.i686 > libcanberra.i686 > libcanberra-gtk2.i686 > libcanberra-gtk3.i686 > libcap.i686 > libcap-ng.i686 > libcdio.i686 > libcdio-paranoia.i686 > libcdr.i686 > libcgroup.i686 > libchamplain.i686 > libchamplain-gtk.i686 > libchewing.i686 > libcilkrts.i686 > libcilkrts > libcmocka.i686 > libcmpiCppImpl0.i686 > libcmpiutil.i686 > libcollection.i686 > libcom_err.i686 > libcomps.i686 > libcomps-doc.noarch > libconfig.i686 > libcroco.i686 > libcrypt.i686 > libcrypt-nss.i686 > libcryptui.i686 > libcurl.i686 > libdaemon.i686 > libdb.i686 > libdb-cxx.i686 > libdb-java.i686 > libdb-sql.i686 > libdb-tcl.i686 > libdbi.i686 > libdbusmenu.i686 > libdbusmenu-devel.i686 > libdbusmenu-gtk2.i686 > libdbusmenu-gtk3.i686 > libdbusmenu-jsonloader.i686 > libdhash.i686 > libdmapsharing.i686 > libdmmp.i686 > libdmx.i686 > libdnet.i686 > libdrm.i686 > libdv.i686 > libdvdnav.i686 > libdvdread.i686 libdwarf | libdwarf.i686 > libecap.i686 > libedit.i686 > libee.i686 > libepoxy.i686 > libesmtp.i686 > libestr.i686 > libetonyek.i686 > libev.i686 > libevdev.i686 > libevent.i686 > libevent-doc.noarch > libexif.i686 > libexttextcat.i686 > libfabric.i686 > libfastjson.i686 > libfdisk.i686 > libfdt.i686 > libffi.i686 > libfontenc.i686 > libfprint.i686 > libfreehand.i686 > libgcab1.i686 > libgcc.i686 > libgccjit.i686 > libgcrypt.i686 > libgdata.i686 > libgdither.i686 > libgee.i686 > libgee06.i686 > libgepub.i686 > libgexiv2.i686 > libgfortran.i686 > libglade2.i686 > libglvnd.i686 > libglvnd-egl.i686 > libglvnd-gles.i686 > libglvnd-glx.i686 > libglvnd-opengl.i686 > libgnome.i686 > libgnome-keyring.i686 > libgnomecanvas.i686 > libgnomekbd.i686 > libgnomeui.i686 > libgo.i686 > libgomp.i686 > libgovirt.i686 > libgpg-error.i686 > libgphoto2.i686 > libgpod.i686 > libgsf.i686 > libgtop2.i686 > libgudev1.i686 > libguestfs-gfs2 > libgusb.i686 > libgweather.i686 > libgxim.i686 > libgxps.i686 > libhangul.i686 > libhbaapi.i686 > libhbalinux.i686 > libhif.i686 > libibcm.i686 > libibcommon.i686 > libibmad.i686 > libibumad.i686 > libibverbs.i686 > libical.i686 > libical-glib.i686 > libicns.i686 > libicu.i686 > libid3tag.i686 > libidn.i686 > libidn2.i686 > libiec61883.i686 > libieee1284.i686 > libimobiledevice.i686 > libindicator.i686 > libindicator-gtk3.i686 > libini_config.i686 > libinput.i686 > libinvm-cim > libinvm-cim-devel > libinvm-cli > libinvm-cli-devel > libinvm-i18n > libinvm-i18n-devel > libiodbc.i686 > libipa_hbac.i686 > libiptcdata.i686 > libiscsi.i686 > libisofs.i686 > libitm.i686 > libjose.i686 > libjpeg-turbo.i686 > libkadm5.i686 > libkkc.i686 > libksba.i686 > liblangtag.i686 > liblangtag-gobject.i686 > libldb.i686 > liblockfile.i686 > liblognorm.i686 > liblouis.i686 > liblouis-doc.noarch > liblouis-python.noarch > libluksmeta.i686 > libmalaga.i686 > libmatchbox.i686 > libmbim.i686 > libmediaart.i686 > libmemcached.i686 > libmetalink.i686 > libmicrohttpd.i686 > libmicrohttpd-doc.noarch > libmng.i686 > libmnl.i686 > libmodman.i686 > libmount.i686 > libmpc.i686 > libmpcdec.i686 > libmpx.i686 > libmpx > libmsn.i686 > libmspack.i686 > libmspub.i686 > libmtp.i686 > libmusicbrainz.i686 > libmusicbrainz5.i686 > libmwaw.i686 > libmx.i686 > libmx-docs.noarch > libndp.i686 > libnet.i686 > libnetfilter_conntrack.i686 > libnetfilter_cthelper.i686 > libnetfilter_cttimeout.i686 > libnetfilter_queue.i686 > libnfnetlink.i686 > libnfs.i686 > libnfsidmap.i686 > libnftnl.i686 > libnghttp2.i686 > libnice.i686 > libnl.i686 > libnl3.i686 > libnl3-cli.i686 > libnm-gtk.i686 > libnma.i686 > libnotify.i686 > libntlm.i686 > liboauth.i686 > libobjc.i686 > libodfgen.i686 > libofa.i686 > libogg.i686 > liboil.i686 > libopenraw.i686 > libopenraw-gnome.i686 > libopenraw-pixbuf-loader.i686 > libosinfo.i686 > libotf.i686 > libpagemaker.i686 > libpaper.i686 > libpath_utils.i686 > libpcap.i686 libpciaccess | libpciaccess.i686 > libpeas.i686 > libpeas-gtk.i686 > libpfm.i686 > libpinyin.i686 > libpinyin-data.i686 > libpipeline.i686 > libplist.i686 > libpmem > libpmem-debug > libpmem-devel > libpmemblk > libpmemblk-debug > libpmemblk-devel > libpmemlog > libpmemlog-debug > libpmemlog-devel > libpmemobj > libpmemobj++-devel > libpmemobj-debug > libpmemobj-devel > libpmempool > libpmempool-debug > libpmempool-devel > libpng.i686 > libpng12.i686 > libproxy.i686 > libpsm2 > libpsm2-compat > libpsm2-devel > libpst-libs.i686 > libpurple.i686 > libpwquality.i686 > libqb.i686 > libqmi.i686 > libquadmath.i686 > libquadmath > libquvi.i686 > librados2.i686 > libraw1394.i686 > librbd1.i686 > librdkafka.i686 > librdmacm.i686 > libref_array.i686 > librelp.i686 > librepo.i686 > librevenge.i686 > librpmem > librpmem-debug > librpmem-devel > librsvg2.i686 > libsamplerate.i686 > libsanitizer.i686 > libseccomp.i686 > libsecret.i686 > libselinux.i686 > libsemanage.i686 > libsepol.i686 > libsexy.i686 > libshout.i686 > libsigc++20.i686 > libsmartcols.i686 > libsmbclient.i686 > libsmi.i686 > libsndfile.i686 > libsolv.i686 > libsoup.i686 > libspectre.i686 > libspiro.i686 > libsrtp.i686 > libss.i686 > libssh2.i686 > libsss_certmap.i686 > libsss_idmap.i686 > libsss_nss_idmap.i686 > libsss_simpleifp.i686 > libstdc++.i686 > libstoragemgmt.i686 > libsysfs.i686 > libtalloc.i686 > libtar.i686 > libtasn1.i686 > libtdb.i686 > libteam.i686 > libtevent.i686 > libthai.i686 > libtheora.i686 > libtiff.i686 > libtimezonemap.i686 > libtirpc.i686 > libtnc.i686 > libtool-ltdl.i686 > libtranslit.i686 > libudisks2.i686 > libuninameslist.i686 > libunistring.i686 > libunwind.i686 > libusal.i686 > libusb.i686 > libusbmuxd.i686 > libusbx.i686 > libuser.i686 > libutempter.i686 > libuuid.i686 > libuv.i686 > libv4l.i686 > libvdpau.i686 > libverto.i686 > libverto-glib.i686 > libverto-libevent.i686 > libverto-tevent.i686 > libvirt-cim.i686 > libvirt-daemon-driver-storage-gluster > libvirt-daemon-driver-storage-rbd > libvirt-gconfig.i686 > libvirt-glib.i686 > libvirt-gobject.i686 > libvirt-libs.i686 > libvirt-nss.i686 > libvisio.i686 > libvisual.i686 > libvmem > libvmem-debug > libvmem-devel > libvmmalloc > libvmmalloc-debug > libvmmalloc-devel > libvncserver.i686 > libvoikko.i686 > libvorbis.i686 > libvorbis-devel-docs.noarch > libvpx.i686 > libwacom.i686 > libwayland-client.i686 > libwayland-cursor.i686 > libwayland-egl.i686 > libwayland-server.i686 > libwbclient.i686 > libwebp.i686 > libwinpr.i686 > libwmf.i686 > libwmf-lite.i686 > libwnck3.i686 > libwpd.i686 > libwpg.i686 > libwps.i686 > libwsman1.i686 > libwvstreams.i686 > libxcb.i686 > libxkbcommon.i686 > libxkbcommon-x11.i686 > libxkbfile.i686 > libxklavier.i686 > libxml2.i686 > libxshmfence.i686 > libxslt.i686 > libyaml.i686 > libzapojit.i686 > libzip.i686 > libzip010-compat.i686 > libzstd.i686 > lksctp-tools.i686 > lldpad.i686 > llvm-libs.i686 > llvm-private.i686 > lm_sensors-libs.i686 > lockdev.i686 > log4cxx.i686 > lua.i686 > lvm2-cluster > lvm2-cluster-standalone > lvm2-libs.i686 > lz4.i686 > lzo.i686 > lzo-minilzo.i686 > m17n-lib.i686 > m17n-lib-tools.i686 > mariadb-libs.i686 > marisa.i686 > mcelog > meanwhile.i686 > memkind > memkind-devel > mesa-dri-drivers.i686 > mesa-filesystem.i686 > mesa-libEGL.i686 > mesa-libGL.i686 > mesa-libGLU.i686 > mesa-libGLw.i686 > mesa-libOSMesa.i686 > mesa-libgbm.i686 > mesa-libglapi.i686 > mesa-libwayland-egl.i686 > mesa-libxatracker.i686 > mesa-libxatracker > mesa-libxatracker-devel > mesa-vdpau-drivers.i686 > mesa-vulkan-drivers > metacity.i686 > minizip.i686 > mkbootdisk > mod_revocator.i686 > motif.i686 > mozjs17.i686 > mozjs52.i686 > mpfr.i686 > mpg123-libs.i686 > mtdev.i686 > mutter.i686 > mythes.i686 > nautilus-extensions.i686 > ncurses-c++-libs.i686 > ncurses-compat-libs.i686 > ncurses-libs.i686 > ndctl-libs.i686 > neon.i686 > net-snmp-agent-libs.i686 > net-snmp-libs.i686 > netcf-libs.i686 > netpbm.i686 > nettle.i686 > newt.i686 > nftables.i686 > nspr.i686 > nss.i686 > nss-pam-ldapd.i686 > nss-pem.i686 > nss-softokn.i686 > nss-softokn-freebl.i686 > nss-util.i686 > nss_compat_ossl.i686 > nss_db.i686 > nss_hesiod.i686 > nss_nis.i686 > nss_wrapper.i686 > numactl-libs.i686 > nuxwdog.i686 > nvml-tools > ocaml-labltk > ocaml-labltk-devel > oniguruma.i686 > opal.i686 > open-vm-tools > open-vm-tools-desktop > open-vm-tools-devel > open-vm-tools-test > opencc.i686 > openchange.i686 > openchange-devel-docs.noarch > opencryptoki-libs.i686 > opencv.i686 > opencv-core.i686 > openhpi-libs.i686 > openjade.i686 > openjpeg-libs.i686 > openldap.i686 > openlmi.noarch > openlmi-account > openlmi-fan > openlmi-hardware > openlmi-indicationmanager-libs > openlmi-indicationmanager-libs-devel > openlmi-journald > openlmi-logicalfile > openlmi-networking > openlmi-pcp.noarch > openlmi-powermanagement > openlmi-providers > openlmi-providers-devel > openlmi-python-providers.noarch > openlmi-python-test.noarch > openlmi-realmd > openlmi-service > openlmi-software.noarch > openlmi-storage.noarch > openobex.i686 > opensc.i686 > openscap.i686 > openscap-engine-sce.i686 > openslp.i686 > opensm-libs.i686 > opensp.i686 > openssl-libs.i686 > openssl098e.i686 > openssl098e > openssl11-libs.i686 > openwsman-client.i686 > openwsman-server.i686 > oprofile-jit.i686 > opus.i686 > orc.i686 > orc-doc.noarch > ortp.i686 > oxygen-gtk2.i686 > p11-kit.i686 > pacemaker-cluster-libs.i686 > pacemaker-libs.i686 > pakchois.i686 > pam.i686 > pango.i686 > pangomm.i686 > pangomm-doc.noarch > papi.i686 > paps-libs.i686 > parted.i686 > pciutils-libs.i686 > pcp-libs.i686 > pcre.i686 > pcre2.i686 > pcre2-utf16.i686 > pcre2-utf32.i686 > pcsc-lite-devel.i686 > pcsc-lite-libs.i686 > perl-libs.i686 > phonon.i686 > phonon-backend-gstreamer.i686 > php-mysql > php-pecl-memcache > pixman.i686 > pkgconfig.i686 > plymouth-core-libs.i686 > plymouth-graphics-libs.i686 > polkit.i686 > polkit-qt.i686 > poppler.i686 > poppler-cpp.i686 > poppler-glib.i686 > poppler-qt.i686 > popt.i686 > postfix-sysvinit.noarch > postgresql-libs.i686 > prelink > procps-ng.i686 > protobuf.i686 > protobuf-c.i686 > protobuf-compiler.i686 > protobuf-lite.i686 > pth.i686 > ptlib.i686 > pulseaudio-libs.i686 > pulseaudio-libs-glib2.i686 > pygobject2.i686 > pyldb.i686 > pytalloc.i686 > python-cffi-doc.noarch > python-docs.noarch > python-libcomps > python-libcomps-doc.noarch > python-libs.i686 > python-libvoikko.noarch > python-tdb.i686 > python3.i686 > python3-libs.i686 > qca-ossl.i686 > qca2.i686 > qemu-kvm-common qemu-system.aarch64 | qemu-kvm-tools qemu-system-core.aarch64 | qemu-system > qemu-system-core > qimageblitz.i686 > qjson.i686 > qpdf-doc.noarch > qpdf-libs.i686 > qrencode-libs.i686 > qt.i686 > qt-examples.i686 > qt-mysql.i686 > qt-odbc.i686 > qt-postgresql.i686 > qt-x11.i686 > qt3.i686 > qt3-MySQL.i686 > qt3-ODBC.i686 > qt3-PostgreSQL.i686 > qt5-designer.i686 > qt5-qdoc > qt5-qhelpgenerator > qt5-qt3d.i686 > qt5-qtbase.i686 > qt5-qtbase-doc.noarch > qt5-qtbase-examples.i686 > qt5-qtbase-gui.i686 > qt5-qtbase-mysql.i686 > qt5-qtbase-odbc.i686 > qt5-qtbase-postgresql.i686 > qt5-qtcanvas3d.i686 > qt5-qtconnectivity.i686 > qt5-qtdeclarative.i686 > qt5-qtdeclarative-doc.noarch > qt5-qtenginio.i686 > qt5-qtgraphicaleffects.i686 > qt5-qtimageformats.i686 > qt5-qtlocation.i686 > qt5-qtmultimedia.i686 > qt5-qtquickcontrols.i686 > qt5-qtscript.i686 > qt5-qtsensors.i686 > qt5-qtserialport.i686 > qt5-qtsvg.i686 > qt5-qttools-libs-clucene > qt5-qttools-libs-designer.i686 > qt5-qttools-libs-designercomponents.i686 > qt5-qttools-libs-help.i686 > qt5-qtwebchannel.i686 > qt5-qtwebsockets.i686 > qt5-qtx11extras.i686 > qt5-qtxmlpatterns.i686 > raptor2.i686 > rarian.i686 > rasqal.i686 > rdma-core.i686 > readline.i686 > recode.i686 > redland.i686 > resource-agents-sap > resource-agents-sap-hana > rest.i686 > rhash.i686 > rpm-build-libs.i686 > rpm-libs.i686 > rpmemd > rrdtool.i686 > rsyslog-doc > ruby-libs.i686 > samba-client-libs.i686 > samba-libs.i686 > samba-python.i686 > samba-vfs-glusterfs > samba-winbind-modules.i686 > sane-backends-drivers-cameras.i686 > sane-backends-drivers-scanners.i686 > sane-backends-libs.i686 > satyr.i686 > sbc.i686 > sblim-cmpi-base.i686 > sblim-cmpi-fsvol.i686 > sblim-cmpi-network.i686 > sblim-cmpi-nfsv3.i686 > sblim-cmpi-nfsv4.i686 > sblim-cmpi-sysfs.i686 > sblim-cmpi-syslog.i686 > sblim-gather.i686 > sblim-gather-provider.i686 > sblim-indication_helper.i686 > sblim-sfcc.i686 > seabios > sendmail-cf.noarch > sendmail-doc.noarch > sendmail-milter.i686 > sendmail-sysvinit.noarch > setools-libs.i686 > sg3_utils-libs.i686 > sgabios shim-unsigned-aa64 | shim-unsigned-x64 > shotwell.i686 > slang.i686 > snapper-libs.i686 > snappy.i686 > soprano.i686 > soundtouch.i686 > source-highlight.i686 > sox.i686 > speex.i686 > spice-glib.i686 > spice-gtk3.i686 > spice-server > spice-server-devel > sqlite.i686 > sssd-client.i686 > startup-notification.i686 > strigi-libs.i686 > subversion.i686 > subversion-gnome.i686 > subversion-javahl.i686 > subversion-libs.i686 > subversion-perl.i686 > subversion-ruby.i686 > suitesparse.i686 > suitesparse-doc.noarch > svrcore.i686 > syslinux > syslinux-devel > syslinux-extlinux > syslinux-perl > syslinux-tftpboot > system-lsb.i686 > system-lsb-core.i686 > system-lsb-cxx.i686 > system-lsb-desktop.i686 > system-lsb-languages.i686 > system-lsb-printing.i686 > system-lsb-submod-multimedia.i686 > system-lsb-submod-security.i686 > system-lsb-trialuse.i686 > systemd-libs.i686 > systemd-resolved.i686 > t1lib.i686 > taglib.i686 > tbb.i686 > tboot > tcl.i686 > tclx.i686 > tcp_wrappers-libs.i686 > teamd.i686 > teckit.i686 > telepathy-farstream.i686 > telepathy-glib.i686 > telepathy-logger.i686 > telepathy-mission-control.i686 > texlive-kpathsea-lib.i686 > tix.i686 > tk.i686 > tn5250.i686 > tncfhh.i686 > tncfhh-examples.i686 > tncfhh-libs.i686 > tncfhh-utils.i686 > tog-pegasus-libs.i686 > tokyocabinet.i686 > tokyocabinet-devel-doc.noarch > totem-pl-parser.i686 > tpm-tools.i686 > tpm2-abrmd.i686 > tpm2-abrmd > tpm2-abrmd-devel > tpm2-tools > tpm2-tss.i686 > tpm2-tss > tpm2-tss-devel.i686 > tpm2-tss-devel > tpm2-tss-utils > tracker.i686 > trousers.i686 > turbojpeg.i686 > unbound-libs.i686 > unique3.i686 > unique3-docs.noarch > unixODBC.i686 > upower.i686 > uriparser.i686 > usbguard.i686 > usbredir.i686 > userspace-rcu.i686 > ustr.i686 > ustr-debug.i686 > util-linux.i686 > uuid.i686 > uuid-c++.i686 > uuid-dce.i686 > vala.i686 > valadoc.i686 > valgrind.i686 > vigra.i686 > virglrenderer.i686 > volume_key-libs.i686 > vte291.i686 > vte3.i686 > vulkan.i686 > wavpack.i686 > webkitgtk3.i686 > webkitgtk3-doc.noarch > webkitgtk4.i686 > webkitgtk4-jsc.i686 > webkitgtk4-plugin-process-gtk2.i686 > webrtc-audio-processing.i686 > wireshark.i686 > wordnet.i686 > x3270 > x3270-text > x3270-x11 > x86info > xcb-util.i686 > xcb-util-image.i686 > xcb-util-keysyms.i686 > xcb-util-renderutil.i686 > xcb-util-wm.i686 > xerces-c.i686 > xfsprogs.i686 > xmlrpc-c.i686 > xmlrpc-c-c++.i686 > xmlrpc-c-client.i686 > xmlrpc-c-client++.i686 > xmlsec1.i686 > xmlsec1-gcrypt.i686 > xmlsec1-gnutls.i686 > xmlsec1-nss.i686 > xmlsec1-openssl.i686 > xmlto-tex.noarch > xmlto-xhtml.noarch > xorg-x11-drv-intel.i686 > xorg-x11-drv-intel > xorg-x11-drv-intel-devel > xorg-x11-drv-openchrome.i686 > xorg-x11-drv-openchrome > xorg-x11-drv-openchrome-devel > xorg-x11-drv-vesa > xorg-x11-drv-vmmouse > xorg-x11-drv-vmware > xorg-x11-server-Xspice > xz-compat-libs.i686 > xz-libs.i686 > yajl.i686 > yelp-libs.i686 > zlib.i686 > zsh-html > zziplib.i686
そのほかパッケージ
python
python3 をインストールしてみます。
$ sudo yum install python3 python3-devel
最近個人的に使った pandas をインストールしてみます。
$ sudo yum install gcc gcc-c++ $ pip3 install --user cython $ pip3 install --user numpy $ pip3 install --user pandas $ python3 Python 3.7.6 (default, Feb 26 2020, 21:26:53) [GCC 7.3.1 20180712 (Red Hat 7.3.1-6)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pandas >>>
プログラムは動かしていませんが大丈夫そうです。
gcc と gcc-c++ をインストールしておくのが肝です。
※動作を保証するものではありません。
Amazon Corretto 8
Amazon Corretto 8 (JDK) は公式の手順通り yum でインストールできました。
$ sudo amazon-linux-extras enable corretto8 $ sudo yum install java-1.8.0-amazon-corretto-devel $ java -version openjdk version "1.8.0_252" OpenJDK Runtime Environment Corretto-8.252.09.1 (build 1.8.0_252-b09) OpenJDK 64-Bit Server VM Corretto-8.252.09.1 (build 25.252-b09, mixed mode)
※動作を保証するものではありません。
まとめ
M6g インスタンスを使用するにあたり、大きな心配はしなくて済みそうです。
パフォーマンスあたりのコストが安くなる可能性を秘めているインスタンスタイプです。
スケールイン、スケールダウンをするチャンスになると思います。ぜひご検討ください。
実際に現行インスタンスから M6g へ変更する際には検証環境で充分なテストは行うことをおすすめします。
参考
Amazon EC2 M6g インスタンス
[アップデート] コストは20%ダウン!パフォーマンスは40%アップ!ARM ベースの次世代プロセッサ AWS Graviton2 搭載の M6g が一般利用可能になりました
[速報]EC2の新しいインスタンスタイプ【M6g/R6g/C6g】が発表されました #reinvent
「M6g」インスタンスのカーネル更新の所要時間を測定し従来環境と比較してみた
以上、吉井 亮 がお届けしました。