In order to learn how to set up an AWS instance on which we can mob together, we decided to try to set up our own instance taking inspiration from the instructions from Jay Bazuzi and Llewellyn Falco.
brew install awscli
brew install terraform
terraform init
terraform apply
(on @MatteoPierro machine)- Connect to instance. Username:
Administrator
Pwd: [See step above] - Launch Administrator Powershell console (Windows Key + x if you have it)
- Run:
Invoke-WebRequest -UseBasicParsing https://raw.githubusercontent.com/approvals/ApprovalTests.java.StarterProject/master/install.windows.ps1 | Invoke-Expression
- When done:
terraform destroy
ssh-keygen -m PEM
- Command for getting the windows admin password data of the instance:
aws ec2 get-password-data --instance-id i-1234567890abcdef0 --priv-launch-key C:\Keys\MyKeyPair.pem