A lighting device comprising: - a solid state light source; - a carrier on which said solid state light source is arranged, said the carrier is having a relatively large front side compared with its edge side, such that an amount of heat generated by the light source is transmitted into the carrier; - the solid state light source is arranged on the front side of the carrier, - a cover member (5a,5b) disposed on the carrier and arranged in the same plane as the carrier, whereby the light source is arranged between the carrier and a light-transmitting part of the cover member (5a,5b), the light-transmitting part being arranged in front of the solid state light source and being functional for outputting the light through said light-transmitting part, such that a thermal interface exists between the carrier and the cover member (5a,5b), said cover member (5a,5b) having an outer surface being a portion of the outside of the lighting device and having an inner surface being opposite to the outer surface and being in thermal contact with the front side of the carrier, such that the thermal interface is formed, - a connection member having a fixed position relative to the carrier for mechanically and electrically connecting the lighting device to a socket, wherein, - said cover member (5a,5b), said light-transmitting part and said connection member provide an entire outer surface of the lighting device, together enclosing the carrier and the light source - the thermal interface is arranged to transmit there through a majority of the heat transmitted into the carrier from the light source, and - the light-transmitting part of the cover member (5a,5b) comprises an optical structure adapted to direct emitted light from the solid state light source out of the lighting device. - a solid state light source; - a carrier on which said solid state light source is arranged, said the carrier is having a relatively large front side compared with its edge side, such that an amount of heat generated by the light source is transmitted into the carrier; - the solid state light source is arranged on the front side of the carrier, - a cover member (5a,5b) disposed on the carrier and arranged in the same plane as the carrier, whereby the light source is arranged between the carrier and a light-transmitting part of the cover member (5a,5b), the light-transmitting part being arranged in front of the solid state light source and being functional for outputting the light through said light-transmitting part, such that a thermal interface exists between the carrier and the cover member (5a,5b), said cover member (5a,5b) having an outer surface being a portion of the outside of the lighting device and having an inner surface being opposite to the outer surface and being in thermal contact with the front side of the carrier, such that the thermal interface is formed, - a connection member having a fixed position relative to the carrier for mechanically and electrically connecting the lighting device to a socket, wherein, - said cover member (5a,5b), said light-transmitting part and said connection member provide an entire outer surface of the lighting device, together enclosing the carrier and the light source - the thermal interface is arranged to transmit there through a majority of the heat transmitted into the carrier from the light source, and - the light-transmitting part of the cover member (5a,5b) comprises an optical structure adapted to direct emitted light from the solid state light source out of the lighting device.