code: func (p *Provider) CreateMachine() (machine *iaas.Machine, err error) {
  	err = p.Client.Create(p.Host)
  	if err != nil {
  		return
  	}
  	config, err := getConfig(p.Client.GetMachinesDir(), p.Name)
  	if err != nil {
  		return
  	}
  
  	machine = &iaas.Machine{
  		ID:        config.Driver.InstanceID,
  		IP:        config.Driver.IPAddress,
  		Image:     config.Driver.AMI,
  		Kind:      config.DriverName,
  		Name:      p.Name,
  		SSHKeysID: []int{config.Driver.SSHKeyID},
  		CertsDir:  p.ClientPath + "/certs",
  	}
  	return
  }
docs: // CreateMachine on digitalocean