Fix host selection logic.
Modify template to single server architecture.
Modify ImageId, InstanceType parameter to eliminate comma in case of using single architecture.