How to create and access Windows instances in BCOS

Learn how to create and access windows instances within BCOS.

Luiz Fernando Justino Silva avatar
Escrito por Luiz Fernando Justino Silva
Updated over a week ago

Creation of windows instances

  In post How to create instances in BCOS we learned the steps of creation of virtual machines in BCOS, in this post, will learn to apply these same steps in windows instances and realize the differences.

  Before going up to VM, you must create a key pair to have access the password when your machine in instantiated.

  In Project/Compute/Key Pairs click in Create Key Pair, on the next screen, type a name for the key and click again in Create Key Pair:

  • Name of the Key Pair: Windowskey.

  Click in Copy Private Key to Clipboard  to copy content of the key and next click in Done:

  Open a text editor on your local computer and paste the contents of the previously copied key:

  Save the file as Windowskey.pem:

  To learn more about key pairs, access How to access instances through key pairs  in BCOS?

  Now to create  a windows instances, go to Project/Compute/Instances click Launch Instance, type a name for the instance (example: VM-Windows) and click Next:

Example:

  • Instance Name: VM-Windows.

  Now, in Select Boot Source select Image, in Create New Volume select No, then choose the image you want to use for instance (example: Windows 2012) and click in Next:

Example:

  • Select Boot Source: Imagem.

  • Create New Volume: Não.

  • Image Name: Windows-2012-R2-Standard-[2018-09-13].

 In Flavor (virtual machine size) select the sizing you need for your instance the click Next

Example:

  • Flavor: BC-2-4096-60.

 Select the network and click on the tab Key Pair:

Example:

  • Network: network-development.

 Note: If you do not have a network create access How to Create a Network in BCOS?.

  Add the key pair created previously and click in Launch Instance: 

Example:

  • Key Pair: Windowskey.

 In Project/Compute/Instances,  click in the instance name created to access it, then, click on the tab Console and wait for the boot process to finish (the proccess can linger little a bit) in next click in OK.

  Go again in Project/Compute/Instance, in the instance's action menu click in Retrieve Password, in Private Key Pair click Browse and select the key file save previously, then click in  Decrypt Password. In the Password field will be generated the password to access your machine.

 Return to the console of the machine, press AltGr+Delete and enter the previously generetad password (the password cannot be pasted). When access is complete click Yes on the Network popup that appears to allow external access.

    Ready, the Windows instance already created and accessed.

in the next post How to access Windows instances for RDP by BCOS?,  Let's look at the walkthrough of how to access Windows instances through RDP.

Respondeu à sua pergunta?