Moved instance type detection and world/flavor syncing from configure-ec2 to JS. Additionally, switched from executing the service as root to executing it as the ec2-user user instead which helps me sleep at night. These changes should also make it easier to migrate uploadworld and deletestack away from bash scripts which is also on my radar.
Moved instance type detection and world/flavor syncing from
configure-ec2
to JS. Additionally, switched from executing the service as root to executing it as the ec2-user user instead which helps me sleep at night. These changes should also make it easier to migrateuploadworld
anddeletestack
away from bash scripts which is also on my radar.Closes #42