TemplateBuilder templateBuilder = compute.templateBuilder();
// If you want to up the ram and leave everything default, you can
// just tweak minRam
if (minRam != null)
templateBuilder.minRam(Integer.parseInt(minRam));
// note this will create a user with the same name as you on the
// node. ex. you can connect via ssh publicip
Statement bootInstructions = AdminAccess.standard();