|
|
@ -55,7 +55,7 @@ public class StartVertSysServersFrankfurt { |
|
|
|
} catch (Exception e) { |
|
|
|
throw new AmazonClientException("Cannot load the credentials from the credential profiles file. " |
|
|
|
+ "Please make sure that your credentials file is at the correct " |
|
|
|
+ "location (C:\\Users\\Sebastian\\.aws\\credentials), and is in valid format.", e); |
|
|
|
+ "location (C:\\Users\\<username>\\.aws\\credentials), and is in valid format.", e); |
|
|
|
} |
|
|
|
|
|
|
|
// Frankfurt |
|
|
@ -65,7 +65,7 @@ public class StartVertSysServersFrankfurt { |
|
|
|
|
|
|
|
System.out.println("Loading user-data from file..."); |
|
|
|
|
|
|
|
byte[] encoded = Files.readAllBytes(Paths.get("src\\main\\java\\com\\amazonaws\\samples\\user-data.txt")); |
|
|
|
byte[] encoded = Files.readAllBytes(Paths.get("src\\verteiltesysteme\\aws\\user-data.txt")); |
|
|
|
String userData = Base64.getEncoder().encodeToString(encoded); |
|
|
|
|
|
|
|
System.out.println("Starting instance in Frankfurt..."); |
|
|
|