We have recently fixed the ami init scripts to mark i3 as a supported instance. However, the code to detect whether or not the instance is supported is duplicated, and called from multiple locations. That means that when the user logs in, it will see the instance as not supported - as the test is coming from a different source. This patch moves it to the scylla_lib.sh utilities script, so we can share it, and make sure it is right for all locations. Signed-off-by: Glauber Costa <glauber@scylladb.com> Message-Id: <20170406201137.8921-1-glauber@scylladb.com>
Edit variables.json and run dist/ami/build_ami.sh, it will build & upload AMI.
When deploying the AMI, be sure to add two more disks(sdb, sdc) to construct RAID.