    # File lib/fog/terremark/models/shared/server.rb, line 133
            def create_internet_services(internet_spec)
              public_ip_info = nil
              internet_service_id = nil
              internet_spec.each do |proto, ports|
                for port in ports
                  if not public_ip_info
                    #Create the first internet service and allocate public IP
                    inet_services = service.internetservices.create({
                          "Name" => self.name,
                          "Protocol" => proto,
                          "Port" => port,
                    })
                    internet_service_id = inet_services.Id
                    public_ip_info = inet_services.PublicIpAddress

                  else
                    #create additional services to existing Public IP
                    inet_services = service.internetservices.create({
                          "public_ip_address_id" => public_ip_info["Id"],
                          "Name" => self.name,
                          "Protocol" => proto,
                          "Port" => port,
                    }
                        )
                    internet_service_id = inet_services.Id
                  end

                  #Create the associate node service to the server
                  service.nodeservices.create({"Name" => self.name,
                                               "IpAddress" => self.IpAddress,
                                               "Port" => port,
                                               "InternetServiceId" => internet_service_id
                  })
                end
              end
              true
            end